|
I was being sarcastic..
--
Futue te et ipsum caballum.
|
|
|
|
|
watch ur words, there are ppl out there.
I'll write a suicide note on a hundred dollar bill - Dire Straits
|
|
|
|
|
Yes I just realize the Visual Studio have Hex Editor control when open a file as binary. But where we can find the control. I have search inside .NET control, MSDN, still cannot find the control. I think it same like PropertyGrid that give by .NET. Anyone know where to find the control?
Thanks....
|
|
|
|
|
The other day I opened an ISO CD image file in frhed. The file was over 400mb in size . Windows didn't take it very well and I lost pretty much all control over my PC, although I was eventually able to get it to shut down. Wasn't pretty though.
Obviously this isn't so much the fault of frhed, but my own idiocy and lack of foresight.
I was wondering, though, can you set frhed to warn you when you're about to open a ridiculously large file? If not I think it would be a really useful feature.
|
|
|
|
|
If you read carefully on the home page of raina you'll find this code is 'gpl-ed' and if you use it you'll have to gpl your code as well !!!
|
|
|
|
|
Yes, how terrible it is to share code by returning your improvements to the community. Good thing nobody started an operating system like that, or you'd really be mad.
Oh wait...
|
|
|
|
|
GPL is not a terrible thing, but has limitations in a capitalistic system when people NEED to get paid for their work, have trade secrets embeded in the code or simply don't want share source that they have worked hard to create. GPL is not a panacea. Niether is closed code.
Small components that take a weekend to create are a great thing to give out for free, or bigger ones that people would like to share if they do not want to support it, but for those people that want to use others snippits in a commercial endeavour, putting GPL limitations on those components are frustrating for those who want to re-use that code in a different licensing agreement.
|
|
|
|
|
That's why LGPL is the way to go for open source.
|
|
|
|
|
You should thank him for this nice program instead of crying for the license.
You need to GPL your program only in case you want to copy the sources and giving that it is a fair trade.
|
|
|
|
|
Since this hex editor can somehow be used as a standalone tool, it makes sense to GPL it. Since GPL is a viral license which requires you GPL your own code if it uses other people's GPL code, I believe it makes sense to GPL 'tools' but not 'components'. Also you can always contact the author to buy a non-GPL licensed version if you realy liked his/her code and want to embed it in your project as it is done by MySQL company.
|
|
|
|
|
Why did a dialog box come up saying "BOO" at me? I have used an advanced task manager, and am 99 percent certain that it came from frhed.
|
|
|
|
|
it's a feature of frhed, it has a really low probability of coming up. It's to keep you on your toes. I like it.
|
|
|
|
|
It's sort of an easter egg if you click on a certain part of the status bar.
case -1:
{
//The user clicked the status bar outside the rects
//May want to add something useful here later
//An easter egg will do for now
int tmp = (IDYES==MessageBox(hwnd, "BOO",
"Scared ya, di'n' I, huh, huh?",
MB_ICONQUESTION|MB_YESNO));
MessageBox(hwnd, tmp?"Wwwwooooohhhhoooo!!! " :
"Aww damn. ;-("," ",MB_ICONEXCLAMATION|MB_OK);
break;
}
|
|
|
|
|
is it possible to set word, dword instead of only byte?
|
|
|
|
|
Hi,
frhed is a great tool. I was attracted by the possibility to compare files. Unfortunately, comparison is not visual. Would be great if it was. Also adding a toolbar might be cool.
Maybe I will spend some time contributing to it...
Thanks,
Simon Cadieux
|
|
|
|
|
Thanks very much for this, it's just what I was after. Looking around in the code there is a lot I can learn from this. 5/5
Dylan
"In meetings, the person who is least competent usually does the most talking. Talking is a direct substitute for competence, at least in the minds of other people. Five minutes after you leave a meeting, you won't remember what anyone said but you will remember who did most of the talking. Withing a day your mind will translate that into a notion that the talker was unusually knowledgeable" - Scott Adams, Dilbert and the way of the weasel
|
|
|
|
|
When I look at the code I want to throw up. What you can learn from the code is a lot of things that you should NOT do. For example, global variables have run rampant. Another example - a source code module of 429K. Unbelievable.
Don't get me wrong, it is a useful program and I use it myself. I just consider it to be an example of things to avoid doing.
|
|
|
|
|
Thx for this wonderful proggi. In the SimpleArray class is a definition
of an copy operator wich isn't used in the finally frhed program but
i need this operator and found a little bug.
Here is it, in file simparr.cpp:
template<class T> SimpleArray<T>& SimpleArray<T>::operator=( SimpleArray<T>& spa )
{
...
// Allocate memory.
m_pT = new T[ m_nSize ]; <-- it must be spa.m_nSize because the size of the 'new' array is needed
...
the correct line should be:
m_pT = new T[ spa.m_nSize ];
best regards
|
|
|
|
|
It reported not enough memory when presented with a large file. Why not just load the part that shows, or take advantage of the huge amount of virtual memory under NT?
I know you have a "load part", but I don't know how small a piece I have to give you yet, and don't know where in the file is the thing I'm searching for.
So I'll keep shopping
|
|
|
|
|
Have you tried "File->Open partially"? With this you can open a "window" of a certain size and offset in the file, which you can edit. Choosing "Save" will write back this window to the same position.
How large was the file you tried to open? A friend of mine could open files of ca. 100 MB without much hassle.
|
|
|
|
|
Excellent program, well done.
Have found a minor bug on my machine:
From Options/View Settings
Change the ‘Display length of offset…’ to be 26 (I was trying to see what this feature did).
Not only does this corrupt the offset value, but also you can’t change it back!
You are stuck with the offset of 26. The only way out of this was to use regedit and change the key value manually.
Keep up the good work.
|
|
|
|
|
Yes, I was told about that one before, but forgot to fix it.
Thanks for reminding me.
|
|
|
|
|
Any thoughts on how I could this hex editor in a MDI Doc/View project? I am trying to find a light weight control that I could use to display a hex file (no editing necessary).
Thanks for the great editor
|
|
|
|
|
I've already tried to convert frhed into an MFC app; it's possible, if you use the output/resizing functions and translate all the calls to MFC methods. But I'm not finished yet (maybe later).
|
|
|
|
|