all groups > visual c libraries > november 2004 >
You're in the

visual c libraries

group:

how to export functions from dll


how to export functions from dll Dirk Reske
11/27/2004 12:45:21 AM
visual c libraries:
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?

RE: how to export functions from dll Naren
12/21/2004 2:27:05 AM
i think that's true. but u try this one

extern "C" __declspec(dllexport) int plugin_main(char *event, void *data)

[quoted text, click to view]
AddThis Social Bookmark Button