views:

105

answers:

1

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

A: 

It is because the application is actually running from the directory that the VB6.exe is located. You could actually put your dll's and manifest there and have it work, but if you do much RegFree development that directory is going to become a mess very quickly.

Kris Erickson