Hello,
I try to write a managed c++ dll
that exports some functions that should be called by a c++ app.
in this functions i will call a function in a c# dll
int __declspec(dllexport)plugin_main(char *event, void *data)
{
//Here I call my C# functions
}
Is this declaration right? Because the host app (C++) gives an error.
The host app tries to call the plugin_main(...) method.
Is this exportet right?
Torben Laursen - 28 Nov 2004 19:13 GMT
I do not know if it will help but try to add a __stdcall to the function
def, like this
extern "C" __declspec(dllexport) int __stdcall plugin_main(char *event, void
*data)
Hope it helps
Torben
> I try to write a managed c++ dll
> that exports some functions that should be called by a c++ app.
[quoted text clipped - 8 lines]
> The host app tries to call the plugin_main(...) method.
> Is this exportet right?