Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL Security (.NET Securing) Pin
flip26-Jun-03 19:22
flip26-Jun-03 19:22 
GeneralRe: DLL Security (.NET Securing) Pin
Ryan Binns26-Jun-03 19:32
Ryan Binns26-Jun-03 19:32 
GeneralRe: DLL Security (.NET Securing) Pin
flip26-Jun-03 19:37
flip26-Jun-03 19:37 
GeneralRe: DLL Security (.NET Securing) Pin
Ryan Binns26-Jun-03 19:42
Ryan Binns26-Jun-03 19:42 
GeneralRe: DLL Security (.NET Securing) Pin
Toni7826-Jun-03 20:56
Toni7826-Jun-03 20:56 
GeneralRe: DLL Security (.NET Securing) Pin
Ryan Binns26-Jun-03 21:04
Ryan Binns26-Jun-03 21:04 
GeneralRe: DLL Security (.NET Securing) Pin
Toni7826-Jun-03 21:37
Toni7826-Jun-03 21:37 
General__FUNCTION__ Macro Pin
ROK_RShadow26-Jun-03 16:27
ROK_RShadow26-Jun-03 16:27 
I was currently reading an article in my linux mag about the wonderful uses of the assert function. I personally use this function and variations of it a lot. My question arises when I caught a side bar of the article about some preprocessor macros.


The sidebar explains how assert is so great because of the __LINE__ and __FILE__ macros. However it also explains two useful macros that are available under the GNU C compiler. __FUNCTION__ and __PRETTY_FUNCTION__. The first being for C compilers it returns the functions name. Since C++ mangles function names do to overloading the second returns the full function name (i.e. "void CMyClass::myfunc(int, double)" ). However these do not seem to be available under Microsoft's or Borland's compiler, and a long search through MSDN doesn't reveal anything similar. Is there a way to produce similar output with the MS compiler?

GeneralRe: __FUNCTION__ Macro Pin
Andrew Walker26-Jun-03 17:14
Andrew Walker26-Jun-03 17:14 
GeneralRe: __FUNCTION__ Macro Pin
Jim A. Johnson26-Jun-03 17:21
Jim A. Johnson26-Jun-03 17:21 
GeneralRegistry in C++ Website Pin
yashraj121526-Jun-03 15:27
yashraj121526-Jun-03 15:27 
GeneralStructures and Classes Pin
yashraj121526-Jun-03 15:24
yashraj121526-Jun-03 15:24 
GeneralRe: Structures and Classes Pin
Johnny ²26-Jun-03 19:53
Johnny ²26-Jun-03 19:53 
Generalshow dialog in dll Pin
gucy26-Jun-03 15:01
gucy26-Jun-03 15:01 
GeneralRe: show dialog in dll Pin
Ryan Binns26-Jun-03 15:28
Ryan Binns26-Jun-03 15:28 
GeneralRe: show dialog in dll Pin
gucy26-Jun-03 15:36
gucy26-Jun-03 15:36 
GeneralRe: show dialog in dll Pin
Ryan Binns26-Jun-03 15:40
Ryan Binns26-Jun-03 15:40 
GeneralRe: show dialog in dll Pin
gucy26-Jun-03 15:48
gucy26-Jun-03 15:48 
GeneralRe: show dialog in dll Pin
Ryan Binns26-Jun-03 16:01
Ryan Binns26-Jun-03 16:01 
GeneralRe-inserting an ActiveX control in VC6 Pin
Joe Dean26-Jun-03 13:02
Joe Dean26-Jun-03 13:02 
GeneralRe: Re-inserting an ActiveX control in VC6 Pin
Yoon Taeho26-Jun-03 17:01
Yoon Taeho26-Jun-03 17:01 
GeneralRe: Re-inserting an ActiveX control in VC6 Pin
Daed24-Mar-04 2:33
Daed24-Mar-04 2:33 
GeneralShellExecute Pin
skinnyreptile26-Jun-03 11:47
skinnyreptile26-Jun-03 11:47 
GeneralRe: ShellExecute Pin
Anders Molin26-Jun-03 12:19
professionalAnders Molin26-Jun-03 12:19 
GeneralRe: ShellExecute Pin
Anonymous26-Jun-03 15:22
Anonymous26-Jun-03 15:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.