|
in this regard, i donot have any other clue except the following.
1.write one more application without grid and then with grid and see the difference.
2.try to compile your application in another system.
3.only thing you have to do is to localise weather the problem is with the code or grid or the system.
BTW, what is the size of your RC file is it normal or abnormal. just verify!
good luck.
--------------------------------------------
Suggestion to the members:
Please prefix your main thread subject with [SOLVED] if it is solved.
thanks.
chandu.
|
|
|
|
|
I have created a process using CreateProcess API.
i want to suspend/resume the process.
Thanx n advance.
|
|
|
|
|
|
Hamid. wrote: See Win32 process suspend/resume tool[^].
Good! how about starting and closing of process
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
what are the different classes in VC++..?
kkr
|
|
|
|
|
What do you want to know?
|
|
|
|
|
Definitely.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
didn't you listen to the teacher when in classroom ?
|
|
|
|
|
toxcct wrote: didn't you listen to the teacher when in classroom ?
Why bother, when you've good music instead?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
CPallini wrote: Why bother, when you've good music instead? [Big Grin]
I used to do that, back in my college days. I also used to keep some snacks handy. But of course, only in boring classes.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Rajesh R Subramanian wrote: only in boring classes.
hummm.. i need to talk to your professors
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
ClassA, ClassB, ClassC, ...
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I have to convert a color image to black and white using opencv.I used the following code.It didn't work.Is there any error in it?
src = cvLoadImage( path ); // load color image
IplImage* gray = cvCreateImage(
cvSize(src->width,src->height),
IPL_DEPTH_8U, 1);
cvCvtColor(image,gray,CV_RGB2GRAY);
|
|
|
|
|
projectip wrote: cvCvtColor(image,gray,CV_RGB2GRAY);
What is image ? Try
cvCvtColor(src, gray, CV_RGB2GRAY); insteaed.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
You can use of BitBlt for it,of course you must dont think it directly convert your color image to black and white.
for your code did you check return values?
|
|
|
|
|
have to convert the color image for identifying the connected components.
Nothing is displayed when i run the code.
|
|
|
|
|
For example test this code
CImage m_Image;
CBrush m;
m.CreateSolidBrush(RGB(0,0,111));
GetDC()->FillRect(CRect(0,0,800,600),&m);
m_Image.Load(_T("c:\\333.jpg"));
/*see dwRop on the MSDN*/m_Image.BitBlt(GetDC()->m_hDC,0,0,MERGEPAINT);//SRCERASE
|
|
|
|
|
is motherboard serial number different from the Cpu id?If a system needs to be identified ,which is the better one(cpu id or motherboard serial number) to identify one system from another,other than MAC id?thanx in advance....
|
|
|
|
|
Parvathy_1985 wrote: is motherboard serial number different from the Cpu id?
Yes. Both are equally good to identify a system. No two motherboards or CPU will have the same serial number / ID. Use whichever is easier to you. You might want to use them both together as well.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
In addition to Rajesh's reply, you may also consider using the serial number of the hard drive too.
Regards,
Vijay.
|
|
|
|
|
i find that inorder to retrieve cpu id , assembly language is to be written,is it true?Is there any other alternative??thanking you in advance....
|
|
|
|
|
Parvathy_1985 wrote: i find that inorder to retrieve cpu id , assembly language is to be written,is it true?
No. you can use the Win32 WMI classes to get the hardware information. May be this[^] article can help you.
Regards,
Vijay.
|
|
|
|
|
Have a look at this article: Three ways to retrieve processor information[^]
And then, I strongly recommend you to use Google. It works for me all the time. Almost.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
|
In VC++, timer(OnTimer() ) runs on which task/thread?
Is it GUI or something else?
Thanks,
Suman
--
"Programming is an art that fights back!"
|
|
|
|