I have created a simple Win32 Dll (not using MFC) which exposes certain function. When the functions are excuting, i want to display a progress bar. Hence i have created a Dialog Resource with 2 Static Controls and a Progress Bar.
As the dialog has to be modeless dialog box, i am using CreateDialog() function. But for this function, i have to provide the current Instance of the application. Being a Win32 Dll, the DllMain() does not have the application instance as one of its parameters.
Which Win32 API function should be used to get the current Application Instance?
Also, how can I initialize and increment the Progress Bar in the Dialog Box?
Thanks in advance
regards
raochetan
As the dialog has to be modeless dialog box, i am using CreateDialog() function. But for this function, i have to provide the current Instance of the application. Being a Win32 Dll, the DllMain() does not have the application instance as one of its parameters.
Which Win32 API function should be used to get the current Application Instance?
Also, how can I initialize and increment the Progress Bar in the Dialog Box?
Thanks in advance
regards
raochetan