c# - Windows Phone 7 - Use Native DLL - Need GUID of Class and Interface -


i need use c++ native dll in windows phone 7 application. using dllimport project shows way include native code in windows phone 7 application. uses filesystem.dll file perform actios using native code. need use encryption dll instead of that. code given uses following way import functions filesystem.dll:

[comimport, guid("f0d5afd8-da24-4e85-9335-bebcade5b92a"), classinterface(classinterfacetype.none)] public class filesystemclass { }  [comimport, guid("2c49fa3d-c6b7-4168-be80-d044a9c0d9dd"), interfacetype(cominterfacetype.interfaceisiunknown)] public partial interface ifilesystemio { ... } 

only problem that, not able guid used in comimport attribute. knows, how guid class , interface native c++ code?

you can try lookup guid c++ library editor or hex viewer, should somewhere @ top. see this link.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -