Type: Posts; User: VladimirF
Search took 0.18 seconds.
June 30th, 2015, 04:50 PM
I've fixed the link, please try it again.
How do you place that line into the second box?
Please note that Visual Studio writes 0xCD bytes into uninitialized memory - could it be that you are...
June 29th, 2015, 09:49 AM
According to https://msdn.microsoft.com/en-us/library/z0z83tcz.aspx
Maximum number of characters that can be copied into lpszBuffer. The second form of GetLine places this value...
June 22nd, 2015, 08:30 AM
1. If you read the whole file into a buffer, why do you write it 200 bytes at a time, in a loop? Couldn't you just write the entire buffer at once?
2. Do you really need to keep entire file in...
June 19th, 2015, 03:13 PM
Is somefunc() going to modify pbInput?
If not - declare the parameter const.
If yes - you can't pass std::string anyway.
June 14th, 2015, 06:02 PM
Please check out my new free tool on MSDN:
I would greatly appreciate any feedback there, on my...
June 11th, 2015, 07:42 AM
it = global_q.erase(it);
might erase the last element, then the loop statement tries to increment it again.
Anyway, the loop is skipping over one element after each erase().
See this for...
June 10th, 2015, 09:33 AM
From all versions of Visual Studio (2008, 2010, 2012) that I have installed, only 2010 has an assert on that line 225:
void CRecentFileList::Add(LPCTSTR lpszPathName, LPCTSTR lpszAppID)
June 10th, 2015, 08:25 AM
1. Is this your exact code? The loop body will not execute even once, as 0xFFFFFFF is greater than 0x40000.
2. Not every byte between 0x40000 and 0xFFFFFFF is mapped into the address space. You...
Wouldn't that hiding of the child window cause another WM_PAINT to the parent (for the uncovered area)?
What are you REALLY trying to achieve?
Please check out my free tools on MSDN:
Isn't CDiaCfg::m_mCfgId2Cfg.m_sCfg a *pointer* to CDiaCfg?
Shouldn't it be
You fill TWO arrays, but use only ONE counter. Is that by design?
That sounds strange...
What is SetParent() for?
Apparently, you accumulate scaled down number (for display purposes?); see:
spec[i] = mic / 100;
I would calculate the total in the first loop, right after reading mic.
How do you create that dialog? Is it modal or modeless?
You can release all allocated memory in the dialog's destructor, or, if you keep a dialog object around (and still need to release...
Mis-aligned pointers on x86
As I understand it, you only need to use these suffixes if the value may get misinterpreted.
Here, the long long value is assigned to long long variable; works for me without the suffix.
Don't know how your code looks now, but this appears to be wrong:
if (ship >= 50)
ship = num *.40;
The next question is: how do you check the value after that assignment?
As Victor noted, "Some code snippet would also help"
HOW do you assign that value to that variable?
P.S. Here is a short demo - can you see the difference?
long long ll_1 = 5000000000;
If you explain why do you need to hack Odesk.exe and what are you trying to achieve, someone may have a better suggestion on how to do that.
The posted call stack shows no evidence of recursion...
What is a "lot of fixed size array"? How many?
This, of course, is true. But we don't know what OP requirements are.
Also, my suggestion will ONLY work (as laserlight noted) if the value 0 works for missing keys. Luckily, that's what lucky...
std::map<int, DWORD> unitColors;
DWORD color = unitColors;
Is it OK if I will answer?
There is only one loop, and there is no unrolling.
bool b = IsPrime(49999991);
00911047 mov ecx,2
0091104C lea esp,[esp]
Click Here to Expand Forum to Full Width