T
Tim Mulholland
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.EntryPointNotFoundException' occurred
in MsgTestCSharp.exe
Additional information: Unable to find an entry point named GetNextWindow in
DLL user32.dll.
The most recent way i tried was:
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern IntPtr GetNextWindow(IntPtr 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.EntryPointNotFoundException' occurred
in MsgTestCSharp.exe
Additional information: Unable to find an entry point named GetNextWindow in
DLL user32.dll.
The most recent way i tried was:
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern IntPtr GetNextWindow(IntPtr hwnd, IntPtr wFlag);
what am i doing wrong here?
Thanks in advance,
-Tim