Announcement

Collapse
No announcement yet.

Multi Threaded File Server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multi Threaded File Server

    I have created a multi Threaded IP server in PB6 DLL and Everything works fine. I wish to add more Functionality to the User Interface. I have a list box showing whos logged in, I would like the system admin to be able to Double click on a user and bring up details on the specified transfer, i.e. How for transfer has gone(progress bar), ipaddress and so forth. I am fairly new to PBDLL so any ideas would be muchly appreciated.

    Many Thanks

    Dazzla J

  • #2
    What sort of GUI do you have at the moment? Are you using (or planning to use) DDT, pure API (SDK) code, or using a resource script.

    In essence, the approach is vaguely the same for each GUI technique, but we'll need some more details to get you going. For example, your current app may have no GUI at all, but simply start up and launch threads, etc. In this case, it would be easiest to create a DDT dialog that (in turn) started up the threads during the %WM_INITDIALOG message handling in the CALLBACK function.

    Take a look over the DDT examples supplied with PB/DLL (such as SMTP and ADDRESS) and don't forget to peruse the Source Code forum for even more DDT code.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected]ic.com[email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      I am using DDT with a few labels showing how many active connections there is and a listbox that I add a line to every time someone logs in.

      ------------------

      Comment

      Working...
      X