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 :/
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 :/