Click here to Skip to main content
15,896,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get object or handle of control in its event handler function without using its ID ? Pin
KarstenK3-Jul-08 3:05
mveKarstenK3-Jul-08 3:05 
Questioncom dll problem Pin
rjkg3-Jul-08 2:16
rjkg3-Jul-08 2:16 
AnswerRe: com dll problem Pin
Nibu babu thomas3-Jul-08 2:28
Nibu babu thomas3-Jul-08 2:28 
GeneralRe: com dll problem Pin
rjkg3-Jul-08 2:38
rjkg3-Jul-08 2:38 
AnswerRe: com dll problem Pin
Roger Stoltz3-Jul-08 2:39
Roger Stoltz3-Jul-08 2:39 
GeneralRe: com dll problem Pin
KarstenK3-Jul-08 3:10
mveKarstenK3-Jul-08 3:10 
AnswerRe: com dll problem Pin
KarstenK3-Jul-08 3:09
mveKarstenK3-Jul-08 3:09 
QuestionAvoiding global in Callbacks Pin
flip3-Jul-08 2:01
flip3-Jul-08 2:01 
Hi What is the correct way to avoid globals in accessing callbacks.
E.g.


A signal handler for ctrl-C or similar.

I have seen the boost:function and boost::bind used for user defined callbacks but I am yet it to see this being used for a standard C system library with callback.


E.g.

void sig(){};

int main()
{
signal(SIGINT,sig);
}

If sig was a member of a class is it possible to use boost::bind or otherwise so that when a signal interrupt is generated it is possible
to access the members of the class without the use of globals?


Regards,

flip
QuestionConvert Visual Studio 2005 ATL project into Visual C++ 6.0 project Pin
dolly3-Jul-08 1:52
dolly3-Jul-08 1:52 
AnswerRe: Convert Visual Studio 2005 ATL project into Visual C++ 6.0 project Pin
Gary R. Wheeler3-Jul-08 1:55
Gary R. Wheeler3-Jul-08 1:55 
QuestionWrapping a C++ LIB into a DLL Pin
indogerman3-Jul-08 1:50
indogerman3-Jul-08 1:50 
AnswerRe: Wrapping a C++ LIB into a DLL Pin
Gary R. Wheeler3-Jul-08 1:58
Gary R. Wheeler3-Jul-08 1:58 
AnswerRe: Wrapping a C++ LIB into a DLL Pin
KarstenK3-Jul-08 3:14
mveKarstenK3-Jul-08 3:14 
QuestionBorderLess AboutBox. Pin
Le@rner3-Jul-08 1:36
Le@rner3-Jul-08 1:36 
AnswerRe: BorderLess AboutBox. Pin
CPallini3-Jul-08 1:41
mveCPallini3-Jul-08 1:41 
AnswerRe: BorderLess AboutBox. Pin
Rajesh R Subramanian3-Jul-08 1:42
professionalRajesh R Subramanian3-Jul-08 1:42 
GeneralRe: BorderLess AboutBox. Pin
CPallini3-Jul-08 2:08
mveCPallini3-Jul-08 2:08 
GeneralRe: BorderLess AboutBox. Pin
Rajesh R Subramanian3-Jul-08 2:25
professionalRajesh R Subramanian3-Jul-08 2:25 
GeneralOT Pin
CPallini3-Jul-08 22:24
mveCPallini3-Jul-08 22:24 
GeneralRe: OT Pin
Rajesh R Subramanian3-Jul-08 22:32
professionalRajesh R Subramanian3-Jul-08 22:32 
GeneralRe: OT Pin
CPallini3-Jul-08 23:30
mveCPallini3-Jul-08 23:30 
GeneralRe: BorderLess AboutBox. Pin
Le@rner3-Jul-08 2:43
Le@rner3-Jul-08 2:43 
Questioncannot move temporary file. [modified] Pin
manju#1233-Jul-08 1:22
manju#1233-Jul-08 1:22 
AnswerRe: cannot move temporary file. Pin
Iain Clarke, Warrior Programmer3-Jul-08 2:02
Iain Clarke, Warrior Programmer3-Jul-08 2:02 
AnswerRe: cannot move temporary file. Pin
Jijo.Raj3-Jul-08 9:49
Jijo.Raj3-Jul-08 9:49 

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.