DLL written by C ++ cannot be opened directly in. Net Reflector
If you want to write a DLL in C ++. net reflector, I tried a way (this method may not be unique), that is, if the DLL written by C ++ is added as a COM component.. Net project (for example, C # project ). In this way. net project bin folder will generate from the original C ++ DLL file. net version DLL.. Net DLL. open in net Reflector
Appendix: I have compared C ++ DLL and the DLL generated under. Net by C ++ DLL (a COM component should be said ).
(1) the. NET dll version is smaller than the original C ++ dll version. It can be concluded that the new DLL is not extended and packaged by the old c ++ dll version.
(2) open the new dll as a binary file. You can see that these files are basically a description of the IDL (Interface Description) file in C ++ DLL, that is, converted.. net. So it can be opened in. Net reflector.
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/sapphireren/archive/2007/12/03/1913545.aspx