Mike you are great i have forget that when a dll is loaded is init proc receive his 
handle many
thanks as soon
as my module is finish it will be set on hobbes with sources.

Currently it do the download
it display the zip file with a include and exclude lis (i include the winzip in the 
plugin no need
to have extern program)
I must just retrieve the selected file in my pm container and call unzip

many thanks !!!!!!!!!!!!!!!!


Michael Kaply wrote:

> 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
begin:vcard 
n:Sterck;Serge
tel;fax:(02) 514.59.26
tel;home:(02) 506.97.15
tel;work:(02) 506.97.15
x-mozilla-html:TRUE
org:F.M.S.B.;Service Informatique
version:2.1
email;internet:[EMAIL PROTECTED]
title:Adjoint chef de service informatique
adr;quoted-printable:;;Rue du Midi 111=0D=0A1000 Bruxelles;;;;
fn:Serge Sterck
end:vcard

Reply via email to