Hello, everyone: I written in VB6 a DLL file, and then write an exe calls it, after the project referenced DLL, run shows methods or data member is not found, Refer to the following: Dim cc () as the variant Cc=datalist. Module4. Getdata (text5 text6) The text5 (string) and text6 (integer) as the incoming parameter Running tips Module4 methods or data member is not found, there is no reference sense, just learning VB, and just use the DLL code was wrong? Please give advice or comments
CodePudding user response:
This only shows that you have a problem that the DLL code,
You: datalist. Module4 The Module4 seems to be a module name! If you make a DLL file, certainly, it isn't used,
CodePudding user response:
Dim datalist as new your DLL library name. Your class module name Cc=Getdata (text5. Text, text6. Text)