using dll in VB(please help)
-
hi I wrote a regular dll based on MFC to use it in VB.but in VB at run time when i call the exported function from that dll.the error is comming as "Bad dll calling convention".i used __stdcall in the dll and also i mantained the .def file like EXPORTS MyFunction @1 I do not know what is wrong with this.Please help me.its urgent. nirmal
-
hi I wrote a regular dll based on MFC to use it in VB.but in VB at run time when i call the exported function from that dll.the error is comming as "Bad dll calling convention".i used __stdcall in the dll and also i mantained the .def file like EXPORTS MyFunction @1 I do not know what is wrong with this.Please help me.its urgent. nirmal
Show the code of the function (declaration and definition) and the way you declare it in VB.
Cédric Moonen Software developer
Charting control