Re: Calling VB.NET DLL from VC++



Thanks for the updation.

Can we call Managed code from VB 6.0?


"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++
    ... i am not able to call managed code form unmanaged Environment ... Its failing. ... Mattias Sjögren mattias @ mvps.org ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Calling VB.NET DLL from VC++
    ... I made VB.Net application (dll) as Make com Visable and then ... Microsoft MVP in VC++ ... Its failing. ... Mattias Sjögren mattias @ mvps.org ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Invalid callback object instance
    ... The debugger ... shows that it has the correct type, but if you try to access it you ... did you write yoru own definition of it in managed code? ... Mattias Sjögren mattias @ mvps.org ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Calling VB.NET DLL from VC++
    ... Then expose some events to COM and handle the events in managed code ... Sheng Jiang ... Microsoft MVP in VC++ ... I made VB.Net application (dll) as Make com Visable and then ...
    (microsoft.public.dotnet.framework.interop)