Results 1 to 2 of 2

Thread: Pass parameters though functn. in DLL

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Location
    India
    Posts
    12

    Unhappy 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?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    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
  •  



Click Here to Expand Forum to Full Width