|
ForNow wrote: However it would be nice
if the C/C++ source statements will laid
out before the generated assembler code
Such as what the /E and /P compiler switches do?
"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
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
Sorry for delayed response
was observing passover
/P and /E are for pre-processor
|
|
|
|
|
Sorry. I meant /FAs.
"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
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
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.
-- Modified Tuesday, March 30, 2010 5:38 AM
|
|
|
|
|
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.
Watched code never compiles.
|
|
|
|
|
try deleting your .NCB file.
|
|
|
|
|
1. other VC6 projects are fine, problem comes only from this one.
2. there is no .suo file.
3. no help after deleting .ncb file.
how to change keyboard settings for specified project?
any comments?
|
|
|
|
|
includeh10 wrote: ...problem comes only from this one.
Every time or just sporadically.
"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
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
always in 2 projects, but no problem for others.
Cut action of menu also causes project shutting down.
|
|
|
|
|
Hi! I've got the following situation:
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!
|
|
|
|
|
Please do not repost the same question to multiple forums; I have already responded to this here[^].
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Hi I need your help to Genetic Algorithms for Codebook Generation
in Vector Quantization ,I wannna a source code or all thing about to begin programing
|
|
|
|
|
Read here.
"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
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
Hi guys,
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?
Thanks
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Does this [^] help?
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]
|
|
|
|
|
thanks a lot, mate. I am still learning C you know any good sites with some useful functions like those?
also, sorry if my OP was a bit newbie-ish
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Dears,
I have to write a function which has an input parameter type HANDLE.
And inside the function, the handle type is to be distinguished (Whether it is thread handle, event or so...).
Whether any API available for the same?
Regards,
Krishnakumar
|
|
|
|
|
|
No... it helps only to get the flags
|
|
|
|
|
What is the reason that, you need to know the HANDLE type?
Can u mention scenario that pushed u to get the HANDLE type for further checking.
Величие не Бога может быть недооценена.
|
|
|
|
|
Oh... actually i want to enumerate the open handles in a process and show their types (Just as in our process explorer).
|
|
|
|
|
Just have a look with this article [^]
Величие не Бога может быть недооценена.
|
|
|
|
|
Hi,
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.
Best Wishes,
-David Delaune
|
|
|
|
|
Excellent! I learn something new here every day.
I was wondering if it were going to be some esoteric NT... or ZW... function call.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
OK..thanks...let me try...
|
|
|
|