I don't know if this is on the right board or not...
I have no idea what could be wrong..
I'm using Visual C++ 6.0. When I compile my project, then execute
it (Ctrl +F5), everything works fine. The program does what it's
suppose to do.
But when I execute the program from outside of VC++ (by just
clicking on the .exe), it appears to hang. Like it's getting stuck
in a loop or something.
I have a function in my Bitmapclass called "DrawtoBuffer()." If I
comment-out this line, the program works (when I click on the
.exe).
But, I don't think anything is wong with my function. I mean, it
works correctly when I execute from inside VC++ (ctrl +f5)... I'm
confused. Why would it work when I launch it one way, but not
another?
Here's my function, but I don't know if the problem is in here. You
know, what with it working sometimes...
Code:void cBITMAP::DrawToBuffer(cXYCOORD Position, cBUFFER &buffer) { //Edited out. Embarassed by my code. It didn't have anything to //do with my problem, anway. :)