We will soon be working with a CE 5.0 managed app using CF 2.0 on a headless
X86 platform and wonder what is equivalent to RETAILMSG, DEBUGMSG and/or
OutputDebugString. I have looked in VS2005 on-line help and not found
anything.

Re: Debug output from managed app by Neil

Neil
Fri May 18 07:16:40 CDT 2007

DEBUGMSG: System.Diagnostics.Debug.WriteLine
RETAILMSG: System.Diagnostics.Trace.WriteLine

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.

Managed Code in the Embedded World

http://www.opennetcf.com/
http://www.smartdeviceframework.com/


"Bill T" <BillT@discussions.microsoft.com> wrote in message
news:ED6961B6-E718-465B-BDCF-371AEEBA0BBE@microsoft.com...
> We will soon be working with a CE 5.0 managed app using CF 2.0 on a
> headless
> X86 platform and wonder what is equivalent to RETAILMSG, DEBUGMSG and/or
> OutputDebugString. I have looked in VS2005 on-line help and not found
> anything.


Re: Debug output from managed app by Neil

Neil
Fri May 18 07:18:55 CDT 2007

Also, you can call NKDbgPrintfw from managed code. Use the following
P/Invoke declaration in C#:

[DllImport("coredll.dll", EntryPoint = "NKDbgPrintfW")]
private static extern void DEBUGMSG(string message);


--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.

Managed Code in the Embedded World

http://www.opennetcf.com/
http://www.smartdeviceframework.com/


"Bill T" <BillT@discussions.microsoft.com> wrote in message
news:ED6961B6-E718-465B-BDCF-371AEEBA0BBE@microsoft.com...
> We will soon be working with a CE 5.0 managed app using CF 2.0 on a
> headless
> X86 platform and wonder what is equivalent to RETAILMSG, DEBUGMSG and/or
> OutputDebugString. I have looked in VS2005 on-line help and not found
> anything.


Re: Debug output from managed app by ctacke/>

ctacke/>
Fri May 18 08:48:14 CDT 2007

Not true. They won't go out the debug serial port using the Diagnostices
stuff.

We also have ReleaseMessage and DebugMessage int the Smart Device Framework.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com



"Neil Cowburn" <neilc@nospam.opennetcf.com> wrote in message
news:EDE4935A-39FB-4CC4-ACC6-2912A29CF7EA@microsoft.com...
> DEBUGMSG: System.Diagnostics.Debug.WriteLine
> RETAILMSG: System.Diagnostics.Trace.WriteLine
>
> --
> Neil Cowburn
> Principal Partner
> OpenNETCF Consulting, LLC.
>
> Managed Code in the Embedded World
>
> http://www.opennetcf.com/
> http://www.smartdeviceframework.com/
>
>
> "Bill T" <BillT@discussions.microsoft.com> wrote in message
> news:ED6961B6-E718-465B-BDCF-371AEEBA0BBE@microsoft.com...
>> We will soon be working with a CE 5.0 managed app using CF 2.0 on a
>> headless
>> X86 platform and wonder what is equivalent to RETAILMSG, DEBUGMSG and/or
>> OutputDebugString. I have looked in VS2005 on-line help and not found
>> anything.
>



Re: Debug output from managed app by Neil

Neil
Fri May 18 10:09:25 CDT 2007

Very true, but if you are connected to the device over Ethernet, they write
to the output window in Visual Studio, which is rather nice.

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.

Managed Code in the Embedded World

http://www.opennetcf.com/
http://www.smartdeviceframework.com/


"<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote in message
news:O4c6yMVmHHA.960@TK2MSFTNGP03.phx.gbl...
> Not true. They won't go out the debug serial port using the Diagnostices
> stuff.
>
> We also have ReleaseMessage and DebugMessage int the Smart Device
> Framework.
>
>
> --
>
> Chris Tacke, Embedded MVP
> OpenNETCF Consulting
> Managed Code in an Embedded World
> www.OpenNETCF.com
>
>
>
> "Neil Cowburn" <neilc@nospam.opennetcf.com> wrote in message
> news:EDE4935A-39FB-4CC4-ACC6-2912A29CF7EA@microsoft.com...
>> DEBUGMSG: System.Diagnostics.Debug.WriteLine
>> RETAILMSG: System.Diagnostics.Trace.WriteLine
>>
>> --
>> Neil Cowburn
>> Principal Partner
>> OpenNETCF Consulting, LLC.
>>
>> Managed Code in the Embedded World
>>
>> http://www.opennetcf.com/
>> http://www.smartdeviceframework.com/
>>
>>
>> "Bill T" <BillT@discussions.microsoft.com> wrote in message
>> news:ED6961B6-E718-465B-BDCF-371AEEBA0BBE@microsoft.com...
>>> We will soon be working with a CE 5.0 managed app using CF 2.0 on a
>>> headless
>>> X86 platform and wonder what is equivalent to RETAILMSG, DEBUGMSG and/or
>>> OutputDebugString. I have looked in VS2005 on-line help and not found
>>> anything.
>>
>
>