declaring standard dll's in vb6
Hi, I am trying to call a .NET dll in VB6, and I am getting a "Cannot find entry point" error. I've got something like this:
Private Declare Function GetJunk Lib "C:\location\net.dll" (ByVal mystuff as string) as integer
Private Sub dostuff ()
Dim result as integer
result = GetJunk("Burrito")
Unfortunately I cannot recreate the DLL.
1st question) Is the problem with the function name GetJunk at the declaration? Or is it the way that I call the GetJunk funtion in the sub?
2nd Question) What if when the dll was created there are two funcitons of the same name but under two different classes? There isn't a way to tell the declartion that this function comes from a certain class?
|All times are GMT -6. The time now is 06:41 AM.|
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.