" denotes a field where a class was expected"
Managed C++/CLI
1
Posts
1
Posters
4
Views
1
Watching
-
Can any body help me!!! This function is generating a compilation error 'System.Runtime.InteropServices.UnmanagedType.LPWStr' denotes a 'field' where a 'class' was expected:(( unsafe void IcmParse(string subXML,ref string resultXML) { UnmanagedType.LPWStr result = (UnmanagedType.LPWStr)Marshal.StringToHGlobalAuto(resultXML); int arraycount =0; IcmSessionManager.LoadAndParse (subXML,result,ref arraycount); }