Hey all, was hoping you could help me with a little info here.
There's this application we use that's around 10+ years old, and I'm pretty sure it was written in C++.
There are some data files it uses with an extension of ".md" and a fileheader of "MDB2"
I was wondering if anyone's come across a database or file type like this in the past. My reasoning is, the source for the app has been lost for some time, but that's ok, the app itself runs decent enough, but we'd really like to update the data in these files if possible.
The powers that be are hoping it's a known format, but I've tried just about everything I could think of to access them.
Does anybody knows why VC6.0 decided to give me this error message everytime I set breakpoint?
I am about to go thru "standard VC6.0 recovery" - delete /debug , *.clw,
*.aps. Hope it works!
I don't think this was my case. I have been compiling and debugging just fine when it just started happening.
Then it went away! I suspect it may have something to do with running a timer because it give me this error when I was setting the breakpoints in OnTimer function / method. It started working again, but I had other problems when keeping the timer running during debugging so I immediately killed it in OnTimer. When I have a break I’ll try to make it happen again.
Thanks for you help.
NM is for Notification Messages sent from Window controls to their parent window, where as WM are Windows Messages.
thats the classic difference
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
You can try computing HD5 hash of 4-5 files in the CD and also store their path. Then everytime a CD is inserted you check if files you checked last time are present on CD and if their MD5 hases are identical. You may also compute a single unique number by combining file names and file data information. So that comparison is easy.
Its actually very simple, you just use the /clr compiler switch, and the NET Framework compiler will compile the application as managed code.
This probably isn't a good idea, though, for various reasons.
Read this over at MSDN: /clr Restrictions[^]
You should probably start here: How To Migrate to /clr[^]
And, Native and .NET Interoperability[^] provides an overview of the subject
When my window gets redrawn, I want to display a message using
but I want a different message (of different length) displayed depending on the circumstances when the window gets redrawn. I do not understand how to erase the old message unless I keep a copy of the old text and rewrite it with the background color. If I just try to write a long text string with all blanks such as tstr = " " to erase the old message before I display the new message I have to make the text string extremely long as the character size for a space seems to be different then the character size for letters. Should I just display a rectangle of an appropriate size in the background color to erase my old text, or is there a better method of erasing this old text each time the window gets redrawn?
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.
I would like to put the & symbol in a dialog window to save some space instead of using the word "and", but the compiler recognizes the & symbol as a special character to associate the next letter as a command key. How do I just get the symbol with no special operation associated with it into the dialog window?