-
C++ to C#
There is a project written in C++. That is http://seb.svn.sourceforge.net/viewv...s/1.2/win/Seb/ . I want to use the msghook.dll in my c# .net 2008 project to disable some control keys such as alt+tab, WinKey, CTRL+ESC, TaskManager. I have no knowledge about using DLLs in C# project, i want some detailed explanations. Thank you..
Note: The software i'm coding is related with education, and that is not about coding malwares.
-
Re: C++ to C#
Use PInvoke to utilize native dll's in your managed app. Google for PInvoke, you will find all taht you need to know.
-
Re: C++ to C#
i think the add-in is just for vs 2003 and 2005. I'm using VS 2008 :(
-
Re: C++ to C#
What? What add-in? PInvoke stands for platform invoke and is built into the langauge/runtime.
-
Re: C++ to C#
There is an addin called pinvoke, i thought you'd mentioned about it, but i was wrong. I tried dllimport, but i cannot figure out arguements in the class. there are two args, one is bool, the other is hinstance. how can i use the arg. hinstance?
-
Re: C++ to C#