Jump to content

Check out our Community Blogs


Member Since 25 Dec 2007
Offline Last Active Dec 27 2007 10:29 AM

Topics I've Started

Managed C++ calling VB .net dll function

25 December 2007 - 10:19 AM

Hi all,

I am newbie to .NET technology, but through some forum I know that it is possible to call VB .Net call function calls from a managed C++ code. The VB .Net code is some what like this which is in Sample.vb

using System
Public class Test
Public Function getName(ByVal fsName as String) as String
Dim lsReturn as String
lsReturn = "Welcome " & fsName
Return lsReturn
End Function
End class

I need to call getName function form managed C++ code, so please let me know how this can be achived or any sample piece of code.

Would appreciate for the same.

Thanks & Regards

Pranab Bhatta

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download