My, point, although subtle, was to ensure that the values you are passing to that function are valid. Some functions/libraries place the onus of validation solely on the caller (rather than handle the bad input and fail gracefully)
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
Somewhere the program is trying to allocate a very large amount of memory. This is, I think, the cause of your problem. I haven't used this library/package, but I'm basing my conclusion on the error mesage you posted (see my last reply).
What I suggest is that you use a debugging tool to step through the program until it generates that error, and take a close look at exactly what is happening at that point. Or post here exactly which line is causing the problem.
There are three kinds of people in the world - those who can count and those who can't...
1. Be organized classes and write the application to allow load and display all kinds of image files with the extensions in the following categories. Jpg,. Bmp,. Dib,. Gif. Programs that change the image as horizontal turn, vertical (mirror), dial 900, the gray level to get the sound, get the wrong picture of the two special functions and stored into different (but still one of the significantly above).
Requirements: The thought by the audience. Can be programmed in the Windows environment. Do not use static function as eg in the theory, does not switch, in the case.
2. An "input directory" is a folder or a file, a directory of many "input folder". Drive is a special case of the directory. Be organized classes to perform concept computer, disk drive, folder, file with the relationship as over. Write the application for permission to view the content of the object type as similar functions of the software Tree NC.
3. For the types: circle, ellipse image, the polygon, crescent,'s wings, rhombus, parallelogram, trapezium, rectangle, square, triangle, triangle square, square triangle needed. Write a program that allows applications to create (or enter) the two pictures in one of the above. Notice in two pictures that are not intersecting, if any color to the bowl and the dark sea of the interface. The user can press the arrow keys to move one of two pictures, the +, - to zoom out one of the two pictures. Programs can work with all kinds of equipment in different graphics modes, text mode (each a '*' is a moral pixels). Program can zoom to pixel morally, from the graphics mode to text or vice versa, users do not see the object to be exhaustive or bé tí hon.
4. A road of many road Polyline (line), each line can be a straight section (Strait line), and (ARC), or a bezier polyline. Organization of classes necessary, establish the relationship between class and write a program that allows to create polyline, create a copy of the polyline, zoom in, zoom out, turn polyline, polyline separation (separation of the polyline in the a polyline into the road (line, arc, bezier), define two functions have polyline cross or not?
It's still hard? For 2 days? You should really do something to remedy this. Go grab some tissues, lock yourself into a quiet room and go nuts. Afterwards it will be much easier to concentrate on the programming problem and solve it in no time!
I have a problem and will be very appreciated if somebody can help me with it.
We have software which run 3rd party tools and read response from StdOut.
How this implemented:
Main software create 2 pipes
Then create process for 3rd party tool and assign these pipes
Then read all data what send to StdOut of created process
And that very good works on Win95-WinXP.
But not under Vista.
Under Vista I cannot read any data from *.com files (old DOS format files).
Anybody know what can be reason?
Does Vista have some restriction for this files?
Any security issues?
Under WinXP any problem, all works very good with *.com and *.exe.
Also when I run in command line:
C:\Temp\>cc51.com > res.txt
res.txt is empty.
(cc51.com is the tool what we run in created process).
As you see i started new command line in Windows Vista and run cc51.com.
It runs and return usage info.
Any other messages/warnings.
So it works.
This is compiler for C programs. I also can compile files under Vista with it.
So it works well.
Please note, I have Vista 32bit, not 64bit.