Re: Error spawning 'cl.exe'
From: Chris R. Timmons (crtimmons_at_X_NOSPAM_Xcrtimmonsinc.com)
Date: 11/04/04
- Next message: Mike Labosh: "Phrasing of overloaded constructors"
- Previous message: Jay B. Harlow [MVP - Outlook]: "Re: Time Comparison"
- In reply to: GeRmIc: "Re: Error spawning 'cl.exe'"
- Next in thread: GeRmIc: "Re: Error spawning 'cl.exe'"
- Reply: GeRmIc: "Re: Error spawning 'cl.exe'"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 04 Nov 2004 15:19:34 -0800
=?Utf-8?B?R2VSbUlj?= <GeRmIc@discussions.microsoft.com> wrote in
news:47AB3D26-869D-454E-9EC6-B84B4B88833F@microsoft.com:
> Hi Chris,
>
> How do i check if my code has the permission to execute cl.exe?
>
> I am doing all these through the Visual Studio 2003 IDE. Cl.exe
> is in the classpath and the path in the Environment Variables.
I'm not clear on exactly how you are running cl.exe. Is it being
done from C# code, or from the Visual Studio IDE?
Can you run cl.exe from the command line? If so, it probably isn't a
permissions problem.
Instead of relying on the environment path to find cl.exe, try using
the full path to cl.exe when spawning it.
-- Hope this helps. Chris. ------------- C.R. Timmons Consulting, Inc. http://www.crtimmonsinc.com/
- Next message: Mike Labosh: "Phrasing of overloaded constructors"
- Previous message: Jay B. Harlow [MVP - Outlook]: "Re: Time Comparison"
- In reply to: GeRmIc: "Re: Error spawning 'cl.exe'"
- Next in thread: GeRmIc: "Re: Error spawning 'cl.exe'"
- Reply: GeRmIc: "Re: Error spawning 'cl.exe'"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|