Multithreaded Visual FoxPro

You can download the code, slides, and whitepaper from my “Easy Multithreading With Visual FoxPro” session (from Southwest Fox 2011) using the link below.

Source, Slides and Whitepaper

Please note the following:

1. All of the example multithreaded DLL’s must be registered on your machine in order to work. You can do this by running regsvr32 for each of them, or by simply opening the respective projects and BUILDing a multithreaded DLL. This will automatically rebuild and register the DLL on your machine. If you are using Vista, Windows 7, or Windows 8, you must be running Visual FoxPro as an Administrator in order for the registration to work during a rebuild. If you do not know how to run VFP as an Admin, I recommend skipping this session.

2. Please read the README.TXT file. This is the file that states you cannot sue me for any damages which may result from the use of the code in this session. (I have an ex-wife. I’ve been sued enough for two lifetimes.)

3. This session uses DMULT.DLL which was written by Christof Wollenhaupt, and any additional EULA’s for the use of DMULT.DLL should be respected. You can read more from Christof at http://foxpert.com

4. This session also uses Craig Boyd’s VFPConnection.fll. While it is included with the download, it contains a separate EULA (also included – please read it). If you are not familiar with VFPConnection.fll, Craig has documented it at his blog.

If you have any questions, comments, suggestions about this work, feel free to contact me at kevin at kevinragsdale dot net.

Be sure to check back regularly, as I plan to create a series of short screencasts and blog posts to demonstrate the functionality of using DMULT.DLL to create multithreaded Visual FoxPro applications.

Enjoy!

  • Pingback: Easy Multithreading with Visual FoxPro | Kevin Ragsdale()

  • Andrzej

    That’s really cool. I am going to check this out, and hopefully apply it to my apps asap.
    Thank you for all contributions to the VFP community. 🙂

  • THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • Thank you for your contribution to the Fox Community. Fox Rules!

  • valimaties

    Hy.
    How can I manage the UNC paths in multithreaded dll? Seems that it not read this kind of path to files…

    • Kevin Ragsdale

      It should, as long as it has the permissions to do so. Do you have any example code?

      • valimaties

        It does. My mistake, i used a listbox to debug, but i forgot that listbox convert two slashes into one :)) sorry… It works very good.

        • Kevin Ragsdale

          Awesome – thank you for the follow-up!