For Programmers: Free Programming Magazines  


Home > Archive > Fortran > April 2007 > Different result appear after codes compiled to DLL in DF6









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Different result appear after codes compiled to DLL in DF6
dushengzhi@supcon.com

2007-04-25, 4:08 am

hello, every one:

A strange phenomena puzzled me, when i develop an algorithm
software using Digital Visual Fortran 6(windows 2K). The outcoming
shoule be a DLL file. At the first stage, i built a fortran windows
console project for the conveniece of debuging. After I finished all
the code, I checked it very carefully and made sure it is correct.
Then I tried to build the last DLL file. However, when i got DLL file
and tested it through the same data used in the first stage, I found
its output is different slightly to those got by console project.
Since the software is very important, these slight difference should
not be ignored.

Both console project and DLL project do not apply any optimizaion(I
use /optimise:0 option to prevent optimising) and all other options
keeping default. What's the matter resulting in those differences?
Are there some operation affecting the computing output when build DLL
using DF6?

Thanks for your attention and waiting for your advice.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com