Serge Sterck wrote:
> 
> This is no the question it can be copy in the instance structure of netscape plugins
> the question is to run PM function with a DlgBox i need to load the plugins dll with
> DosLoadModule
> but the DosLoadModule need a path so the question is if i'm loader from netscape 
>installed
> let's say in driver F the loadmodule become f:\netscape\program\plugins\npunzip.dll 
>if loaded
> from os2web at drive d:
> it became d:\os2web\bin\plugins my question is simply how can i see from where my 
>plugin is
> loaded ?
> so i can perform a correct DosLoadModule without hardcoding the path in the code or 
>in the
> os2.ini file

You don't need to use DosLoadModule specifically, you just have to have
a module handle. By hooking your
DLL_init_term, you get an HMODULE and you can pass that to WinDlgBox.

There is no need to call DosLoadModule if you have an HMODULE.

Mike

Reply via email to