.NET dll

  • Thread starter Thread starter Andry
  • Start date Start date
A

Andry

Hi all

I have made a com dll .

Details are

OS : win 2000

Env: DotNet

I now want to execute this in the following env:

Win 98 and VB 6

This gives error.Page fault in VBA6.dll, and says that the it has performed
an illegal operation.

Please help.
 
Andry said:
Hi all

I have made a com dll .
I now want to execute this in the following env:

Win 98 and VB 6

This gives error.Page fault in VBA6.dll, and says that the it has performed
an illegal operation.

..NET dll's can not be used directly in VB 6, you must use the wizard to
create a COM compatible wrapper for them. I forget the utility to do this
with (because I have only needed it once), but if you search the .NET docs
for COM compatibility, you should find what you're looking for. There is
also an option in the project settings that will build the wrapper for you
and register it on the dev machine (of course, you would have to re-register
it on the client machines).

~
Jeremy
 
Back
Top