how to debug a dll containing a com object instantiated by a jscript called from a batch file
- From: uvts_cvs@xxxxxxxxx
- Date: 27 Oct 2005 07:38:27 -0700
Hi all,
this is my problem:
I need to debug a dll containing the implementation of a COM
object written in C++, I have the source for that dll.
The COM object is created by a jscript file like the following:
--------------------------------------------------
// test.js
var o = new ActiveXObject("myLib.myObjectProgID");
--------------------------------------------------
the jscript is called from a batch file like the following:
----------------
rem test.cmd
cscript test.js
----------------
I have Microsoft Development Environment 2003 Version 7.1.3088
where I load the solution (.sln) containing the project (.vcproj)
of my dll and I set my breakpoints.
I tryed various
Configuration Properties - Debugging - Command/Command Arguments
combinations like
Command=c:\windows\system32\cmd.exe
Command Arguments=/c test.cmd
or like
Command=c:\windows\system32\cmd.exe /c
Command Arguments=test.cmd
but starting the debugger has no effect and my breakpoints aren't hit.
Any suggestion?
Please apologize me if this is not the right ng for my question and in
that
case please suggest me the more suitable.
thanks in advance.
Best regards,
Alessandro.
.
- Follow-Ups:
- Prev by Date: Re: How can I get the minimum time unit in vc?
- Next by Date: Re: how to debug a dll containing a com object instantiated by a jscript called from a batch file
- Previous by thread: How can I get the minimum time unit in vc?
- Next by thread: Re: how to debug a dll containing a com object instantiated by a jscript called from a batch file
- Index(es):
Relevant Pages
|
Loading