I need to make a dll with some c+ source code, and get vb to call it up, can anyone help me please?
Printable View
I need to make a dll with some c+ source code, and get vb to call it up, can anyone help me please?
do yo uwant to use managed or unmanaced c++?
if its unmanaged c++, create your dll and call it using P/Invoke
if its managed c++, then just reference the dll and u can call it like if it was another class
I havent a clue about what your on about, I have uploaded the c++ that i want to use in vb
lolQuote:
Originally posted by Cosmictej
I havent a clue about what your on about, I have uploaded the c++ that i want to use in vb
:)
the code you posted is unmanaged code (old c++)
so that means u need to make a dll first before you think about vb
so here is a tutorial/link that might help you with ur quest.
http://www.codeproject.com/dll/DLL_E...d_EZ_Usage.asp
get that part done first.