Click here to Skip to main content
16,004,227 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File Opening: Pin
T.RATHA KRISHNAN21-Jun-07 2:20
T.RATHA KRISHNAN21-Jun-07 2:20 
AnswerRe: File Opening: Pin
Hamid_RT21-Jun-07 2:33
Hamid_RT21-Jun-07 2:33 
Questionerror C2027: use of undefined type 'IActiveDesktop' Pin
neha.agarwal2721-Jun-07 1:37
neha.agarwal2721-Jun-07 1:37 
AnswerRe: error C2027: use of undefined type 'IActiveDesktop' Pin
Steve S21-Jun-07 2:11
Steve S21-Jun-07 2:11 
AnswerRe: error C2027: use of undefined type 'IActiveDesktop' Pin
Hamid_RT21-Jun-07 2:34
Hamid_RT21-Jun-07 2:34 
AnswerRe: error C2027: use of undefined type 'IActiveDesktop' Pin
David Crow21-Jun-07 2:36
David Crow21-Jun-07 2:36 
GeneralRe: error C2027: use of undefined type 'IActiveDesktop' Pin
neha.agarwal2721-Jun-07 2:50
neha.agarwal2721-Jun-07 2:50 
QuestionVS.NET Error ? Pin
baerten21-Jun-07 1:28
baerten21-Jun-07 1:28 
Hi everybody,

like some times before i have a very strange behavior:

I add lines to the header : Error
I switch some lines : No Error

Now i have a same case:

class MyView
{
  DECLARE_DYNCREATE(.....
  
  public:
     MyView(....
     ~MyView();
  public:
     enum { IDD = IDD_MY_VIEW };

  #ifndef _DEBUG
   ...
  #endif

  public:
     virtual void DoDataExchange(...
     DECLARE_MESS...

     CFontStatic lbInfo;
     CButton btOk;
     CSxGroupBox gbSelect;
     CFontStatic lbOne;
     CFontStatic lbTwo;
     CFontStatic lbThree;
     CFontStatic lbFour;

i get an error during the SubClassing of lbOne during DoDataExchange


CFontStatic lbInfo;
CButton btOk;
CFontStatic lbOne;
CFontStatic lbTwo;
CFontStatic lbThree;
CFontStatic lbFour;
CSxGroupBox gbSelect;

NO ERROR


CSxGroupBox gbSelect;
CFontStatic lbInfo;
CButton btOk;
CFontStatic lbOne;
CFontStatic lbTwo;
CFontStatic lbThree;
CFontStatic lbFour;

I get an error during AfxCallWndProc


CStatic gbSelect;
CFontStatic lbInfo;
CButton btOk;
CFontStatic lbOne;
CFontStatic lbTwo;
CFontStatic lbThree;
CFontStatic lbFour;

If i replace CSxGroupBox with CStatic i also get NO ERROR



D'Oh! | :doh: i don't really understand how this effect occurs.
The View "MyView" does nothing, no char array which could overflow
And there are also no other views/funtions before the opening of this MyView
which manipulates arrays or other operations which could provoke an overflow


Does any one know the problem or has some times the same effect?


Big thanks !
AnswerRe: VS.NET Error ? Pin
Matthew Faithfull21-Jun-07 5:55
Matthew Faithfull21-Jun-07 5:55 
GeneralRe: VS.NET Error ? Pin
baerten21-Jun-07 21:27
baerten21-Jun-07 21:27 
Questionprotecting file Pin
deeps_cute21-Jun-07 0:58
deeps_cute21-Jun-07 0:58 
AnswerRe: protecting file Pin
David Crow21-Jun-07 2:40
David Crow21-Jun-07 2:40 
QuestionAbout CFileDialog toobar icon color Pin
throne88821-Jun-07 0:25
throne88821-Jun-07 0:25 
QuestionRe: About CFileDialog toobar icon color Pin
Mark Salsbery21-Jun-07 6:14
Mark Salsbery21-Jun-07 6:14 
AnswerRe: About CFileDialog toobar icon color Pin
throne88821-Jun-07 14:52
throne88821-Jun-07 14:52 
GeneralRe: About CFileDialog toobar icon color Pin
Mark Salsbery21-Jun-07 15:17
Mark Salsbery21-Jun-07 15:17 
GeneralRe: About CFileDialog toobar icon color Pin
Mark Salsbery21-Jun-07 15:25
Mark Salsbery21-Jun-07 15:25 
QuestionHow to determine IPAdress's network(public or private) Pin
sasi8320-Jun-07 22:57
sasi8320-Jun-07 22:57 
AnswerRe: How to determine IPAdress's network(public or private) Pin
NiceNaidu20-Jun-07 23:08
NiceNaidu20-Jun-07 23:08 
GeneralHow to determine IPAdress's network(public or private) Pin
sasi8320-Jun-07 23:59
sasi8320-Jun-07 23:59 
QuestiontITLE bAR Pin
nitin320-Jun-07 21:50
nitin320-Jun-07 21:50 
AnswerRe: tITLE bAR Pin
Matthew Faithfull20-Jun-07 22:47
Matthew Faithfull20-Jun-07 22:47 
QuestionRandom Child Menus in the Desktop Application Pin
Vasudevan Deepak Kumar20-Jun-07 20:53
Vasudevan Deepak Kumar20-Jun-07 20:53 
AnswerRe: Random Child Menus in the Desktop Application [modified] Pin
zhang80060520-Jun-07 21:57
zhang80060520-Jun-07 21:57 
QuestionWindowProc Pin
nitin320-Jun-07 20:48
nitin320-Jun-07 20:48 

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.