Can I detect an OCX or DLL is missing. 
Author Message
 Can I detect an OCX or DLL is missing.

Is it possible detect if an OCX or DLL is missing or not registered BEFORE
my application requires it when my application starts. At present it just
does not start if the OCX can not be found.

Can I also see WHICH load FAILED.

Thanks for any clues.



Mon, 09 Jul 2001 03:00:00 GMT  
 Can I detect an OCX or DLL is missing.
The best way is to deliver all necessary OCXes and DLLs during installation.

Johan Rosengren
Responsable Informatique
PACTA S.A.

John McTainsh a crit dans le message ...

Quote:
>Is it possible detect if an OCX or DLL is missing or not registered BEFORE



Mon, 09 Jul 2001 03:00:00 GMT  
 Can I detect an OCX or DLL is missing.
The best way is to deliver all necessary OCXes and DLLs during installation.
If you implicitly load the modules, Window will try to load it before your
code gets called, so that's impossible. Loading explicitly is a hassle
compared to a correct installset.

Johan Rosengren
Responsable Informatique
PACTA S.A.

John McTainsh a crit dans le message ...

Quote:
>Is it possible detect if an OCX or DLL is missing or not registered BEFORE



Mon, 09 Jul 2001 03:00:00 GMT  
 Can I detect an OCX or DLL is missing.
I agree with Johan on this one, but if you can't insure a correct
installation, you might write a little stub that does
LoadLibrary()/FreeLibrary() on each dll and, assuming all is well, calls
CreateProcess() to start your 'main' app and then terminates.



Quote:
> The best way is to deliver all necessary OCXes and DLLs during
installation.
> If you implicitly load the modules, Window will try to load it before
your
> code gets called, so that's impossible. Loading explicitly is a hassle
> compared to a correct installset.

> Johan Rosengren
> Responsable Informatique
> PACTA S.A.

> John McTainsh a crit dans le message ...
> >Is it possible detect if an OCX or DLL is missing or not registered
BEFORE



Tue, 10 Jul 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Detecting missing DLL imports

2. WebClient - What am I missing?

3. Debugger - what am I missing?

4. What am I missing here?

5. What am I missing feof and fscanf.....

6. DataSet.WriteXml(): What am I missing?

7. Am I missing something?

8. Namespace Extension with ATL - What am I missing?

9. What am I missing?

10. Insert Using ADO/VC++: What am I missing?

11. Help compiling templated class -- Am I missing something?????

12. Linker error - which library am I missing ?

 

 
Powered by phpBB® Forum Software