Click here to Skip to main content
15,905,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCSocket Pin
lpRomang18-Oct-03 7:04
lpRomang18-Oct-03 7:04 
GeneralRe: CSocket Pin
Alexander M.,18-Oct-03 12:42
Alexander M.,18-Oct-03 12:42 
GeneralRe: CSocket Pin
Rafael Fernández López19-Oct-03 0:06
Rafael Fernández López19-Oct-03 0:06 
Generaltoolbar (again) Pin
Max Santos18-Oct-03 6:37
Max Santos18-Oct-03 6:37 
GeneralRe: toolbar (again) Pin
includeh1018-Oct-03 6:44
includeh1018-Oct-03 6:44 
GeneralRe: toolbar (again) Pin
Max Santos23-Oct-03 23:18
Max Santos23-Oct-03 23:18 
Generalreceiving keybords input on modeless dialog created using DLL Pin
bhalchan18-Oct-03 6:34
bhalchan18-Oct-03 6:34 
QuestionHow to use Timer in a win32 dll ? Pin
legrillon18-Oct-03 6:32
legrillon18-Oct-03 6:32 
Hi,

I'm using a client/server application from a software company .
This software allows me to interact with it thanks to a user DLL that I have to implement on the NT side of the communication. This is what they call a "user exit".
So far so good : each time the software sends or receives a buffer, it fires my DLL, pass information to it , retrieves back updated data, and everything's fine.

I have an additional need : I would like to detect in my DLL if inactivity occurs for let's say 10 minutes so that I can take special action. Inactivity means my DLL hasn't been fired for 10 minutes.

I tried to use SetTimer (callback function) / KillTimer in my DLL but as you can imagine, when I call SetTimer in my DLL and then give control back to the main application, the callback application is never called in case of a time-out .

Is there a way to solve that issue ?

Thanks for reading and helping me on this topic.

Marc


AnswerRe: How to use Timer in a win32 dll ? Pin
Joe Woodbury18-Oct-03 10:54
professionalJoe Woodbury18-Oct-03 10:54 
GeneralRe: How to use Timer in a win32 dll ? Pin
legrillon18-Oct-03 13:05
legrillon18-Oct-03 13:05 
GeneralRe: How to use Timer in a win32 dll ? Pin
legrillon19-Oct-03 0:53
legrillon19-Oct-03 0:53 
GeneralRe: How to use Timer in a win32 dll ? Pin
Joe Woodbury19-Oct-03 6:12
professionalJoe Woodbury19-Oct-03 6:12 
GeneralCustom Messages Pin
michael_cowan18-Oct-03 6:17
michael_cowan18-Oct-03 6:17 
GeneralRe: Custom Messages Pin
includeh1018-Oct-03 6:35
includeh1018-Oct-03 6:35 
GeneralRe: Custom Messages Pin
michael_cowan19-Oct-03 9:31
michael_cowan19-Oct-03 9:31 
GeneralRe: Custom Messages Pin
Mike O'Neill20-Oct-03 14:46
Mike O'Neill20-Oct-03 14:46 
GeneralRe: Custom Messages Pin
michael_cowan21-Oct-03 5:32
michael_cowan21-Oct-03 5:32 
QuestionHow do you define "High level" and "Low level" abstractions? Pin
Link260018-Oct-03 6:01
Link260018-Oct-03 6:01 
AnswerRe: How do you define "High level" and "Low level" abstractions? Pin
Joe Woodbury18-Oct-03 10:52
professionalJoe Woodbury18-Oct-03 10:52 
AnswerRe: How do you define "High level" and "Low level" abstractions? Pin
joshfl23-Oct-03 10:42
joshfl23-Oct-03 10:42 
GeneralRe: How do you define "High level" and "Low level" abstractions? Pin
Link260023-Oct-03 11:14
Link260023-Oct-03 11:14 
GeneralWin32 toolbar problem/question Pin
Jim Crafton18-Oct-03 5:28
Jim Crafton18-Oct-03 5:28 
GeneralRe: Win32 toolbar problem/question Pin
Chris Richardson18-Oct-03 12:11
Chris Richardson18-Oct-03 12:11 
GeneralWasabi SDK Pin
_Digger_18-Oct-03 5:10
_Digger_18-Oct-03 5:10 
GeneralRe: Wasabi SDK Pin
User 665818-Oct-03 8:07
User 665818-Oct-03 8:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.