Click here to Skip to main content
15,926,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: __FUNCTION__ Macro Pin
Andrew Walker26-Jun-03 17:14
Andrew Walker26-Jun-03 17:14 
A good place to start is current_function.hpp in the boost library. Boost tends to be a good place to start for information and patterns which work around differences in compilers.

#ifndef BOOST_CURRENT_FUNCTION_HPP_INCLUDED
#define BOOST_CURRENT_FUNCTION_HPP_INCLUDED

#if _MSC_VER >= 1020
#pragma once
#endif

//
//  boost/current_function.hpp - BOOST_CURRENT_FUNCTION
//
//  Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
//
//  Permission to copy, use, modify, sell and distribute this software
//  is granted provided this copyright notice appears in all copies.
//  This software is provided "as is" without express or implied
//  warranty, and with no claim as to its suitability for any purpose.
//
//  http://www.boost.org/libs/utility/current_function.html
//

namespace boost
{

namespace detail
{

inline void current_function_helper()
{

#if defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000))

# define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__

#elif defined(__FUNCSIG__)

# define BOOST_CURRENT_FUNCTION __FUNCSIG__

#elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x550)

# define BOOST_CURRENT_FUNCTION __FUNC__

#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)

# define BOOST_CURRENT_FUNCTION __func__

#else

# define BOOST_CURRENT_FUNCTION "(unknown)"

#endif

}

} // namespace detail

} // namespace boost

#endif // #ifndef BOOST_CURRENT_FUNCTION_HPP_INCLUDED



If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

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 
QuestionWhy is a new menu item is disabled...? Pin
Grailman26-Jun-03 11:15
Grailman26-Jun-03 11:15 

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.