>> I have a D7 program using runtime packages (rtl70 and vcl70).
>> Is there a way to programmatically know which file is actually loaded and
>> get his version info resource ?
>> This is to solve a problem when an old and a new rtl70/vcl70 versions
>> exists
>> on a given system (D7/SP1 doesn't like to work with the packages of
>> D7/no_sp).
> To find out where rtl70.bpl is, first use GetModuleHandle('rtl70.bpl')
> to get the handle to that module. Then call GetModuleFileName to get the
> full path to the file.
Thank you. But I already know that but that's not what I need. I need to get
hand on the handle of the ALREADY loaded rtl70.bpl. This is because calling
GetModuleHandle('rtl70.bpl') could return a handle to another instance file
of the RTL70.BPL (because of changed path or current directory for example).
I need to be sure to access the already loaded one as so I need to get the
handle.
--
[EMAIL PROTECTED]
The author for the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi