473,796 Members | 2,801 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2330
"KRK" <an*******@disc ussions.microso ft.com> wrote in message
news:D8******** *************** ***********@mic rosoft.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_MACH INE\SOFTWARE\Mi crosoft\Windows NT\CurrentVersi on\Image
File Execution Options

William DePalo [MVP VC++] wrote:
"KRK" <an*******@disc ussions.microso ft.com> wrote in message
news:D8******** *************** ***********@mic rosoft.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**********@h otmail.com> wrote in message
news:eO******** ******@TK2MSFTN GP11.phx.gbl...
It suggests getting creative with the registry key:

HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Windows NT\CurrentVersi on\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
2283
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 code directories.
4
21337
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
1149
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 setting and output this file to other directories? Thanks
0
1466
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 class as soon as you type :: But it does not show the names of the c'tor where as it shows the d'tor name.
15
3340
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: overwrite of charcter in constatnt string like char *str="Hi all"; str='A'; the result of this str points to the string "Hi All"
0
1522
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 know how to configure VC++ IDE to do remote debugging. I can install 64bit windbg and do debugging on the local machin, as
1
1453
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
1404
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 menu options/ functionalities provided as a part of the IDE. - It should also explain about the debugger and other tools that are often used /provided with the VC++ IDE. I am a trainee embedded engineer who has just entered the world of embedded...
2
1101
by: Daniel | last post by:
What does a green border on the left mean in code window of the VC++ IDE? Daniel
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10449
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10168
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.