You need to compile this cpp class as a .DLL and then refer this dll in your VB propject.
You are good to go.
binoj_daniel
Practically a Master Poster
645 posts since Dec 2006
Reputation Points: 25
Solved Threads: 18
Create a dll file using VC++ Win32 Dynamic-Link Library Project type.
Compile the dll and register it in system32.
binoj_daniel
Practically a Master Poster
645 posts since Dec 2006
Reputation Points: 25
Solved Threads: 18
.CPP and .H files can't be directly referenced fronm VB. compile to .DLL file and then instanceate in VB.
debasisdas
Posting Genius
6,870 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
.CPP and .H files can't be directly referenced fronm VB. compile to .DLL file and then instanceate in VB.
Please see the post before you post redundant replies.
binoj_daniel
Practically a Master Poster
645 posts since Dec 2006
Reputation Points: 25
Solved Threads: 18
create a DLL.register
to to command prompt and type
c:>regsvr32
open your vb project. go to project-refrences- add the DLL from the list
now create a object
dim obj as new
now u can use the function
hope this will work
I think thats what i posted in my first post. Please take time to read before posting.
binoj_daniel
Practically a Master Poster
645 posts since Dec 2006
Reputation Points: 25
Solved Threads: 18