Progress Bar in DLL.

This is a discussion on Progress Bar in DLL. within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I have written a multithreading DLL that is called by VB (frontend GUI). I need to keep track of ...

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    8

    Progress Bar in DLL.

    Hi,

    I have written a multithreading DLL that is called by VB (frontend GUI). I need to keep track of each thread's progress with a prgoress bar. Each thread basically does some updating in an SQL database.

    What would be the best solution for this??
    Any ideas would be very helpful to me. I am having problems with the "DIALOGBOX" in VC++. Should i be using an MFC DLL??or a WIN32 DLL?

    Thanks.

    Ryan

  2. #2
    Registered User
    Join Date
    Dec 2002
    Posts
    221
    msconctl.ocx
    or something
    mscon*.ocx

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    When I do similar, I use PostMessage() in the threads to send update status to the central GUI thread. Don't know if that translates to VB.

    >>> I am having problems with the "DIALOGBOX" in VC++.

    May help to narrow the field down there a bit.

    >>> Should i be using an MFC DLL??or a WIN32 DLL?

    In what context? A .dll is basically a .dll. If you mean the options under VC's "New" then one invokes the MFC wizard and fills your file with junk, the other doesn't. If you are using MFC, (I don't), and like wizards, (I don't), then you have the choice.

    If I was to be calling the .dll from something other than VC, I would stay away from MFC etc., anyway.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Progress Bar
    By Stabbsy in forum Windows Programming
    Replies: 4
    Last Post: 11-04-2007, 09:30 PM
  2. Updating a progress bar
    By NewGuy100 in forum C++ Programming
    Replies: 2
    Last Post: 03-13-2006, 12:00 PM
  3. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 12:32 PM
  4. progress bar newbie
    By WaterNut in forum Windows Programming
    Replies: 18
    Last Post: 08-09-2004, 01:42 PM
  5. File Through Winsock & Progress on bar
    By (TNT) in forum Windows Programming
    Replies: 4
    Last Post: 12-05-2001, 09:50 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21