I have make a win32 dll in VC++.NET 2005. It contains a simple add funtion.

I have also make a console client application in VC++.NET 2005.
how can i access that add function in my client application?

Regards
Asif

Haven't done .NET in a hell of a long time, but doesn't it go something like this?

[DllImport("DLLNAME.dll")]
static extern void FUNCTION_NAME(PARAMS);

May not be right, but I hope this helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.