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

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2006
Posts: 38
Reputation: asifjavaid is an unknown quantity at this point 
Solved Threads: 0
asifjavaid asifjavaid is offline Offline
Light Poster

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

 
0
  #1
Oct 31st, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,435
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 118
Sponsor
William Hemsworth William Hemsworth is offline Offline
Nearly a Posting Virtuoso

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

 
0
  #2
Oct 31st, 2008
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC