473,395 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Execution of batch file from VC++(IDE)

KRK
I am having one batch file and using this I can start my Server. It will execute all exes while starting. Now my question is how to debug my exe using this batch file?? Is it possible to execute this batch file from my prject debug session....
Nov 17 '05 #1
3 2309
"KRK" <an*******@discussions.microsoft.com> wrote in message
news:D8**********************************@microsof t.com...
I am having one batch file and using this I can start my Server.
It will execute all exes while starting. Now my question is how to
debug my exe using this batch file?? Is it possible to execute
this batch file from my prject debug session....


From the menu select Project->Properties->Debugging.

Then enter the name of the batch file in the command box and any parameters
in the box below.

Regards,
Will
Nov 17 '05 #2
Actually I was trying to do the very same thing today, ie: debug an exe
launched by a batch file. The page entitled "launching the debugger
automatically" in the vs.net help was more helpful for me.

It suggests getting creative with the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image
File Execution Options

William DePalo [MVP VC++] wrote:
"KRK" <an*******@discussions.microsoft.com> wrote in message
news:D8**********************************@microsof t.com...
I am having one batch file and using this I can start my Server.
It will execute all exes while starting. Now my question is how to
debug my exe using this batch file?? Is it possible to execute
this batch file from my prject debug session....

From the menu select Project->Properties->Debugging.

Then enter the name of the batch file in the command box and any parameters
in the box below.

Regards,
Will

Nov 17 '05 #3
"doug mansell" <do**********@hotmail.com> wrote in message
news:eO**************@TK2MSFTNGP11.phx.gbl...
It suggests getting creative with the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image
File Execution Options


Right. That launches the debugger and the debuggee at the same time. In
addition there is the possibility to instrument the source with a call to
DebugBreak() which causes the debugger to attach at runtime.

Regards,
Will
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Murali | last post by:
I have a project in Unix which uses the make utility. I want to change the environment to VC++. Are there any tools which would help me in creating VC++ workspaces from my make files and the source...
4
by: Koffi Annan | last post by:
Hi, what is the best C++ IDE for windows,preferably free. something which has lot of extra features compared to microsoft VC++ IDE. -Friend
4
by: fang | last post by:
Hi, anybody who can help, I am using Visual Studio 6.0. When I build my project I do not want to the .html log file for buliding to the same directory of my project file. How can I change my...
0
by: ashucl | last post by:
If you wan't to define the definitions of the member functions out side the class you do : class name::function name() { } in Visual Studio IDE it gives a list of all the functions in the...
15
by: Ramaraj M Bijur | last post by:
Hi All, Could anyone help me to resolve following problem in C the IDE used is Microsoft VC++, Please let me know the which option in VC++ will do the needful The problem statement:...
0
by: Vijay Chegu | last post by:
Hi I am using vc++ .net 2003 ide with Feb 2003 platform sdk to build 64bit application. I want to use vc++ to debug the app on 64bit machine. As we do not have 64bit VC++, I would like to...
1
by: praveeninvalyd | last post by:
I have Installed the microsoft visual c++ ,but I dont know How to work with that IDE so ,plz send me the tutorial of it .....thnks
0
by: sandy123 | last post by:
Hi there, I am looking for a tutorial/user guide for MS VC++ 6 IDE (which is a part of the MS Visual Studio 6). - The tutorial should explain the use of VC++ IDE. - It should explain all the...
2
by: Daniel | last post by:
What does a green border on the left mean in code window of the VC++ IDE? Daniel
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.