|
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.
Thanks!
|
|
|
|
|
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!
Cheers Vaclav
|
|
|
|
|
i typically see that when the breakpoint was set in a module which wasn't built in debug mode (or didn't have debug info)
|
|
|
|
|
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.
Vaclav
|
|
|
|
|
Hi,
i have built a treeview with and a listview (like in the win explorer) and both work fine!
But now i wnt to add a grey label "caption" to the tree control with the text "Folder == Ordner"
http://filehosting.at/images/download.php?file=a77fcc05927371dd5003f214a4cde43c
like in the WinExplorer but i can't manage it ;(
Could somebody explain me how to do this?
Many thanx for your help
Best regards
CrocodileBuck
P.S.: When you click the link above it won't work, but when you copy it in your browser it will work fine, i don't know why ! 
|
|
|
|
|
|
What is the difference between messages starting with WM_ and NM_ ?
Why there are two set of messages for the single (right click)event like:
1. WM_RBUTTONUP
2. WM_NOTIFY NM_RCLICK
Are they completely different?
Regards,
Suman
--
"Programming is an art that fights back!"
|
|
|
|
|
NM is for Notification Messages sent from Window controls to their parent window, where as WM are Windows Messages.
|
|
|
|
|
Dan wrote: 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
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
Does anyone have any good ideas how to identifiy which CD is in the drive?
I'd like to do this without reading too much of the drive, i.e. should be fast!
I am using GetVolumeInformation to identify drives. Drives usually have a serial numbers, but many CD's do not.
When the CD or other volume is online, I'd like to gather identifying information about the device -- something unique -- like a serial number.
And later, would like to check if the device at that drive is the same one as I identified before.
This way I can tell whether the volume I thought was there -- is still there.
Any clues for me on how to proceed?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</a>
|
|
|
|
|
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.
-Saurabh
|
|
|
|
|
Sample code would be great, thanks very much.
|
|
|
|
|
You don't do anything special.
You expose method with parameters like you would for any ActiveX COM interface.
The user will usually have a script section in the html that instantiates your control, calls the methods, and passes in whatever parameters needed.
Now there is the issue of whether your ActiveX control is "safe for scripting" since you are subject to browser security etc...
|
|
|
|
|
hi
is it possible to compile c code to Visual C++.Net dll ?
and how can we do it in case it is possible !
Thanks
|
|
|
|
|
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
|
|
|
|
|
I don't think you can compile C code using the /clr
compiler option.
You can create a C++/CLI project and include C files in it,
but only C++ code will be compilable managed (the C++ code can
call C code).
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
|
Interesting link - I wish I would have read that 6 years ago
Cheers,
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
If you try to compile c code for make a c++.net dll you will be get some errors I think you need to change some things on your code.
|
|
|
|
|
Using Visual C++ 6.0 MFC in SDI application
When my window gets redrawn, I want to display a message using
pDC->TextOut(...)
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?
Thanks
|
|
|
|
|
Have you tried Invalidate () ???
Regards.
--------
M.D.V.
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.
|
|
|
|
|
Using Visual C++ 6.0 MFC in SDI application
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?
Thanks
|
|
|
|
|
Instead of single & , put && . For Instance for getting string like this - "B&utton" put "B&&utton" as caption.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
|