Convert VC .DLL to Borland Builder
Does anybody know what the following Visual C++ .DEF file should look like if I want to convert it to Borland C++ Builder?
LIBRARY IRRLICHT.DLL
EXPORTS
?createDevice@irr@@YAPAVIrrlichtDevice@1@W4EDriverType@video@1@ABV?$dimension2d@H@core@1@I_N2PAVIEventReceiver@1@PBG@Z @1 ; ?createDevice@irr@@YAPAVIrrlichtDevice@1@W4EDriverType@video@1@ABV?$dimension2d@H@core@1@I_N2PAVIEventReceiver@1@PBG@Z
I''ve tried everythign I could think of, but when I use implib file.lib file.def, it gives me errors saying unknown symbols. Here is what I had tried to convert it to for Borland''s format.
LIBRARY IRRLICHT.DLL
EXPORTS
_createDevice =
createDevice@irr@@YAPAVIrrlichtDevice@1@W4EDriverType@video@1@ABV?$dimension2d@H@core@1@I_N2PAVIEventReceiver@1@PBG@Z @1
Oh yeah, basically I''m trying to convert the Irrlicht game engine''s .LIB files over to Borland in case anybody was wondering.
Any ideas??
you are not using IMPLIB correctly.
the first parameter should be the DLL file, and the second should be the LIB filename you want to create.
you can also try COFF2OMF, which converts a COFF format LIB file to a OMF format LIB file.
the first parameter should be the DLL file, and the second should be the LIB filename you want to create.
you can also try COFF2OMF, which converts a COFF format LIB file to a OMF format LIB file.
Syntax: IMPDEF [options] destname[.def] srcname[.dll]Options: -a Add ''_'' alias for MS flavor cdecl functions -h Emit hints
you have the arguments for that one wrong, then unless it was a typo, or from memory, or something...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement