|
|
Please rephrase your questions.
|
|
|
|
|
Why do you repost your questions all the time and don't even bother to look at the replies ?
|
|
|
|
|
|
I would add some log statements (print to output window, or print to file). If you do this for more than one project, make sure to include timing information, I typically have the current time in "HH:mm:ss.fff" format.
Yes, it takes some effort adding the lines, and they do influence timing a bit, however they are a big help.
BTW: I don't remove them, I just disable them when I (think I) no longer need them.
|
|
|
|
|
|
I don't care about the expected answer, I'm only offering a solution. You can turn it down and continue waiting for someone to tell you whatever it is you do expect.
|
|
|
|
|
That's is rude.
We're trying to help; if you do not want help, don't ask questions.
Watched code never compiles.
|
|
|
|
|
Nami.v.s wrote: Sorry i think this is not the expected answer.
Maybe you should explain what is the expected answer, so someone can find it for you.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
knowing the answer to a question is half-cheating!
Watched code never compiles.
|
|
|
|
|
Huh ?
I'm not certain I understand the question, or what you are actually doing...
Are you saying you have the same code compiled on VC6 and VS2008 that generate different results ?
If you are generating a DLL, you need to have an executable that will call the code in the DLL and check that.
One way to do that, is to use log file.
Another way is to use unit tests.
Good luck.
Watched code never compiles.
|
|
|
|
|
At What Conditions,
CStudioFile::ReadString() Gives/Returns the FALSE value?
And
In a File Consists the Lines In one Condition "m_pString" doesn't take the line in the File?
Why it Happen? Any body know Please give me Reply....
|
|
|
|
|
John502 wrote: At What Conditions,
CStudioFile::ReadString() Gives/Returns the FALSE value
According to the documentation:
Return Value
A pointer to the buffer containing the text data. NULL if end-of-file was reached without reading any data; or if boolean, FALSE if end-of-file was reached without reading any data.
John502 wrote: In a File Consists the Lines In one Condition "m_pString" doesn't take the line in the File?
Not sure what that means. Could you re-phrase that question?
Go and never darken my towels again - Groucho Marx
|
|
|
|
|
hello sir,
I know that,(i.e)already in the MSDN ,
AnyBody Know the another Conditions Please,
Tell me.
|
|
|
|
|
how to compare two frames of any media file in vc++
|
|
|
|
|
what do you mean by "compare" ?
|
|
|
|
|
it depends on how you represent the decoded frames. It can be by BITMAPINFOHEADER like structures..
|
|
|
|
|
Assuming you mean video frames, you could do something like this:
convert both frames to a common format (same number of rows and columns, same pixel format for example RGB15)
pixel by pixel, compare the red, green, blue components and check that they are "close enough"
If a "high enough" percentage of pixels match, the media frames match
This method will fail to return a match for all sorts of reasons, for example, because one frame has been cropped or because one frame has been processed to adjust the contrast, etc.
Really, what you need to do is figure out what tineye www.tineye.com[^] are doing.
|
|
|
|
|
Hi All,
I am trying plot a graph from MFC dialogbox. I have the datas from text file.
How to draw a graph using this in VC++ MFC?
If any there is control available on MFC?
how i can draw the graph?
Regards
M.Mathivanan
|
|
|
|
|
You already asked this question yesterday and I gave you a link to a chart control[^] that developed. Did you look at it ? What's the problem with it ?
|
|
|
|
|
Hi all,
i m using excel automation to write excel file.
everything is working fine but when i insert date and time value in excel sheet it not displayed in proper format.
i m inserting date and time value in this format
"Dec 16, 2010 06:17:00 PM" but it display in this format "16/12/2010 6:17:00 PM" and also if date and column width is small it display only # here.
please tell me how can i insert the date and time value to show in same format in excel file.
thanks in advance.
|
|
|
|
|
You need to set the format for the column to display the time in the way you want, and the width of the column to display all its content. The # string merely indicates that the column is not wide enough for Excel to display its content.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Richard MacCutchan wrote: You need to set the format for the column to display the time in the way you want
please tell me how can i do this?
|
|
|
|
|
Le@rner wrote: please tell me how can i do this?
Check the options for cell properties in the documentation; I suspect that the actual details may vary depending on which version of Excel you are using.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
No how can set it from vc++ code.
|
|
|
|