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 compile two DLLs from the same source, they will have the same base address. Loading the first DLL will succeed if its base address is not occupied by some other DLL. But after that attempting to load the second DLL with the same base address would cause Windows to relocate it to another address - and without correct relocation information that would fail. If this is the scenario, then either you specify wrong compiler options, or the compiler (or linker) really generates malformed DLLs. -- Best regards, Sergei _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel