if I use backspace and delete keys to edit code in VC6, VC6 shutdowns at once (without asking for saving file), so I can't work now.
I test other edit programs, such as word, notepad and this forum, all are fine.
do you know why?
I got solution and post here for others.
some h and cpp files are edited by another editor, they look good in VC6, but actually have different format - I think it is \r\n, when VC tries to save the file after modification, VC crashes.
I use notepad modified related h and cpp files, now my project is fine.
Other than the usual "real programmers never use the delete and backspace keys" answer , have a look at the .suo file (heck that probably did not even exists for VC6 !) or maybe the keyboard settings/preferences.
Do it crap out with other projects or just that one ? i.e. create a new project from scratch and see if you can edit the files.
Or maybe your VC6 is telling you it wants to retire and urge you (and/or your organization) to upgrade to a more recent IDE.
1.A Visual Studio 2008 solution with many projects in it. One of them builds a dll while the others build exe's that use it.
2.I need to add my own project to this solution to make an exe which uses the dll. So I create a new project in the solution and copy the configurations from the other projects(which are for all intents and purposes identical). Then, basing my code off one of the other projects, I write a simple program using the dll's functions.
3.When I try to build the solution, or my own project, the compiler suddenly finds errors in the dll project!(which built fine previously,along with every other project in the solution.They still do,too, only mine reports a ton of errors) Specifically, it finds errors in the two header files I include. The errors are too numerous to mention here (263 of them,of all kinds of types)
I'm stumped, any idea whatsoever what could cause this? Why would the build of the dll project fail only when I build my newly added project and not when building the identical older projects?
I realize it might be a bit vague but if you need more info to help, just say so!
I'd like to check the terminal at position (y,x) and see if there is any char over there? Any hints pls?
I tried to play around with mvgetch(y,x), but it didn't solve my problem. Anything else?
If the handle is to a GDI object then you can use the GetObjectType Function[^] to retrieve the type. If the handle is to a kernel object such as process, thread, Mutex ect... then you can use the NtQueryObject Function[^] with ObjectTypeInformation information class.