Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window Handle
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Window Handle
Miscellaneous
Thread ID:
00733188
Message ID:
00733188
Views:
53
Hi

I need to pass in a window handle to a custom DLL, I am using the
DECLARE INTEGER GetActiveWindow IN win32api as GetWinHndl
function, if I call this function from the command window or a program the DLL works, if I try to call the GetActiveWindow() from a form I get a different handle number and the DLL returns a window handle error.

I can get the DLL to work at all in a runtime environment it always return a window handle error no matter where I get the window handle from.

The DLL was written by someone else I think they take the window handle and drill down to the main window which is then disabled while talking to the DLL.

Can anyone help?

Thanks

John
Next
Reply
Map
View

Click here to load this message in the networking platform