baal_zebub
18th January 2009, 01:09 PM
hello,
i'm trying to develop a tool that enables apps, to run multi instances simultaneously.
for example: jbed - can only run 1 midlet. when you run jbed.exe again - it doesn't start another midlet manager - it just focuses the already running.
this is - since almost all WM-programs find the already running app by the window-class.
so - what we need is a program, that changes the window class of the running jbed.exe.
(if the class of the already running app is changed - we can start another jbed.exe !)
i already started developing: changing the name of the window is simple ( SetWindowText (hwnd, ...); )- but how can i access the class(-name) - and change it ?
by the way: can someone tell me, where i find the typedef struct of HWND ?
any help is apreciated! - thank you in advance.
i'm trying to develop a tool that enables apps, to run multi instances simultaneously.
for example: jbed - can only run 1 midlet. when you run jbed.exe again - it doesn't start another midlet manager - it just focuses the already running.
this is - since almost all WM-programs find the already running app by the window-class.
so - what we need is a program, that changes the window class of the running jbed.exe.
(if the class of the already running app is changed - we can start another jbed.exe !)
i already started developing: changing the name of the window is simple ( SetWindowText (hwnd, ...); )- but how can i access the class(-name) - and change it ?
by the way: can someone tell me, where i find the typedef struct of HWND ?
any help is apreciated! - thank you in advance.