Hi,
Just tried to compile my code, got the following
"Error spawning rc.exe"
Why is this??
What can i do to make my code compile!??
Many thanks for any help,
p
Hi,
Just tried to compile my code, got the following
"Error spawning rc.exe"
Why is this??
What can i do to make my code compile!??
Many thanks for any help,
p
any help pleasse???
Struggling here :-(
using win nt 4.0, not sure what compiler but using MS visual c++
have rc.exe in
C:\Program Files\Microsoft Visual Studio\common\msdev98\Bin\rc.exe
and
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\Rc.exe
cant see it in path line.
It compiles other files but strugles with a resource file for a gui.
--------
Compiling resources...
Error spawning rc.exe
dialgc_test.res - 1 error(s), 0 warning(s)
---------
ive been messing about with DDK's & SDK's so that might have changed something!!???
Ive had this problem occur a few times, it happens for a few different reasons, your system is low on resources (normally if your program doesnt free them and you continue to run and close run and close it), or your program did something it shouldnt have (overwritten system memory by writing an array out of bounds). The problem is normally fixed just by restarting your system.
"only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein
hi,
Thanks for the help but ive restarted my system many times since and still no joy. :-(
Would re-installing MS C++ Studio help?
thanks
Hi,
Right, ive re-installed VC++. still didnt work. All tho the re-install did put the rc.exe in the path.
So, as i mentioned breifly before i installed DDK & SDK. i uninstalled SDK and now it is working! It compiles! I think the SDK placed some settings in the environment that might have messed things up.
Just thought id let you lot know.
Cheers,
NOTE: Necro-ing this thread as is first in Google search, and I suspect more people will be looking for an answer....sorry!
I had this issue with AVG virus scanner (free version). Latest virus definition file reports a false positive on rc.exe.
Detected a 'ldpinch' in rc.exe. Even the rc.exe on the original MSVC 2003 install DVD (older than the trojan) detects as being infected.
I had to uninstall AVG to fix as I had already quaranteened the files.
Disabling houristic scanning 'may' solve the issue.
The forums for AVG are no help as the moderators close any threads on false positives (the number of closed threads, original DVD also detecting as ldpinch both imply it is a false positive)
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
I had this problem also with VC++ 2003 on an XP SP2 machine.
I too am running AVG. I got it to work again by going in the virus vault, and restoring the two "infected" files named rc.exe.
I'm using AVG 7.5 internet security.
After doing that, compilation worked correctly.
--Ted.
Déjà vu . . . http://cboard.cprogramming.com/showthread.php?t=96890
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
Using VS2008 and Windows SDKs
I solve the problem by copying the C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin (with all the sdks files including rc.exe) content into the C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin (empty)
i think it messed up SDKs versions.
From Argentina
Bikini Bandit