|
Google[^] is your friend and has a lot of information. And this[^] is a good lecture as well
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
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
|
I use VC 6.
Some classes can not be viewed on Class-View, but header files of those invisible classes are all added to project, which can be found on File-View.
If I slightly modify header files of those invisible classes, they appear on Class-View.
If I reopen the project, those classes are still invisible on Class-View.
How to fix the bug?
|
|
|
|
|
not exactly sure what would cause this specifically, but sometimes you get weird behavior if you don't include files properly and/or don't properly use header guards
|
|
|
|
|
I had this problem too , and I solve it in that way : I edit something in header files ( of class who is hidden in Class View ) , then Ctrl + S and they will show up in Class View .
|
|
|
|
|
Delete your .ncb file (or rename it) - VS6 will re-create it.
|
|
|
|
|
If I remember well, deleting the .clw file makes the trick: the IDE builds a new, correct one (anyway, before trying, please do a backup of the original .clw file).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Close the workspace and Delete *.clw and *.ncb files from your workspace.
After open the project select the classwizard. now it will say class file does not exist and you can select all your *.cpp and *.h files from the list and recreate the clw file.
|
|
|
|
|
Delete VC6 and move on to VC10 everything would be alright.
|
|
|
|
|
hi
i doing project on the hiding the folder in windows OS that should not be visible when click the check show hidden .....
i mean making the folder totally invisible like the folder lock 6.5 will hide ...
i am not getting the idea how they had done ...
help me out from this
thanking you....
|
|
|
|
|
Don't know Folder Lock (any version), but have a look at File System Filder Drivers[^] and File System Filter Driver Tutorial[^], maybe those are pointing at the right direction.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> //TODO: Implement signature here<
|
|
|
|
|
nobody wants an invisible folder on their machine.
|
|
|
|
|
Did you consider storing the backlog in one?
|
|
|
|
|
sorry i did't got it ...
are you asking about the memory map then i stopped doing on that up to reading a single file not for the whole drive ...
now to do the project to hide the file or folder from the user ......
i tried using the CSLID but it just convert the recycle bin icon and many other icon such control panel,N/W like icon and also tried with setting the attrribute of the file and making it to system file.....
|
|
|
|
|
user may want to protect the file or folder which is important to him and to prevent accidental delete
|
|
|
|
|
sarfaraznawaz wrote: user may want to protect the file or folder which is important to him and to prevent accidental delete
Another idea is to work with different user privileges to prevent deletion.
|
|
|
|
|
I am pretty sure you will not find any official documentation on such a technique. Consider the implications: not only will such a folder be impossible to backup with standard tools, it will also be left stranded when the parent folder gets deleted.
More importantly: it would be the perfect hiding ground for viruses, since an antivirus program will not find it! Not saying viruses will look for such folders (they wouldn't find it either), but they may create one just for the purpose to hide in it.
I could think of two approaches, but I suspect for the very reasons I've pointed out above, the OS will likely contain security measures to prevent just that.
Maybe there is another solution to the problem you have? If it's a security issue, then maybe all you need is encrypt the files. Write-protecting them would save them from most methods of unwanted accidental change. A checksum could enable you to verify the integrity of the files. And an explicit backup would enable you to restore the files in case they have been tampered with.
|
|
|
|
|
I am able to get a CRC32 from a text string.
Can I reverse it .i.e can I input a number and get the string from CRC?
|
|
|
|
|
No you can't. CRC's (and hash codes in general) reduce some arbitrary-length input to a fixed-length output; you could calculate a CRC of the entire content of your disk. Do you really think the process is reversible? if it were, you could compress any disk to a 32-bit number, so the need for disks would decrease, and disk manufacturers would go belly up.
PS 1: this wasn't really a C/C++ question.
PS 2: bad subject line, it does not mention any keyword that refers to the question's subject.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Luc Pattyn wrote: you could calculate a CRC of the entire content of your disk. Do you really think the process is reversible?
That's not being very optimistic, now is it?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
|
|
|
|
|
As Luc Pattyn said, you can't. What you could try to do is the brute force method, generate a string, "a", create it's CRC, check if it is the same as your CRC, if not, generate the string "b", check the CRC, and so on, for "aa", "ab"...until you find the correct string. It may or may not find the string correctly in your lifetime. Another way would be to have a huge lookup table with CRCs and the strings that produced them in which you could look up the string by its CRC.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> //TODO: Implement signature here<
|
|
|
|
|
Code-o-mat wrote: > The problem with computers is that they do what you tell them to do and not what you want them to do. <
The problem with software companies is that they implement the applications the users tell them to implement, not the ones they want them to implement.
Something along these lines is what a client once told me
|
|
|
|
|
The sad thing is, i know exactly what you mean. And so do a lot of us in this business...sometimes i wish i had taken up something easier (on the nerves) than software development, like aligator wrestling or somesuch.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> //TODO: Implement signature here<
|
|
|
|
|
Actually I found this statement to be an eye-opener.
It made me realize that requirement analysis is just another word for translating solutions into requirements.
|
|
|
|
|
I think i see your point. IF the software doesn't fit the requirements, you either need to change the software or change the requirements. As preposterous as the later may seem, sometimes it works.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> //TODO: Implement signature here<
|
|
|
|