Type: Posts; User: VladimirF
Search took 0.12 seconds; generated 43 minute(s) ago.
What is your Status? Is it a dialog? It is not enough to construct dialog object, you need to create its window.
Could you please clarify: if *ANY* of the files are locked you will not move the other ones too?
In that case you would have to lock the files yourself, or else they might get locked after your...
December 11th, 2013, 12:20 PM
I don't think that this is true, honestly.
The "imprecision" of timers in Windows is about fraction of a second, NOT 1-2 seconds!
I am not familiar with virtual machine timing issues, but aren't...
December 6th, 2013, 04:42 PM
I would like to suggest further improvements.
This and a few more similar fragments may be called "entrapment" :)
If you know the valid range of values, why not to include it in the FIRST prompt?...
December 6th, 2013, 03:48 PM
I have never in my 30+ years in software development seen this original style of curly braces placement!
Also, what would that code do if D is greater than 3.500?
December 6th, 2013, 03:17 PM
I can suggest two ways to handle that.
1. Register for WM_MOUSELEAVE message.
2. Capture the mouse by using SetCapture(); release the capture when mouse leaves your window. Note: you would have to...
December 6th, 2013, 10:02 AM
This code says that its coder didn't know how to use strings in C#.
December 4th, 2013, 11:21 AM
I feel a need to share one of my favorite quotes:
My point is: we are looking for an issue in one piece of code, while the issue is in another...
You mentioned multiple threads. Do more than...
November 29th, 2013, 03:49 PM
This error means that your View class is using your Document class, without including its header in the myView.h (possibly relying that it will get included first in the cpp file that uses it)....
November 29th, 2013, 03:34 PM
I see now scenarios that can cause the timer to fire *EARLIER*. The precision is out of the question since we are talking about 15 seconds. No amount of CPU load can expedite the timer.
Could it be...
November 29th, 2013, 12:47 PM
Really? I just tried googling for "monospace text justification algorithm" and got over 3 million hits!
November 29th, 2013, 12:30 PM
Does it really have to be drawn outside of your main frame window?
November 25th, 2013, 04:09 PM
Curiouser and curiouser! Why do you need to make a copy in the search function? Could you please post the *real* code?
November 25th, 2013, 04:03 PM
I figured that :)
But, since we didn't have the real code, I made an observation on what we did see.
November 25th, 2013, 09:37 AM
"On every function"??? There is only ONE function in your code.
OK, I will help you get started.
// I have copied that code from <...>
November 21st, 2013, 04:39 PM
Not too bad for the first program!
In addition to what 2kaud said, you need to add
using namespace std;for this code to compile.
Makes me wonder - how did you write that much code without...
November 21st, 2013, 04:10 PM
How could polyline be *EXACTLY* a circle?
Anyway, could you please post screenshot to illustrate the issue?
November 21st, 2013, 04:05 PM
Here is your problem: you are setting variable iExisist, while checking iExiist
November 20th, 2013, 04:58 PM
Instead of getting familiar with COM etc., for this task I would take a simple route and implement basic drawing using Win32 GDI.
November 20th, 2013, 04:28 PM
From the beginning, of course! :)
Algorithms + Data Structures = Programs
November 20th, 2013, 04:22 PM
What timer exactly?
How do you use it?
November 11th, 2013, 05:30 PM
What API did you try?
Did you see MoveFile function
October 31st, 2013, 05:34 PM
I would try to create a dump using MiniDumpWriteDump() function at the point you are interested in.
Then you can load this dump as many time as you want and start debugging.
This, of course,...
October 24th, 2013, 11:30 AM
No, it doesn't.
Even after adding a missing ';' after class declaration, I got two warnings:
warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
October 11th, 2013, 05:54 PM
With those mapping modes, your (0,0) point is in the LOWER-LEFT corner of the window, X grows to the right and Y - up.
Click Here to Expand Forum to Full Width