Click here to Skip to main content
15,907,913 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hello All

M working on some system level tool.

but i dont know how to use these dll ..

its urgent please tell me some tips.

or send me some links



REGARDS
Posted
Comments
Maciej Los 10-Mar-13 10:23am    
Could you, please, be more specific and provide more details...
What exactly do you want to do?
What have you done?
VB.NET or VB6?
[no name] 10-Mar-13 10:41am    
I checked.... it's not urgent at all. Did you read the FAQ? Clearly you did not. To use those DLLs you would have to P/Invoke the methods in them.
jackperl 10-Mar-13 12:15pm    
ok m gonna to read FAQ ..
Richard MacCutchan 10-Mar-13 14:22pm    
You learn how to use those DLLs by reading the documentation on each of the functions that they support.

1 solution

First of all, make sure you really want it. In most cases, pure .NET FCL can be used to solve your problems. If you asked about your ultimate goals, you could have a chance to get some good ideas.

What you need is called P/Invoke. Please see:
http://en.wikipedia.org/wiki/P/Invoke[^],
http://msdn.microsoft.com/library/en-us/vcmxspec/html/vcmg_PlatformInvocationServices.asp[^].

This CodeProject article can also be useful: Essential P/Invoke[^].

You should understand that your code for .NET, if written in a compatible platform-independent manner based on the CLR standard, can be executed on many other platforms, such as Linux, Max OS X, and more, without recompilation, mostly via Mono. Using P/Invoke will kill such platform compatibility.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900