B
bigmog
I've build a world toolbar addin using VB6 as a dll. All is well most
of the time but in some cases VB seems to get in a state where the DLL
it produces will not register. I constantly get errors from VB saying
"Dll load failed". Even when I run the dll in debug I get this same
error.
By saving the project files in different orders and sometimes waiting
for a short time I can rebuild the DLL from the file menu and it loads
fine. I make no code changes at all in between.
If I try to register the dll from the command line using regsvr32 when
it is in this state I get an error returned. Strangely, however the dll
will load into word and an addin fine. It seems its just the
registration call that is failing.
This intermittent behaviour is driving me nuts. Has anyone experienced
this or better still has a fix?
Any help much appreciated.
of the time but in some cases VB seems to get in a state where the DLL
it produces will not register. I constantly get errors from VB saying
"Dll load failed". Even when I run the dll in debug I get this same
error.
By saving the project files in different orders and sometimes waiting
for a short time I can rebuild the DLL from the file menu and it loads
fine. I make no code changes at all in between.
If I try to register the dll from the command line using regsvr32 when
it is in this state I get an error returned. Strangely, however the dll
will load into word and an addin fine. It seems its just the
registration call that is failing.
This intermittent behaviour is driving me nuts. Has anyone experienced
this or better still has a fix?
Any help much appreciated.