Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VC++ - Cant compile, the file "-.cpp"

Status
Not open for further replies.

KernelObject

Programmer
Jul 25, 2001
65
IN
Hi,
I have a really ridiculous prob; whenever i try to compile,

i get this error "Can't compile the file '-.cpp'; no compile tool is associated with this file extension"

I have subsequently made the file associations for CPP to point to 'msdev.exe' from windows explorer.

trying to write a vxd for file io hooking

thnx in advance,
regards,
srikanth
 
If your using a character (eg -) in the filename, some programs delete these 'unknown' characters. If this happens, the "cpp" might be used as the filename. Hence not compiling.
A solution? Try renaming it from the stupid (no offense) - and create something desciptive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top