|
Hi all,
I try to design my own script debugger in the basis of ms windows script
debug interfaces. But i met some problems.
i read one article from MSDN online -- Active Scripting APIs: Add Powerful
Custom Debugging to Your Script-Hosting App.
First, the author said one rule is imperative to reach, that is to execute
your script code one time, then you can set the breakpoints correctly. i
debugged the sample attached and that's right. otherwise, the
IDebugCodeContext pointer is empty and the breakpoint can't be set enabled.
this seems so strange if there are some UI elements or operations in your
code.
Second, How can i debug one script segment of global code? I changed that sample a little so that global code can directly run not by invoking some named function. I found any breakpoint set in some of global code was invalid.
Thanks a lot
alan
|
|
|
|
|
Hi All
I make a fuction that takes a DC
I want to check if the passed DC is Screen compatible DC (not a printer DC for example)
how can this be done ?
|
|
|
|
|
CDC::IsPrinting() should help you...
Robert-Antonio
Love, truth and electric traction must gain victory over hate, lie
and diesel traction.
|
|
|
|
|
Hi,
How to add icon on the toolbar?
Best Regards,
Siew Hoon
|
|
|
|
|
|
Hi,
I had used the AppWizard to create a Single Document with database. How open a existing database using OnFileOpen control?
Best Regards,
Siew Hoon
|
|
|
|
|
Hi Friends,
How to make application that runs as NT\2000 Service?
Is some extra coding needed for that ?
Thanxs a lot.
C.R.Naik
|
|
|
|
|
|
There is an article that you can probably check out.
http://www.codersource.net/win32_nt_service.html
Thanks
|
|
|
|
|
|
Hi .. i have a simple win32 application (window with some grafics) which i want to acces from a MFC aplication, how do u do that ?
I am also looking for a tutorial to make Multiple forms (by clicking a button u get a new window/form).
|
|
|
|
|
what u wanted to do
if u only wnat to launch the applcation then used shelExecute look at msdn
or
if u want communicate with other applcation then used com
|
|
|
|
|
I have looked and looked can some one point to some detailed info about a list of header files to include for C&C++ Windows... ZoodayZ
|
|
|
|
|
Well... According to the application you want to do it may change... It is different for console, for mfc and for win32 api!
Well... I am a beginner ...
|
|
|
|
|
Well I curious about the mfc but ya didnt think about that. Thankyou for the tip.
|
|
|
|
|
A standard MFC app wizard generated app will include the following files,
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#include <afxcmn.h> // MFC support for Windows Common Controls
#include <afxsock.h> // MFC socket extensions
#include <afxdb.h> // ODBC classes
Michael
|
|
|
|
|
Huh interesting so the everyday use stuff. Ok thank you very much... ZoodayZ.
|
|
|
|
|
it gives me a good starting I would like to take a look at each one closely of corse MFC socket is not new but thanks for the names it gives me a head start. ZoodayZ
|
|
|
|
|
What technique would be used to store items in a multi-column CListCtrl?
Would a vector inside a vector work? I need to override the operations of a CListCtrl and store each item added in a seperate array also, instead of just the default builtin storage.
If I have made sense and someone could point me in the right direction I would appreciate it
Thanks
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Why not just an array of structures?
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
Nope won't work, I mean it would work, but it's not the solution I want.
I want the control generic enough that I can add/remove columns. I don't imagine the control itself uses a fixed structure...otherwise how would you support variable columns?
Cheers
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Then a vector of a vector.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
I was afraid of that
Roger...Roger..
Vector...Victor
Clearance...Clarence
Cheers
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Why don't you use Chris Maunder's grid control[^]? It looks like his control will be much beter for your application... I use it every where a CListCtrl is needed because it is so flexible and I have packaged it in a dll so it is not that difficult to add to my project...
John
|
|
|
|
|
typedef CMap<unsigend int,="" unsigned="" cstring,="" cstring&=""> XItem;
typedef CArray<xitem, xitem&=""> XList;
How about?
|
|
|
|