Wow, that works even better. Thanks a lot. There were 400+ occurrences in one file alone, I had seriously underestimated the number of occurrences and the manual work it would have taken. There are...
Anyway, I got an idea, I might use GetPosition and check if it is anywhere near the end of the file, if not just call ReadString again in a while loop. I'll first try that.
Somehow the lines with "design info" or whatever of a whole bunch of dialogs I have, were what caused the problems. Those lines don't seem necessary at first sight so I just threw them out....
You are correct that I made manual changes in the original project. However, back then in VC++ 6.0 this was never a problem and always loaded correctly. I cannot undo that now however. I did find the...
No idea how to solve it. Found an online suggestion of using an rc2 file and cut and paste stuff from .rc file to .rc2 file to see which line causes the problem but don't know how to create a blank...
Crap, it looks like I already solved this problem nine years ago too. It's just now that I am expanding my old program with new view classes that I am having this problem again and forgot I had the...
CEdit box is located in TVisualFormView where also an MSFlexgrid control is located. I can not enter particular letters like "t", "n" and "y", possibly even more. I can enter them in edit boxes...
I know things can be done better. That's why I'm asking help here, I'm not a programmer by education, but I need something that does the job. I managed to concoct something myself using related...
Ofcourse not, but I know some values in all 4 corners. Anyway, I managed to solve it myself looking at some related code on the net. For posterity reasons:
As test I use a 256 color bitmap that has a grayscale palette. I change some pixels in all four corners to various grayscales but always get zero no matter what.
I need to read in an 8 bit grayscale bmp and I want the value of its pixels stored in an array (can do that myself). I can't seem to get the value between 0 and 255, I always get zero with...
Hi, I'm trying to convert a project and build it, but this is in the BuildLog, which I don't understand? Any idea what's wrong? Visual C++ 2008 is further not running from my computer but through a...
Sorry I didn't reply sooner but on the 20th I had to go to Uganda to bury my father in law and I'm only recently back. So if I get it straight I could post a message to the document...
I'm trying to figure out how to use CCriticalSection. I have a worker thread using AfxBeginThread that continuously adds values to a CArray in one of my classes: