Re: [fpc-devel] Problem loading 2 dlls created on Free Pascal
You might get a clue if you print last windows error. (sysutils.getlastoserror) after the 2nd loadlib The error code is: 193 0x00C1 N/A %1 is not a valid Win32 application. But that doesn´t make sense. -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Problem loading 2 dlls created on Free Pascal
You might get a clue if you print last windows error. (sysutils.getlastoserror) after the 2nd loadlib The error code is: 1930x00C1 N/A %1 is not a valid Win32 application. But that doesn?t make sense. See if FPC has some directive for setting the DLL baseaddress and set it, and see if that matters. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
RE: [fpc-devel] Problem loading 2 dlls created on Free Pascal
The error code is: 1930x00C1 N/A %1 is not a valid Win32 application. But that doesn´t make sense. Can you try indicating another address space to be loaded in the 2nd lib? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
RE: [fpc-devel] Problem loading 2 dlls created on Free Pascal
The error code is: 193 0x00C1 N/A %1 is not a valid Win32 application. But that doesn?t make sense. See if FPC has some directive for setting the DLL baseaddress and set it, and see if that matters. I guess FPC is creating the DLL with no relocation section in it. Another issue is that meaningless error. It should be Abnormal process termination or the like.. :-? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Problem loading 2 dlls created on Free Pascal
On Thursday 13 July 2006 12:31, Jose Manuel wrote: The error code is: 193 0x00C1 N/A %1 is not a valid Win32 application. But that doesn't make sense. [...] I guess FPC is creating the DLL with no relocation section in it. Another issue is that meaningless error. It should be Abnormal process termination or the like.. :-? Uhuh. How come that this would make more sense? ;-) SCNR, Vinzent. -- An unexpected error occured. - Oh, all the other ones are *expected*? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel