Actions
Defect #661
openRunning of dynamic library functions through Windows API fails
Status:
New
Priority:
Normal
Category:
Oberon Front-End
Target version:
-
% Done:
0%
Description
I ported directly some code I have used with the XDS compiler which loads the Sqlite dll at runtime trough the Windows API LoadLibraryA and GetProcAddress functions. (I see the corresponding Linux/BSD functions is currently not available)
It compiles OK and seems to correctly load the DLL and find the functions, but I get a segmentation fault when
calling the loaded procedure.
Attached is the (reduced) code and it expect the 'sqlite3.dll' in the local path in order to work.
This maybe has something to do with calling convention difference between Oberon and Windows?
Files
Actions