Read-only archive of the All About Symbian forum (2001–2013) · About this archive

printf

3 replies · 1,310 views · Started 03 May 2004

hi all
is there a simple way to print log messages (like printf or something ) while running a C++ application on an emulator ?
if there is , how can I use it ?

thanks

Hey,

You can use User::InfoPrint() just be careful this doesn't work on device. If you want a method that works on device as well try CEikonEnv::AlertWin(). See the SDK topics Class CEikonEnv and Class User for more information on these methods.

Regards, Aljaz

If you are running the app on the development platform (i.e. VC), then RDebug::Print (or something like that) will print a message to the standard debug window.

thanks a lot

cmatthee wrote:If you are running the app on the development platform (i.e. VC), then RDebug::Print (or something like that) will print a message to the standard debug window.