The problem is solved by adding:
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
before
struct WIN32_FIND_DATA
Thanks
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Threaded View
|
Click Here to Expand Forum to Full Width |