Click here to Skip to main content
15,918,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to call c++ .dll with object file library in vb 6 [modified] Pin
zhiyuan1613-May-09 15:03
zhiyuan1613-May-09 15:03 
AnswerRe: how to call c++ .dll with object file library in vb 6 Pin
«_Superman_»13-May-09 19:02
professional«_Superman_»13-May-09 19:02 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
zhiyuan1613-May-09 19:59
zhiyuan1613-May-09 19:59 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
«_Superman_»13-May-09 20:02
professional«_Superman_»13-May-09 20:02 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
zhiyuan1613-May-09 20:20
zhiyuan1613-May-09 20:20 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
«_Superman_»13-May-09 20:22
professional«_Superman_»13-May-09 20:22 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
zhiyuan1613-May-09 20:29
zhiyuan1613-May-09 20:29 
GeneralRe: how to call c++ .dll with object file library in vb 6 [modified] Pin
zhiyuan1613-May-09 20:35
zhiyuan1613-May-09 20:35 
my code is following:

Private Declare Function DataFormat Lib "icon_vc80_40d.dll" (ByVal cpIpAddress As String, _
ByVal dnsFlag As Boolean) As Boolean
Private Sub Command1_Click()

    Dim a As String
    Dim b As Boolean
    Dim c As String
    
   a = Text1.Text
      
   c = DataFormat(a, True)
   Text2.Text = c
End Sub

i used this code to test the .dll, but the error occurred: didn't find .dll file. or couldn't find entry point of .dll. what is problem?
Note: ICON_API icon::DataFormat::DataFormat ( const DataFormat& df,
bool cloneComponents = true
)

Copy constructor.

Parameters:
[in] df DataFormat object to copy.
[in] cloneComponents Specifies if a deep or shallow copy is made.

Thread Safety:
Not thread safe. The data being copied can change at any time.

could you help me to check, is this right? the Note above just showed dataformat() detail.

modified on Thursday, May 14, 2009 2:46 AM

GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
«_Superman_»13-May-09 20:45
professional«_Superman_»13-May-09 20:45 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
zhiyuan1613-May-09 20:54
zhiyuan1613-May-09 20:54 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
zhiyuan1613-May-09 23:49
zhiyuan1613-May-09 23:49 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
«_Superman_»14-May-09 2:01
professional«_Superman_»14-May-09 2:01 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
zhiyuan1614-May-09 4:35
zhiyuan1614-May-09 4:35 
AnswerRe: how to call c++ .dll with object file library in vb 6 Pin
Naveen13-May-09 19:04
Naveen13-May-09 19:04 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
zhiyuan1613-May-09 19:54
zhiyuan1613-May-09 19:54 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
Naveen13-May-09 20:15
Naveen13-May-09 20:15 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
zhiyuan1613-May-09 20:27
zhiyuan1613-May-09 20:27 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
Naveen13-May-09 20:46
Naveen13-May-09 20:46 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
zhiyuan1613-May-09 20:57
zhiyuan1613-May-09 20:57 
GeneralRe: how to call c++ .dll with object file library in vb 6 Pin
CPallini13-May-09 21:20
mveCPallini13-May-09 21:20 
QuestionHow to increase size of tool tip in my application. Pin
birajendu13-May-09 9:55
birajendu13-May-09 9:55 
AnswerRe: How to increase size of tool tip in my application. Pin
Randor 13-May-09 10:40
professional Randor 13-May-09 10:40 
AnswerRe: How to increase size of tool tip in my application. Pin
Chandrasekharan P13-May-09 17:26
Chandrasekharan P13-May-09 17:26 
AnswerRe: How to increase size of tool tip in my application. Pin
«_Superman_»13-May-09 19:03
professional«_Superman_»13-May-09 19:03 
QuestionCan't find a solution for showing more dialog windows. Pin
hrddd13-May-09 8:13
hrddd13-May-09 8:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.