Shouldn't IconInfo be a value struct? Also, shouldn't you declare the following:
[DllImport("user32.dll")]
static bool GetIconInfo(IntPtr hIcon, IconInfo^ pIconInfo);
// as
...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: CppCoder2010 Search: Search took 0.01 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |