|
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<
|
|
|
|
|
Ah... no. That's not what I meant.
My point was that customers like to make 'requirements' like "use the Tahoma font, 10 point for this dialog" when, really, all they want is a decently readable font.
The person who specified this probably had an application designed before and that application used this particular font; he liked it and now he wants it for the new application as well. What he didn't consider however that the new app is for a mobile, not his laptop, and the font might not even be available, or the font doesn't read very well at 10 pt on a small screen.
Also, different parts of an application are often specified by different persons, so other parts may have the requirement to use an entirely different font (with the same ramifications).
In this case it might be best to not just make an assumptions but go back to the customer and clarify what his specification really translates to in terms of readability and usability. Those would be the real requirements then. It won't do to just change the requirements arbitrarily to 'Arial 12' instead, because then the customer will likely notice the deviation from the spec and complain, no matter whether or not that change made sense.
|
|
|
|
|
Maybe i am not expressing myself correctly. Of course i do not mean to just ignore/rewrite the requirements or specifications as it fits the developpers, that can and will lead to arguments and possibly, legal problems. What i meant is basicly the same what you said, go back to the customer and explain why a certain requirement makes no sense, is obsolete, not worth the time it would consume to make (if you are able to determine that), and so on...and if you are lucky, the customer will understand and you can work out a solution that makes everyone happy. But then again, sometimes you are not lucky and the customer will either insist on his wish, or keep coming back with it over and over again altrough you already spoke about the problems. We had this later one, the same problematic wish we already talked over with him and -seemd to- have persuaded him would come up for years.
> 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<
|
|
|
|
|
Thanks, I want the same thing Can you send me the link to do so....
|
|
|
|
|
I don't have any links for this, sorry, but your google is as good as mine.
> 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<
|
|
|
|