Home > Archive > Visual Studio > November 2005 > How to configure project settings via automation in VC++ v6.0?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to configure project settings via automation in VC++ v6.0?
|
|
| Alex Blekhman 2005-11-03, 7:01 pm |
| Hello,
I want to configure project settings programmatically for
MSVC++ v6.0 project. Particularly, I'm interested to set:
Project -> Settings -> Debug tab, "General" Category
- Executable for debug session
- Program arguments
Project -> Settings -> Debug tab, "Additional DLLs" Category
- <path to several DLLs>
I'm reading "Automating Tasks in Visual C++" section in MSDN
(http://msdn.microsoft.com/library/e....automation.asp).
However, there is no possibility to manage debug settings
for a project via supplied automation objects.
How can I achieve this? C++ solution will be OK, too.
Thanks in advance
Alex
| |
| Anna-Jayne Metcalfe 2005-11-11, 3:59 am |
| Unfortunately VC6 provides no way to do this....its automation model is poor
at best.
Your best best is to parse and modify the .dsp files directly.
--
Kind Regards,
Anna-Jayne Metcalfe
Software/Product Development Consultant,
Riverblade Limited.
http://www.riverblade.co.uk
"Alex Blekhman" <tkfx.N05P4M@yahoo.com> wrote in message
news:dkdha6$qc$1@news.sap-ag.de...
> Hello,
>
> I want to configure project settings programmatically for MSVC++ v6.0
> project. Particularly, I'm interested to set:
>
> Project -> Settings -> Debug tab, "General" Category
> - Executable for debug session
> - Program arguments
>
> Project -> Settings -> Debug tab, "Additional DLLs" Category
> - <path to several DLLs>
>
> I'm reading "Automating Tasks in Visual C++" section in MSDN
> (http://msdn.microsoft.com/library/e....automation.asp).
> However, there is no possibility to manage debug settings for a project
> via supplied automation objects.
>
> How can I achieve this? C++ solution will be OK, too.
| |
| Alex Blekhman 2005-11-13, 6:59 pm |
| Anna-Jayne Metcalfe wrote:
> Unfortunately VC6 provides no way to do this....its
> automation model is poor at best.
Yes, I found that already.
> Your best best is to parse and modify the .dsp files
> directly.
Actually, what I'm interested in is placed in .OPT file. OPT
file is binary, so I cannot parse it easily. Currently I'm
forsed to use WshShell.SendKey to manage MSDEV IDE.
|
|
|
|
|