Re: [fpc-devel] Problem loading 2 dlls created on Free Pascal

2006-07-13 Thread Felipe Monteiro de Carvalho
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 ___

Re: [fpc-devel] Problem loading 2 dlls created on Free Pascal

2006-07-13 Thread Marco van de Voort
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

RE: [fpc-devel] Problem loading 2 dlls created on Free Pascal

2006-07-13 Thread Jose Manuel
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

Re[2]: [fpc-devel] Problem loading 2 dlls created on Free Pascal

2006-07-13 Thread Sergei Gorelkin
Thursday, July 13, 2006, 4:04:05 PM, Felipe wrote: FMdC The error code is: 193 0x00C1 N/A %1 is not a valid Win32 application.. FMdC But that doesn´t make sense. May be, for some reason DLLs are created without the relocation information (or with malformed relocation info)? When you just

RE: [fpc-devel] Problem loading 2 dlls created on Free Pascal

2006-07-13 Thread Jose Manuel
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.

Re: Re[2]: [fpc-devel] Problem loading 2 dlls created on Free Pascal

2006-07-13 Thread Felipe Monteiro de Carvalho
On 7/13/06, Sergei Gorelkin [EMAIL PROTECTED] wrote: May be, for some reason DLLs are created without the relocation information (or with malformed relocation info)? Yes, you really guessed right =) I found an explanation on the fpc documentation about it that says exactly that:

Re: [fpc-devel] Problem loading 2 dlls created on Free Pascal

2006-07-13 Thread Vinzent Hoefler
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

[fpc-devel] FPC Wiki spam protection

2006-07-13 Thread Felipe Monteiro de Carvalho
Hello, Every time I edit fpc wiki it will say I entered a new url, and I need to type a number, even if no new url is entered. And it´s a little annoying. thank you very much, -- Felipe Monteiro de Carvalho ___ fpc-devel maillist -