Having hard times with Borland C++ Builder 6 - need help!

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

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

Post

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

Post

Thanks texture, i will look it up! :)

Post Reply

Return to “DSP and Plugin Development”