Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem w/using own C++ DLL in VB

Status
Not open for further replies.

mirdous

Computer
Aug 17, 2004
8
Is there anyone who can help me w/ VB6 or VB.NET?
In my VB application I have to use just one C/C++ function
so I wrapped that function to COM(ATL) dll. The problem is when I add reference to it, function runs good only once. When I call that same funcion from dll, it does not work, and I do not know why is that?

Can anyone help me pls?

ps I already tried Declare Function .... Lib ... statement
I got same result.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor