Accessing VB dll from VC++
I have developped windows dll from VB. (The site http://www.windowsdevcenter.com/pub/...ll.html?page=3 gives a way to generate windows dll from VB). when I try to access it from VC++, it gives run time error as access violation. But I can access it from VB client
If anybody knows the solution to access the DLL in VC++ , created from VB please let me know
In my opinion, you just try to complicate your life. Normally people do the reverse, cause VB is very good to create GUI, and VC++ is very convenient to create classic DLL. I mean if you're VB programmer, do it all in VB, and if you're C programmer, do it all in VC++.
But if you really want to do it for whatever reason, pay attention to use only basic type in the parameter. Even string for me brings problem (the COM used BSTR instead of that VB string for exchanging). Sorry, if it doesn't help much (but the logic is you can't control the pointer in VB while you have to do it in VC++).
Thanks for your reply, But I need this for an issue. I have checked with a basic datatype also, but what ever the thing, it gives the access violation runtime error.
please let me know if you have solution for this
you can contact me at email@example.com
By steve in forum Careers
Last Post: 08-08-2008, 10:46 AM
By Rajesh in forum Enterprise
Last Post: 12-12-2005, 01:17 AM
By Thomas Eyde in forum .NET
Last Post: 12-22-2001, 03:13 PM
By Tarmo Ausing in forum ASP.NET
Last Post: 01-24-2001, 08:25 AM
By Eric in forum VB Classic
Last Post: 11-10-2000, 04:27 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center