Re: Stop REATILMSG O/P at application Level
- From: "voidcoder" <voidcoder@xxxxxxxxx>
- Date: Mon, 27 Feb 2006 15:32:46 +0100
You can't prevent it this way because fixing this in your
local headers will not fix it in the Platform SDK headers.
You can't control this if you plan to allow the end-users
to write applications for your platform.
You have to completely remove debug printing like
I told you before, or try to disable only RETAILMSG
prints. For example you can try to enable "ship build"
option in your Platform Settings. Is there such an option
in CE 4.2? If not then goto platform.bat file or just
open Platform Settings->Environment and define
the following variable:
WINCESHIP=1
This should kill the REATILMSG output.
"Manish" <Manish@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D0C688D0-7A46-4050-8957-B3A5B049305D@xxxxxxxxxxxxxxxx
Thanks for reply ..
I tried to find RetailMsg Macro in the source code ..i found it in one of
the header file of BSP code
#define RETAILMSG(cond,printf_exp) \
((cond)?(MES_PrintMsg printf_exp),1:0)
I commented this line still Outmessages are coming on Debug screen.( i am
confused now how to stop debug messags.
Is there any file in public folder(i meand other than BSP folder)RetailMsg
is defined.
Waiting ur reply.
"voidcoder" wrote:
You have to comment OEMWriteDebugByte/OEMWriteDebugString
instead of NkdbgPrintfw. Just comment anything inside these functions.
Another way is to find "debug.c" file and force debug port number to
zero "ucComPort = 0". I can't remember now where this file was
placed in 4.2, somewhere in COMMON\OAK\x86 or
COMMON\OAK\CSP\x86. Run a file search through the
COMMON\OAK folder.
"Manish" <Manish@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9D15C14F-1ED8-4383-830A-D372286ED068@xxxxxxxxxxxxxxxx
Hi !
I am workign on CPC using WincE4.2 platform builder.We are not
using
Eboot rather we are using Serial boot loader.
My question is How can i suppress RETAILMSG at application level.Even
if
application developer uses this MACRO ,but will not produce any
output.
How can I ..?do this ..
I read in the documentation that RetailMsg is Mapped to NkdbgPrintfw(),
I
commentedthis function (in EBoot\ folder)for testing only ,but
Retailmsg
is
still giving out put on serial port .
How can i stop RetialMsg at application level...?
Please reply
REgards
Manish
.
- Follow-Ups:
- Re: Stop REATILMSG O/P at application Level
- From: Manish
- Re: Stop REATILMSG O/P at application Level
- References:
- Re: Stop REATILMSG O/P at application Level
- From: voidcoder
- Re: Stop REATILMSG O/P at application Level
- Prev by Date: Re: HalAllocateCommonBuffer and virtual addresses
- Next by Date: Re: Startup sound distorted
- Previous by thread: Re: Stop REATILMSG O/P at application Level
- Next by thread: Re: Stop REATILMSG O/P at application Level
- Index(es):
Relevant Pages
|