Good morning,

I got a project A which has a class inherited from TMtsAutoObject. The code is 
inside  a dll. I also develop a exe file to use the call CreateOleObject to 
instantiate the TMtsAutoObject.

The problem now is that I maintain multiple versions of the same project 
TMtsAutoObject and exe project and running different version of exe and I will 
expect the right version of TMtsAutoObject. Exe and dll sitting in the same 
folder.

 Inside windows, only one version of activex control can be registered at one 
time. I am thinking inside project a to expose a library function call to say 
loadDllSomething, the exe project first find the right dll and call 
loadDllSomething. By load dll myself in the exe file, I know which version of 
dll I want to use. Is this the right way to do that? Any other better way?

TIA

Have a nice day

Regards
Leigh
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to