|
From: Johannes P. <joh...@pr...> - 2001-06-29 07:46:02
|
Lo there ------------ I have had the same problem writing plugins for Sonique and I think it is a Micro$oft thing for I have also tried to compile the DLL with Borland Compilers Like borland C++ 5 (not the Builder) and it still does not work if a Micro$oft product pick the DLL up and opens it.. OK lets be honest if you look at the DLL the function names does look different than what you made it But that realy does not effect the way it is read (considering it is static or not) I have noticed that the Borland Compilers add Debug info entry points to the DLL even if you say exclude that :( Anyways coming back to the Bloodshed DLL. If you compile the DLL the linker will say the following Warning: no export definition file provided dllwrap will create one, but may not be what you want No that says that ya must write a def file for this dll to say where the entry points are If I amm correct.. But hey that is geussing.. Anyways when creating a DLL project the example given there is kinda good and okay.. Well that is enough blabing.. I hope some of this may help in a way to solve the problem for I dont know a answer for this yet.. have tried a lot of stuff but no answer yet.. Good Luck Johannes PS : Sorry I am sending to your private but the list does not accept all my mail meaning you will never see this.. At 00:07 29/06/2001 -0700, you wrote: >I tried Bloodshed Dev-C++ v4 and v4.01, neither was able to compile a DLL >that works. I am using Visual Basic to test my DLLs, so all I have to do is >be able to export functions for it to see. It always gives me the error that >it does not know the entry point to my DLL. I do have an entry point, and >the same code compiles and makes a working dll with Visual C++. Please tell >me what I might be doing wrong. (Or if anyone can, please include sample >code of a working DLL that does anything simple even. A function that >returns a number is simple enough.) Thank You. > >-James Alton > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |