|
-
Dec 21st, 2002, 08:43 AM
#1
Thread Starter
New Member
Pass parameters though functn. in DLL
i want to create a DLL where i can pass parameters etc. this thing works when i do it through a class module.. i mean something like .. hmm..
Sub DisplayInCombo (vbComboBox as ComboBox)
vbComboBox.AddItem "Hello"
End Sub
when i do the above, through a class it works. but while compiling the DLL, it gives me an error.
Can someone please help?
-
Dec 21st, 2002, 08:07 PM
#2
ComboBox is specific to VB and ActiveX DLLs are not they are COM complaint so you'll have to try and pass it in as the generic type OBJECT and see if that works.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|