🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.lang.visualbasic.ver3
2 messages
2 total messages Started by Ric. Sat, 03 Nov 2001 16:11
>AX DLL's<
#10
Author: Ric.
Date: Sat, 03 Nov 2001 16:11
9 lines
2173 bytes
I need to write a program that scans my drive for .DLLs an determines if
that .DLL is in fact an OCX. I also need to find out if that OCX-DLL is sel
registering or not and what the CLSID is that is embeded is the DLL file
(so, not reading from the registry). Does anyone know how to do this? I have
been looking for APIs, but none found (source: API-Guide and internet).

Thanx in advance for helping me out!

Ric.
Re: >AX DLL's<
#13
Author: J French
Date: Mon, 05 Nov 2001 09:05
29 lines
2809 bytes
On Sat, 3 Nov 2001 17:11:04 +0100, "Ric." <me@nospam.com> wrote:

>I need to write a program that scans my drive for .DLLs an determines if
>that .DLL is in fact an OCX. I also need to find out if that OCX-DLL is sel
>registering or not and what the CLSID is that is embeded is the DLL file
>(so, not reading from the registry). Does anyone know how to do this? I have
>been looking for APIs, but none found (source: API-Guide and internet).
>
Strange I posted this ages ago - the giveaways for AX 'DLLs' are:-

DllCanUnloadNow 
DllGetClassObject 
DllRegisterServer 
DllUnregisterServer

Just because a DLL is in your registry does not mean that it is still
on disk - and just because it is on disk does not mean that it is
registered.

A poke around in SETUP1 - the VB bit of the setup wizard should
provide some interesting stuff :-

Declare Function GetClsidFromActXFile _
             Lib "VB5STKIT.DLL" _
             (ByVal pszFilename As String, _
              ByVal pszProgID As String, _
              ByVal pszClsid As String) As Long

This looks a bit of a contender for the task.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads