Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have a .Net Class Library Project which is a wrapper for web services.

It's already designed as COM compatible using COMVisible(True) attributes.

But Now I want these dll pure work as like COM like created in VB6.

Currently I am registering .Net dll using Regasm, so it has dependency over .net framework.
I want to register it using regsvs32.

Please can anyone guide me on these front.
Posted

I am quite confused about your question. You state, that you have made .net library, but you complain that it is .net dependent? You can make it COM visible, as you did, but it won't be native COM object. Even if you could register it with regsvr32, the library itself would depend on .net framework. But it won't work with regsvr32 since that library is not COM component, it is a .net library that has the interfaces and the wrappers for COM made available by the .net framework, and not by the library itself.

So I suggest you accept the fact of the dependency, or rewrite your component under VB6 if you can - but I suppose you won't do that.
 
Share this answer
 
Thanks,

I got your point like I cannot use any .net dll without .net framework. I need to convert my project into VB6 or VC++ so it can work for me. right?

Is there any tool available which can convert the .net dll to VB6 or VC++ ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900