Re: Compiling to DLL in NewEra
Posted in 1996
> I can't ignore the warning, after this warning, the p-code program > stops, > when compiling to c-code, the linker says "unresolved external" for all > the constructors of the classes i compiled to a dll. The .lib file is > added to the list of files. The warning is only telling you that the entry point to the DLL must be preloaded and it automatically does this for you. This error only happens at link time. The run-time error you are getting is because it can't see the .lib. For p-code, use the -u option to load the DLL with the runner or debugger, and for c-code, make sure the lib is in the generated makefile. > > --- _ > // Tom Beuke Mail : > tob@blanker.ruhr.de > _ // Westhoffstr.13-15 Tel. : +49 231 839757 > \\X/ 44145 Dortmund > --- > 5 Kilometer zum Nachbarn, 18 Kilometer zum Arzt, 889 Kilometer zur > Tochter, > 3 Schritte zum Telefon, 2000,-DM Telefonrechnung im Monat ... David W Chan GO5 Ltd dwc@cix.compulink.co.uk