HighTechTalks DotNet Forums  

Log Message

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Log Message in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
HoustonK
 
Posts: n/a

Default Log Message - 12-27-2007 , 09:09 PM






Hi,

I wrote a compact framework 2.0 dll, in this dll, I would like to print out
some message on screen.

Problem here is that if I use windows application (Project),
console.writeline message won't show.

Also, is it possible to run windows (GUI) and console at the same time?

Can you suggest any techniques to implement this?

Thx.

-KK

Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: Log Message - 12-27-2007 , 09:20 PM






How about another Form that you write messages to - maybe with a ListBox?

WM and PPC don't have a console built-in (though there are add-ons like
Pocket Console).


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"HoustonK" <HoustonK (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I wrote a compact framework 2.0 dll, in this dll, I would like to print
out
some message on screen.

Problem here is that if I use windows application (Project),
console.writeline message won't show.

Also, is it possible to run windows (GUI) and console at the same time?

Can you suggest any techniques to implement this?

Thx.

-KK



Reply With Quote
  #3  
Old   
Scott Gifford
 
Posts: n/a

Default Re: Log Message - 12-27-2007 , 11:51 PM



HoustonK <HoustonK (AT) discussions (DOT) microsoft.com> writes:

Quote:
I wrote a compact framework 2.0 dll, in this dll, I would like to print out
some message on screen.
I use log4net for this:

http://logging.apache.org/log4net/

I have some code to display the log messages in a scrolling textbox,
which I can turn on in debug versions of the code. I adapted it from
here:

http://blog.markjordan.org/archive/2...r-Log4Net.aspx

and here:

http://blog.opennetcf.org/afeinman/P...07210ab40.aspx

It's very handy, especially if you are accustomed to programming in an
environment where you can just print stuff out to see what's going on
in your program.

Hope this helps,

----Scott.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.