Hello,
I've been trying for a few days to compile a dll for synthedit. I made modules with the free command line compiler and they work all.
The problem here it is : Synthedit complains that my dll does not export main() function. I've been reading on the net, that B C++ Builder makes _main() and that would be the cause.
I even converted the microsoft DSP project to see if it will work, but it does the same.
If anybody can compile a synthedit module with B C++ Builder, i would really appreciate the help!
You can find the SDK at www.synthedit.com
Thanks!
A.F.
Having hard times with Borland C++ Builder 6 - need help!
-
- KVRian
- Topic Starter
- 574 posts since 6 Jan, 2003 from Somewhere between ))o Left and Right o((
-
- KVRian
- 922 posts since 26 Mar, 2003 from Guildford, England
not sure with BCB.
presumably though you'd have something like
extern "C" __declspec(dllexport) blah * _stdcall main(...)
somewhere? make sure it is extern "C"d, because it looks like borland compilers mangle c++ names differently to microsoft. surprise surprise.
this looks pretty useful...
http://www.bcbdev.com/articles/bcbdll.htm
presumably though you'd have something like
extern "C" __declspec(dllexport) blah * _stdcall main(...)
somewhere? make sure it is extern "C"d, because it looks like borland compilers mangle c++ names differently to microsoft. surprise surprise.
this looks pretty useful...
http://www.bcbdev.com/articles/bcbdll.htm
-
- KVRian
- Topic Starter
- 574 posts since 6 Jan, 2003 from Somewhere between ))o Left and Right o((
Thanks texture, i will look it up!