Hi Cetin
Here is a typical one
> declare short ShowWindow in WIN32API alias Win32ShowWindow ;
> integer hwnd, ;
> integer nCmdShow
With Tools > Beautify the ShowWindow becomes SHOWWINDOW, that is the reason I get the following error:
---------------------------
VSO Report Manager
---------------------------
Unhandled Error # 1754
Cannot find entry point SHOWWINDOW in the DLL.
---------------------------
OK
---------------------------
Back to CamelCase and the error goes away. Is this correct? Can you reproduce it?
Plus one more thing, if the app is minimized, the code cannot bring it to the state the window was. Is this possible? I tried SW_SHOW and SW_SHOWDEFAULT also but no joy.
> #define SW_SHOWMINIMIZED 2
> #define SW_SHOWMAXIMIZED 3
> #define SW_MAXIMIZE 3
1, 2, 3 :)