Re: Stop REATILMSG O/P at application Level

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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





.



Relevant Pages

  • Re: Stop REATILMSG O/P at application Level
    ... the macro is still working as usual. ... to change Platform SDK headers as well. ... different ways to print a debug string, ... coming on debug screen(i asked application developer ..he is using RetailMsg) ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Stop REATILMSG O/P at application Level
    ... coming on debug screen(i asked application developer ..he is using RetailMsg) ... How ..The retailMSg is not giving out put at BSP or drive level but ..for ... local headers will not fix it in the Platform SDK headers. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Stop REATILMSG O/P at application Level
    ... As per your input ..RetailMsgs Macro can not be blocked completely(at ... different ways to print a debug string, ... coming on debug screen(i asked application developer ..he is using RetailMsg) ... local headers will not fix it in the Platform SDK headers. ...
    (microsoft.public.windowsce.platbuilder)
  • WinCE6 R3 : failure in or around OLE32 ?
    ... I am investigating some obscured bug on our Windows CE 6 R3 based platform. ... We build the OS image and can have Debug or Release types of images working ... Catalog items for the platform include DCOM and COM components, but no SQL ... So my observation tells me that somehow the mechanism in OLE32 works fine ...
    (microsoft.public.windowsce.platbuilder)
  • Re: !!, what is it?
    ... I recall seeing some platform specific headers which went for the ... this would not have worked on a 1s complement platform. ... my question more or less is whether it is possible that a signed int bitfield could be treated as if it was an unsigned int bitfield? ...
    (comp.lang.c)