Hello, i am playing with plugin.
I start from Visual Studio example delivered with pl/sql dev, compile the dll, and everything work fine.
Now, i want to add a window, like a configuration windows.
In visual studio, i add a dialog in resources files (IDD_DIALOG1).
I try to show the dialog with this command :

DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_DIALOG1), NULL, DialogProc);
DialogProc is the callback function

But, my dialog never open.
I'm not sure it's correct to use GetModuleHandle(NULL).
Can someone show me my mistake(s) or a better way to do it.
Thanks

Last edited by fabrice; 05/20/23 11:07 AM.