Type: Posts; User: zerver
Search took 0.09 seconds.
This is a known issue. If "rebuild all" does not help you are likely suffering from the effects of the system picking up the wrong cvtres.exe, maybe from an earlier installation of the .NET...
Amey, I don't have much more to say, but the trend is (maybe) that more and more of the software that is being used by companies in-house (i.e. the software that is never released publicly) is based...
Those who claim there is no software being developed in VC++ are dead wrong.
Although the managed languages are more modern, professional software devs have been reluctant to use them for a few...
You could start by checking that all variables are assigned a valid value.
It is because you are reading an element which is after the last element of your array, and therefore undefined.
Programming isn't magic, and if you learn to use a debugger you won't have to ask...
December 9th, 2013, 09:02 AM
Take a look at the line above. How do you think you would add a firstName ?
December 9th, 2013, 08:53 AM
December 4th, 2013, 03:47 AM
Do you understand what a pointer is? Do you understand what a double or triple pointer is?
Explain why the following will crash, and if you can do that we may be able to help:
December 4th, 2013, 03:35 AM
void roll(); means a function declaration. To call the actual function, you should just use roll();
The void roll(); typically belongs in your header file, it is called a forward declaration, and...
December 3rd, 2013, 05:19 AM
The same issue can arise if you programmatically terminate a process that has open files. It takes a while for the OS to clean up the mess and release the file handles, so a retry loop will be needed.
December 3rd, 2013, 04:44 AM
If you do it inside the document area only, the method I suggested should work reliably:
1. Each time the document repaints itself, draw a cross at the current mouse position.
2. Each time the...
November 29th, 2013, 10:21 AM
You can do it, but it will be a bit tricky. What I would do is to draw directly onto the desktop, which is obtainable by GetDC(NULL).
You draw two lines corresponding to the crosshair using XOR...
June 14th, 2013, 07:50 PM
Thanks for the replies. I was getting incorrect results because my threads load the CPU in bursts, e.g. 2ms of work and 10ms of sleep, and GetThreadTimes only has a resolution of 15ms.
June 13th, 2013, 12:46 PM
Not wrong I guess, I'm only looking for a different function.
A function that takes the timeslices used by the scheduler into account - so that the value returned will be lower if many threads are...
June 13th, 2013, 11:48 AM
Well, this problem is not only hyperthreading related. The issue is that GetThreadTimes returns the time the thread wanted to run, not the time when it was actually allowed to run by the scheduler...
June 13th, 2013, 07:34 AM
I'm looking for a function like GetThreadTimes, but one that gives correct results in a hyperthreading CPU.
For instance, if you start 2 threads on a CPU with 1 physical core and 2 logical...
October 11th, 2012, 09:10 AM
Never used this specific UIProgressDialog, but I am guessing you have to manually pump the messages through when you have the parent specified. In this case you need to call a function like the one...
October 11th, 2012, 08:48 AM
I replied in your other thread, basically you should not change any selection or focus in the handler code for LVN_ITEMCHANGING. Instead use SetTimer() to make the changes after the handler has...
October 11th, 2012, 06:52 AM
Does this help?
October 5th, 2012, 08:20 AM
If you don't understand the documentation, your best bet is probably to google for the function name and find code examples of how someone else used it. For example:
March 18th, 2009, 07:47 AM
You can use EnumChildWindows or maybe EnumThreadWindows to detect the messagebox appearing and send a WM_COMMAND IDOK message to it...
March 18th, 2009, 07:40 AM
GetDC(NULL); // this DC will draw to the entire screen
CPaintDC(this); // this == a CWnd derived class
March 18th, 2009, 06:50 AM
It seems you have a function pointer.
uint4 protoID = (as->*getProtoID)();
March 18th, 2009, 06:46 AM
The easy way out of "dll hell" would be to link statically with MFC.
You can find the setting in your project options.
March 18th, 2009, 06:42 AM
Click Here to Expand Forum to Full Width