Convert VC .DLL to Borland Builder

Started by
2 comments, last by soconne 20 years ago
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??
Author Freeworld3Dhttp://www.freeworld3d.org
Advertisement
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.
--- krez ([email="krez_AT_optonline_DOT_net"]krez_AT_optonline_DOT_net[/email])
Oh sorry, I mean to say I was using ''impdef.exe'', not implib
Author Freeworld3Dhttp://www.freeworld3d.org
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...
--- krez ([email="krez_AT_optonline_DOT_net"]krez_AT_optonline_DOT_net[/email])

This topic is closed to new replies.

Advertisement