We are using FTN95 in 32 bit and 64 bit mode.
- 64 bit advantage: Substantial better performance
- 32 bit advantage: Debugging possible
With each new FTN95 version we hope that the problems with sdbg64 will be resolved. Now, having installed version 9.00, we learned that our problem remains.
Root cause for problems seems presently to be a call to a dynymic link library, causing a 'RaiseException' and a program crash. Without sdbg64, operating the program simply as executable, works well. Also 32 bit code, with or without debugger, works well.
I could compress the source code to just 9 lines, easy to reproduce with the corresponding dll.
PROGRAM DLL_Test
Implicit None
Integer :: Stat
Character (len=100) :: sLesDB
C_EXTERNAL les_wkst_dbpath 'les_wkst_dbpath' (ref, val) : Integer
sLesDB = 'C:\SE_DataBase\Dateien\LESDB.MDB'
Stat= les_wkst_dbpath(sLesDB,0)
write (*,*) 'Stat = ', stat
END PROGRAM
How can we proceed to get the problem resolved?