simple simple print question 
Author Message
 simple simple print question

I'm switching from eVB to eVC, is there a simple print command I can use to
debug my code? The eVC equivalent of the eVB command: Print "Hello world" &
byte(1234)

Thanks.



Tue, 04 Oct 2005 02:14:53 GMT  
 simple simple print question
OutputDebugString( TCHAR *s ) will output the string to the debug port,
which appears in the output window in eVC, when you are debugging the
program.

Paul T.


Quote:
> I'm switching from eVB to eVC, is there a simple print command I can use
to
> debug my code? The eVC equivalent of the eVB command: Print "Hello world"
&
> byte(1234)

> Thanks.



Tue, 04 Oct 2005 02:17:33 GMT  
 simple simple print question
Will OutputDebugString( TCHAR *s ) print to the (LCD) screen of the target
device when the application is running, like the eVB Print command does?



Quote:
> OutputDebugString( TCHAR *s ) will output the string to the debug port,
> which appears in the output window in eVC, when you are debugging the
> program.

> Paul T.



> > I'm switching from eVB to eVC, is there a simple print command I can use
> to
> > debug my code? The eVC equivalent of the eVB command: Print "Hello
world"
> &
> > byte(1234)

> > Thanks.



Tue, 04 Oct 2005 02:25:01 GMT  
 simple simple print question
Definitely not.  There is no built-in function that will do that, unless you
write a console application (which may or may not work, depending on what
hardware you are running it on).  If you can run a console application,
printf() will work as usual for C programs.  If you must have a text window,
you'll have to implement that yourself, maybe based on the EDIT control.

Paul T.


Quote:
> Will OutputDebugString( TCHAR *s ) print to the (LCD) screen of the target
> device when the application is running, like the eVB Print command does?



> > OutputDebugString( TCHAR *s ) will output the string to the debug port,
> > which appears in the output window in eVC, when you are debugging the
> > program.

> > Paul T.



> > > I'm switching from eVB to eVC, is there a simple print command I can
use
> > to
> > > debug my code? The eVC equivalent of the eVB command: Print "Hello
> world"
> > &
> > > byte(1234)

> > > Thanks.



Tue, 04 Oct 2005 03:17:33 GMT  
 simple simple print question

1. Download/install PocketConsole from
http://www.symbolictools.de/public/pocketconsole/download.htm
2. Sparkle printf's in your application. This can be any kind of
application, e.g. MFC, device driver, ...
Then a  console window will pop up and show your printf messages.

Rainer Urian
www.symbolictools.de


Quote:
> I'm switching from eVB to eVC, is there a simple print command I can use
to
> debug my code? The eVC equivalent of the eVB command: Print "Hello world"
&
> byte(1234)

> Thanks.



Tue, 04 Oct 2005 13:15:14 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. a simple simple question...

2. SIMPLE PRINTING QUESTION

3. A simple printing question...

4. simple printing Question

5. Simple print question

6. Simple Question. Printing Files

7. A simple (?) bitmap printing question

8. Simple question about printing with MFC

9. SIMPLE QUESTION ON PRINTING

10. Simple printing question

11. simple printing Question

12. Simple question about printing with MFC

 

 
Powered by phpBB® Forum Software