Results 1 to 2 of 2

Thread: newbie DLL question

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    USA
    Posts
    10

    Question newbie DLL question

    Hello All,

    I have developed a VB6 application to query databases and then store the query results in a temp table in SQL Server so that report can be generated. The application is working. But it is slow and it ties up the user's computer. I like to move the processing routines off the standard exe project to an ActiveX DLL project, and run it asynchronously.

    My knowledge on DLL is quite limited. I know how to create the DLL project and how to reference it and use it. But I don't know how to design the DLL...... things like what codes should be in it? Right now, my processing routines call other subroutines within the project, if I move the processing routines out to the DLL project, what should I do with those calls? Is it right for a DLL to call a subroutine in the standard exe project? I seriously doubt that, but I don't know how to correct it. Should I move
    those subroutines over to the DLL also?

    Is it necessary to create all those Property Let/Property Get subroutines, and how?

    As I mentioned earlier, I am storing the query results in a temp table which exists globally ONLY within the standard exe project. Once I leave that and go to the DLL side, I lose the temp table object. How can I retain the object?

    And finally, how to set up the DLL to run it asynchronously so that I can free up the user's computer?

    Any help will be very much appreciated.

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Where is the processing subroutines? In a BAS module?
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

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