Multithreaded DLL?

Serevinus
09-28-2001, 09:16 AM
I need a little help creating a DLL with the following specification

I have written the basic source for an ActiveX DLL that will download a file every 6 hours
The problem I have is that once the timer is started, I cannot access any other functions in the DLL
The interface functions should modify global Booleans, which are then checked at the end of the wait cycle to see whether or not the wait/download cycle should repeat

What I would like to do (unless you have a better idea) is to keep the timer and download functions on one thread... and the interface functions that control them on another (the globals obviously need to be accessible from both threads)

I don't think that was explained very well on my part, so I have attacked what I have done so far for you to look at
I have a deadline of late Monday to get this completed, just to complicate things :/

Derek Stone
09-28-2001, 02:20 PM
Have fun: http://planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=26900

Good Luck
-cl

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum