Archived

This topic is now archived and is closed to further replies.

soconne

Convert VC .DLL to Borland Builder

Recommended Posts

soconne    105
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??

Share this post


Link to post
Share on other sites
krez    443
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.

Share this post


Link to post
Share on other sites
krez    443

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...

Share this post


Link to post
Share on other sites