943,614 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 404
  • C++ RSS
Oct 31st, 2008
0

How can we access funtions of win32dll in VC++.NET client application

Expand Post »
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
Reputation Points: 10
Solved Threads: 0
Light Poster
asifjavaid is offline Offline
40 posts
since Oct 2006
Oct 31st, 2008
0

Re: How can we access funtions of win32dll in VC++.NET client application

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.
Reputation Points: 1429
Solved Threads: 129
Posting Virtuoso
William Hemsworth is offline Offline
1,542 posts
since Mar 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: cin/cout error: no match for operator
Next Thread in C++ Forum Timeline: How to get current windows logged on users profile directory.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC