I'm trying to call the GetNextWindow API function via C#.
I've tried two different definitions for it (both are similar), but i always
get the same error:
An unhandled exception of type 'System.EntryPo intNotFoundExce ption' occurred
in MsgTestCSharp.e xe
Additional information: Unable to find an entry point named GetNextWindow in
DLL user32.dll.
The most recent way i tried was:
[DllImport("user 32.dll", CharSet=CharSet .Auto)]
public static extern IntPtr GetNextWindow(I ntPtr hwnd, IntPtr wFlag);
what am i doing wrong here?
Thanks in advance,
-Tim
I've tried two different definitions for it (both are similar), but i always
get the same error:
An unhandled exception of type 'System.EntryPo intNotFoundExce ption' occurred
in MsgTestCSharp.e xe
Additional information: Unable to find an entry point named GetNextWindow in
DLL user32.dll.
The most recent way i tried was:
[DllImport("user 32.dll", CharSet=CharSet .Auto)]
public static extern IntPtr GetNextWindow(I ntPtr hwnd, IntPtr wFlag);
what am i doing wrong here?
Thanks in advance,
-Tim
Comment