Results 1 to 2 of 2

Thread: pass a listview object to a dll

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    pass a listview object to a dll

    Is it possible to pass a list view object to a dll?? as of right now it won't let me because if i declare the function as public.. it says that i can't use a private object module as a parameter for a public function...

    the reason i am doing this is because i have about 9 apps here at work and they share a dll that has a lot of common functions.. and one of the functions i would like to put in is a listview sorting function.. but i don't want to include it in every app. i would rather put it in the dll to call..

  2. #2
    jim mcnamara
    Guest
    You have to pass things like that from VB as Object. Object gets passed as a pointer to the Object, by default.

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