Why is it not possible to call RegFree COM and .NET from the VB IDE (VB6 & VBA)?
Posted
by DangerMouse
on Stack Overflow
See other posts from Stack Overflow
or by DangerMouse
Published on 2010-04-23T10:19:33Z
Indexed on
2010/04/23
10:23 UTC
Read the original article
Hit count: 272
Hi
I have an example project with works when called from compiled VB6 but not from the IDE or from Excel's VBE.
There are 3 DLLs QA.DLL, QB.DLL, QAW.DLL. QA is written in C#.NET, QB and QAW are written in VB6. QAW is a COM wrapper of QA.
In the calling code I create an Activation Context and load a manifest file.
All works fine from the exe created with VB6, but not in debug mode in VB6 or in Excel's VBA.
I have the full example in zip.
Any ideas what it is that is different about the IDE call and why it doesn't work?
Many Thx
-- DM
© Stack Overflow or respective owner