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
Post a Comment