Re: Calling VB.NET DLL from VC++



Actually we have one developed product which will idintify only VC++6.0 . So
we have to stick with VC++6.0. is there any way to call vb.net method form
VC++6.0. I made VB.Net application (dll) as Make com Visable and then
registered it by using command regasm /tlb 'dll path'.



"Sheng Jiang[MVP]" <sheng_jiang@xxxxxxxxxxxxxxxxxxx> wrote in message
news:unI4wVyvHHA.4916@xxxxxxxxxxxxxxxxxxxxxxx
VC6 does not support managed code. Use VC.Net or higher and managed C++ to
call managed code.

--
Sheng Jiang
Microsoft MVP in VC++
"kali charan polnati" <kalicp@xxxxxxxxxxxx> wrote in message
news:OdYWp3wvHHA.312@xxxxxxxxxxxxxxxxxxxxxxx
We created a VB Dot net application of type class library. and trying to
call form vc++6.0. Its failing. Actually here we are trying to calling
managed coded form unmanaged environment (VC++6.0)

"Mattias Sjögren" <mattias.dont.want.spam@xxxxxxxx> wrote in message
news:%23b007KvvHHA.412@xxxxxxxxxxxxxxxxxxxxxxx
I am trying to call VB.NET DLL from withing the VC++ project. It is
failing.

Failing in what way? What have you tried so far? Are you using managed
or native C++?


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.






.



Relevant Pages

  • Re: Calling VB.NET DLL from VC++
    ... VC6 does not support managed code. ... Microsoft MVP in VC++ ... Its failing. ... Mattias Sjögren mattias @ mvps.org ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Calling VB.NET DLL from VC++
    ... Can we call Managed code from VB 6.0? ... Microsoft MVP in VC++ ... Its failing. ... Mattias Sjögren mattias @ mvps.org ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Unspecified error
    ... Do you have the line of code that is causing the error? ... Chris Hanscom - Microsoft MVP ...
    (microsoft.public.vb.database.ado)
  • Re: XP Administrator Password
    ... aka "Nutcase" - Microsoft MVP ... Windows help - www.rickrogers.org ... Failing that the password has ...
    (microsoft.public.windowsxp.general)
  • Re: Figured it out: Re: Perplexing Problem with DDE
    ... I also had multiple windows open, so to catch why it was failing, I added a couple of debug.prints to the procedure. ... although SHdocVw is what is displayed in the Object Browser. ... Yeah, I suppose they've had to shore up that particular dll on several ...
    (microsoft.public.vb.general.discussion)