Re: VB6 DLL Beta-test Failure
- From: "Dag Sunde" <me@xxxxxxxxxxxx>
- Date: Tue, 15 Nov 2005 06:18:23 GMT
"Jon Ripley" <jon@xxxxxxxxxxxxx> wrote in message
news:1Naef.3243$6A4.2642@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I am writing a plugin for APIViewer, a popular development tool, this
> plugin is in the form of a Visual Basic 6.0 DLL and is based on source
> code from the supplied SDK.
>
> Everything seems to work perfectly on my development machine but every
> one of the (wonderful) people helping me to beta test the plugin are
> getting the following error on the second and all subsequent versions of
> the plugin they receive:
>
> Run-time error '-2147221231 (80040111)': Automation error
> ClassFactory cannot supply requested class
>
> The first plugin received for beta testing always works fine but every
> subsequent one fails. The DLL filename does not change between versions.
>
> I am not sure what is going on here or what to tell my beta-testers but
> I get the impression that this is a generic problem not specifically
> related to the application in question.
>
> Assistance would be appreciated, code can be supplied.
Its a COM Component, and as such must be unregistered before you copy in
the new one. After unregistering the old, you can copy in, and register
the new dll.
Strictly speaking, the above is only neccessary if you have broken the
interface. But the behaviour you are describing makes me think that
you have.
Always turn on Binary compatibility i VB. It will then warn & ansk you
when you try to compile a dll that isn't binary compatible with your
original.
As to what to do with your testers machines... It's called "Dll Hell"
for a reason... RegClean maybe?
--
Dag.
.
- Follow-Ups:
- Re: VB6 DLL Beta-test Failure
- From: Jon Ripley
- Re: VB6 DLL Beta-test Failure
- References:
- VB6 DLL Beta-test Failure
- From: Jon Ripley
- VB6 DLL Beta-test Failure
- Prev by Date: VB6 DLL Beta-test Failure
- Next by Date: Re: Determining if a particular object has the focus
- Previous by thread: VB6 DLL Beta-test Failure
- Next by thread: Re: VB6 DLL Beta-test Failure
- Index(es):
Relevant Pages
|