|
WM_QUERYENDSESSION [^] may be the message you need to check.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Some dimwit had downvoted you for giving a valid answer.
"Real men drive manual transmission" - Rajesh.
|
|
|
|
|
Rajesh R Subramanian wrote: Some dimwit Extremely dim, I think. Thanks, your 40 points take me soaring to the sky again.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
And another counter.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
Thanks, maybe my stalker is back from holiday, or jail.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Sunil
|
|
|
|
|
Hi,
i have two classes, and i am trying to use the ternary operator in the initializer list to initialize Class2 memeber to some value or null based on the data in MyClass2 constructor:
MyClass
{
...
int x;
int y;
}
MyClass2
{
...
MyClass myObj;
}
MyClass2 Constructor:
Version 1)
MyClass2(const AnotherClass* data) :
myObj(data ? data->x : MyClass()) --compile error
Version 2)
MyClass2(const AnotherClass* data) :
myObj(data ? data->x : MyClass my) --synatax error
I get the following error: error: no match for ternary 'operator?:' in ...
How could i fix this?
Thanks
|
|
|
|
|
Just put it into the the ctor body
MyClass2(const AnotherClass* data)
{
if (data)
myObj = data->x;
}
|
|
|
|
|
Your ternary expression makes no sense; if true it returns an integer, and if false it returns an object.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
hi, i'm chacha..
i have a trouble creating voic applications to image and from image to sound using C++
I asked for help and sample code,,please 
|
|
|
|
|
First off, I dont undertand what you mean. Second; you should try something out before posting a question. This would make things clear to you and to the rest of us what you are trying to achieve, as iut is now, i doubt you would get any usful replies.
|
|
|
|
|
i want making the speech recognition application using c++,,please help me give pieces of programs(source code)or articles that can me make reference ? thx
|
|
|
|
|
Two possibilities.
1. Your question needs to be re-phrased.
2. What you are requesting is beyond your abilities, and in general beyond the ability of anyone (or groups for that matter.)
|
|
|
|
|
i want making the speech recognition application using c++,,please help me give pieces of programs(source code)or articles that can me make reference ? thx
|
|
|
|
|
Develop MS Excel related Number and Logical functions. means develop another application like MS excel in c++.. suggest me
|
|
|
|
|
You have already asked this vague question in QA.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
You might want to hire this guy[^] to get you started.
|
|
|
|
|
I tried to download and install the patch for the microsoft foundation classes fo Visual c++ express 2010 but can not seem to make it work
|
|
|
|
|
Okay... you might try asking in the MFC forum, here[^]. This is the Mangaged C++ forum. And when you ask there, you might consider including more information. "can not seem to make it work" is not a very helpful description of your problem.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
Actually, since this is a configuration question (and not programming)... shouldn't it go to the VisualStudio forum[^]?
|
|
|
|
|
Albert Holguin wrote: configuration question
You are probably right.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
You definitely need to post more information... and be in a more appropriate forum as suggested by Wes.
|
|
|
|
|
Visual C++ Express does not include MFC so I am not sure why you are trying to add a patch.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I just downloaded the "Using managed code in an unmanaged application" from code project. Unfortunately under msvs 2010, when the app is run you get a heap corruption error. Is there someone here who can help out and identify the problem. This is a great example if it worked.
codeproject link
thank you,
|
|
|
|
|
igotmymtv2005 wrote: someone here who can help out
Is there something stopping you? I am sure that the author would appreciate someone bringing the code up to VS2010/2012 since the article was written over 6 years ago. Please feel free to correct the code and possbily publish your own article as an update to that one.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|