How to get the current process handle
Posted: Thu Aug 31, 2006 3:07 am
Hi All,
I have a DllCaller and a Dialog Dll, when the DllCaller module loads the dialog from the dll, I want to let the dialog itself to get the current process handle and set it as its process handle to implement a Modal dialog(but I don't want to pass in the DllCaller process handle), how can I do it? could you give me some suggestions? thanks in advance.
thanks
James
I have a DllCaller and a Dialog Dll, when the DllCaller module loads the dialog from the dll, I want to let the dialog itself to get the current process handle and set it as its process handle to implement a Modal dialog(but I don't want to pass in the DllCaller process handle), how can I do it? could you give me some suggestions? thanks in advance.
thanks
James