Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Rogue OnTimer Pin
«_Superman_»9-Nov-10 15:33
professional«_Superman_»9-Nov-10 15:33 
AnswerRe: Rogue OnTimer Pin
Kyudos9-Nov-10 16:11
Kyudos9-Nov-10 16:11 
GeneralRe: Rogue OnTimer Pin
«_Superman_»9-Nov-10 16:21
professional«_Superman_»9-Nov-10 16:21 
GeneralRe: Rogue OnTimer Pin
Kyudos9-Nov-10 16:26
Kyudos9-Nov-10 16:26 
GeneralRe: Rogue OnTimer Pin
«_Superman_»9-Nov-10 16:29
professional«_Superman_»9-Nov-10 16:29 
QuestionPeform actions online Pin
DanYELL9-Nov-10 9:52
DanYELL9-Nov-10 9:52 
GeneralRe: Peform actions online Pin
David Crow9-Nov-10 10:00
David Crow9-Nov-10 10:00 
GeneralRe: Peform actions online Pin
DanYELL9-Nov-10 13:43
DanYELL9-Nov-10 13:43 
GeneralRe: Peform actions online Pin
David Crow10-Nov-10 3:07
David Crow10-Nov-10 3:07 
QuestionCHtmlView Pin
BadJerry9-Nov-10 4:49
BadJerry9-Nov-10 4:49 
AnswerRe: CHtmlView Pin
mesajflaviu9-Nov-10 7:47
mesajflaviu9-Nov-10 7:47 
GeneralRe: CHtmlView Pin
BadJerry11-Nov-10 1:49
BadJerry11-Nov-10 1:49 
Questionples help,program cause Access Violation, and vc++ call stack show:0x0000ffff() Pin
stathm9-Nov-10 4:47
stathm9-Nov-10 4:47 
AnswerRe: ples help,program cause Access Violation, and vc++ call stack show:0x0000ffff() Pin
«_Superman_»9-Nov-10 7:10
professional«_Superman_»9-Nov-10 7:10 
AnswerRe: ples help,program cause Access Violation, and vc++ call stack show:0x0000ffff() Pin
pandit8410-Nov-10 1:47
pandit8410-Nov-10 1:47 
GeneralRe: ples help,program cause Access Violation, and vc++ call stack show:0x0000ffff() Pin
stathm19-Nov-10 3:53
stathm19-Nov-10 3:53 
Question890818 - how to create a transparent window? Pin
ilostmyid29-Nov-10 3:27
professionalilostmyid29-Nov-10 3:27 
AnswerRe: 890818 - how to create a transparent window? Pin
Chris Losinger9-Nov-10 3:34
professionalChris Losinger9-Nov-10 3:34 
AnswerRe: 890818 - how to create a transparent window? Pin
Alain Rist9-Nov-10 3:38
Alain Rist9-Nov-10 3:38 
AnswerRe: 890818 - how to create a transparent window? Pin
David Crow9-Nov-10 3:44
David Crow9-Nov-10 3:44 
AnswerRe: 890818 - how to create a transparent window? Pin
Code-o-mat9-Nov-10 9:10
Code-o-mat9-Nov-10 9:10 
GeneralRe: 890818 - how to create a transparent window? Pin
ilostmyid29-Nov-10 17:42
professionalilostmyid29-Nov-10 17:42 
Question#define vect std::vector - ok? Pin
piul9-Nov-10 2:24
piul9-Nov-10 2:24 
AnswerRe: #define vect std::vector - ok? Pin
CPallini9-Nov-10 3:11
mveCPallini9-Nov-10 3:11 
AnswerRe: #define vect std::vector - ok? Pin
Alain Rist9-Nov-10 3:15
Alain Rist9-Nov-10 3:15 
Hi,

In your top level header (usually stdafx.h) switch the vector type:
// stdafx.h
//...
#ifdef USE_STD_VECTOR
  #include <vector>
  using std::vector;
#else 
  #include "csr_vector.h"
  using csr::vector;
#endif
//...

This allows you to set different Project Configurations in MS Visual Studio terminology: Win32 Std Debug, Win32 CSR Debug, etc ... differing by defining (or not) USE_STD_VECTOR at configuration level.

cheers,
AR
When the wise (person) points at the moon the fool looks at the finger (Chinese proverb)

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.