All Forums
 Microsoft Windows CE
 eVC Application Development
 Predefined Macros
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

HBPayne

45 Posts

Posted - 16 Apr 2004 :  11:58:29  Show Profile  Email Poster
Anyone have experience using the predefined macro __FUNCTION__? Other macros like __FILE__ and __LINE__ work ok but with __FUNCTION__ I get "undeclared identifier". Apparently it doesn't work on eVC4?

jbaik

22 Posts

Posted - 19 Apr 2004 :  14:26:42  Show Profile  Email Poster
I've checked Platform Builder, but it did not support __FUNCTION__ macro.

Go to Top of Page

akidder

1519 Posts

Posted - 27 Apr 2004 :  18:00:32  Show Profile  Email Poster
On a related note, I often use the __DATE__ and __TIME__ compiler macros to time stamp application builds.

For example, you can generate this time stamp

   App built Apr 13 2004 15:33:24

with this line of code:

  RETAILMSG (TRUE, (L" App built %s %s\r\n",TEXT(__DATE__),TEXT(__TIME__)));
Go to Top of Page

Patrick

34 Posts

Posted - 03 May 2004 :  10:53:29  Show Profile  Email Poster
Is it possible to get the __FUNCTION__ macro reenabled in the future? According to the help files it is supported in eVC.
Go to Top of Page

akidder

1519 Posts

Posted - 03 May 2004 :  15:05:20  Show Profile  Email Poster
Our development team confirmed that the __FUNCTION__ macro is not included in our current Platform Builder releases.

If the feature is important for your application, we would be glad to support you in opening a support incident with Microsoft. Our experience has been that Microsoft will ask you about the "business impact" of the issue when you report it.

Sorry we can't be of more help than that!
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000