Click here to Skip to main content
15,920,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: the system protect in 2k and xp ?? Pin
Matt Newman21-Jan-04 5:40
Matt Newman21-Jan-04 5:40 
AnswerRe: the system protect in 2k and xp ?? Pin
Antti Keskinen21-Jan-04 5:42
Antti Keskinen21-Jan-04 5:42 
GeneralBest way to display a text file as a resource Pin
doctorpi21-Jan-04 4:06
doctorpi21-Jan-04 4:06 
GeneralRe: Best way to display a text file as a resource Pin
Roger Allen21-Jan-04 4:42
Roger Allen21-Jan-04 4:42 
Generalcustom class wizard Pin
red2k421-Jan-04 3:50
sussred2k421-Jan-04 3:50 
GeneralRe: custom class wizard Pin
Antti Keskinen21-Jan-04 5:49
Antti Keskinen21-Jan-04 5:49 
GeneralNon-blocking Socket getting block on WSASend Pin
Member 73613721-Jan-04 3:20
Member 73613721-Jan-04 3:20 
GeneralRe: Non-blocking Socket getting block on WSASend Pin
valikac21-Jan-04 11:28
valikac21-Jan-04 11:28 
GeneralRe: Non-blocking Socket getting block on WSASend Pin
Anonymous22-Jan-04 2:19
Anonymous22-Jan-04 2:19 
Generalcreating Access ODBC Data Source at runtime Pin
bmvbab21-Jan-04 3:11
bmvbab21-Jan-04 3:11 
GeneralRe: creating Access ODBC Data Source at runtime Pin
David Crow21-Jan-04 4:53
David Crow21-Jan-04 4:53 
Questionhow to extract a single bitmap from .avi file? Pin
andreas.schaerer21-Jan-04 3:10
andreas.schaerer21-Jan-04 3:10 
AnswerRe: how to extract a single bitmap from .avi file? Pin
Ted Ferenc21-Jan-04 3:19
Ted Ferenc21-Jan-04 3:19 
GeneralRe: how to extract a single bitmap from .avi file? Pin
andreas.schaerer21-Jan-04 3:30
andreas.schaerer21-Jan-04 3:30 
GeneralRe: how to extract a single bitmap from .avi file? Pin
Ted Ferenc21-Jan-04 3:48
Ted Ferenc21-Jan-04 3:48 
GeneralRe: how to extract a single bitmap from .avi file? Pin
andreas.schaerer21-Jan-04 9:48
andreas.schaerer21-Jan-04 9:48 
GeneralRe: how to extract a single bitmap from .avi file? Pin
Ted Ferenc21-Jan-04 21:38
Ted Ferenc21-Jan-04 21:38 
GeneralRe: how to extract a single bitmap from .avi file? Pin
andreas.schaerer1-Feb-04 8:02
andreas.schaerer1-Feb-04 8:02 
GeneralRe: how to extract a single bitmap from .avi file? Pin
Ted Ferenc1-Feb-04 8:53
Ted Ferenc1-Feb-04 8:53 
GeneralUSB Port sample Pin
DT_SE21-Jan-04 3:06
DT_SE21-Jan-04 3:06 
GeneralRe: USB Port sample Pin
Antti Keskinen21-Jan-04 6:24
Antti Keskinen21-Jan-04 6:24 
GeneralSave a Word document from an ActiveX container Pin
Member 311221-Jan-04 2:21
Member 311221-Jan-04 2:21 
GeneralCallback in MFC Pin
SiddharthAtw21-Jan-04 1:35
SiddharthAtw21-Jan-04 1:35 
GeneralRe: Callback in MFC Pin
Antti Keskinen21-Jan-04 1:44
Antti Keskinen21-Jan-04 1:44 
Callback functions are implemented in MFC just as they are implemented in Win32: you create your own function that follows the guidelines specified by the documentation (function return value & parameters), then give this function's address (it's name) as a parameter for the routine that starts the enumeration.

The routine will call your function with the appropriate parameters for each object or instance it finds. In the case of process enumeration, these objects/instances are the different processes running in the system.

The PS API offers an alternative way: it fills a specified DWORD array with the process identifiers. See this page[^] for an example.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Callback in MFC Pin
David Crow21-Jan-04 4:55
David Crow21-Jan-04 4:55 

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.