Search This Blog

Thursday, September 25, 2008

.Net Tips

1. C# tatorial - com / managed + unmanaged code , pinvoke
http://msdn2.microsoft.com/en-us/library/aa288436(VS.71).aspx

2. dump all method from dll
comand:
link /dump /exports c:\WINDOWS\system32\kernel32.dll

3. create dll introb for com object
e.g. :
tlbimp c:\windows\system32\quartz.dll /out:QuartzTypeLib.dll

4. Remote debugging setup is greatly simplified in Visual Studio 2005. All remote debugging scenarios except T-SQL debugging use the Remote Debugging Monitor (msvsmon.exe). The Machine Debug Manager (mdm.exe), previously required for some debugging scenarios, has been eliminated. In addition, msvsmon.exe now has a graphical user interface in place of the previous command-line interface
How to: Set Up Remote Debugging

No comments: