App, developed with Visual Studio 2015 runs perfectly on Windows 7, 2008 Server, etc. but crashes on Windows 10

  • Thread starter Thread starter iv_ski1
  • Start date Start date
I

iv_ski1

Guest
I have question about Visual Studio Enterprise 2015. I have developed .net application with VB which runs perfectly on Windows 7, 2008 Server, etc. but crashes on Windows 10. What is different on Windows 10? The code where it is happen is this:

ptr = CType(Marshal.PtrToStructure(ppElementDA2, GetType(Integer)), Integer)

StructDA2 = CType(Marshal.PtrToStructure(ptr, GetType(ASC_OBJECT)), ASC_OBJECT)

Is it Marshal.PtrToStructure obsolete by Windows 10?


iv_ski1

Continue reading...
 
Back
Top