Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: question about HBITMAP Pin
includeh106-Jun-06 10:22
includeh106-Jun-06 10:22 
GeneralRe: question about HBITMAP Pin
Chris Losinger6-Jun-06 11:28
professionalChris Losinger6-Jun-06 11:28 
GeneralRe: question about HBITMAP Pin
includeh106-Jun-06 11:56
includeh106-Jun-06 11:56 
GeneralRe: question about HBITMAP Pin
Chris Losinger6-Jun-06 15:39
professionalChris Losinger6-Jun-06 15:39 
QuestionButtons Not Enabled On My DialogBar Pin
masnu6-Jun-06 6:35
masnu6-Jun-06 6:35 
AnswerRe: Buttons Not Enabled On My DialogBar Pin
FarPointer6-Jun-06 7:15
FarPointer6-Jun-06 7:15 
AnswerRe: Buttons Not Enabled On My DialogBar Pin
Michael Dunn6-Jun-06 8:41
sitebuilderMichael Dunn6-Jun-06 8:41 
QuestionEnexistent data Pin
hint_546-Jun-06 6:27
hint_546-Jun-06 6:27 
I have a VC++ 6 project with the following:

//pointers.h
template <typename T> class tPointer {

   public:

      // Some routines here

   protected:

      // Some other routines

      // Data
      T              *pPointer;
      tUnsignedWord   pCounter;
};

// arrays.h
template <typename T> class tArray : public tPointer<T> {

    public:

       // Just the default constructor for now

    protected:

       tUnsignedWord   nSize;
};


But when I write:

// launcher.cpp
int main( void )
{
 tArray<int>  p;

 p.   // When I write the '.' (dot) a list of tArray's members appears

 return 0;
}


The problem is:

1) That list as the elements: nSize (fine with that) and pData (hã??)
2) tArray is not inheriting the routines from tPointer (i.e operator = ( tSomething ) )

Anybody knows why and how to solve this?

NOTE: I wrote a tArray class on a previous project that had a pData member.. Is it possible that VC++ keeps some sort of records and is now accessing them? Plus, those are the only files I have included in the project so far.

best regards [[]]

hint_54
QuestionAdding a Form-View and Creating a Tab Control on the form view in a Single Document based VC++ program using MFC. Pin
Ashutosh Bagaria6-Jun-06 6:20
Ashutosh Bagaria6-Jun-06 6:20 
QuestionA question about sdi multiview Pin
Member 20063986-Jun-06 6:07
Member 20063986-Jun-06 6:07 
QuestionReading pdf file [modified] Pin
maharaja pandian6-Jun-06 4:46
maharaja pandian6-Jun-06 4:46 
AnswerRe: Reading pdf file [modified] Pin
Rage6-Jun-06 4:48
professionalRage6-Jun-06 4:48 
AnswerRe: Reading pdf file [modified] Pin
David Crow6-Jun-06 6:53
David Crow6-Jun-06 6:53 
AnswerRe: Reading pdf file [modified] Pin
Hamid_RT6-Jun-06 19:29
Hamid_RT6-Jun-06 19:29 
QuestionHow to display another control on my coustom control? Pin
old_dustman6-Jun-06 4:45
old_dustman6-Jun-06 4:45 
AnswerRe: How to display another control on my coustom control? Pin
Viorel.6-Jun-06 4:57
Viorel.6-Jun-06 4:57 
Questionwindow and some other class in same window Pin
Manjunath S6-Jun-06 4:08
Manjunath S6-Jun-06 4:08 
AnswerRe: window and some other class in same window Pin
Cedric Moonen6-Jun-06 4:33
Cedric Moonen6-Jun-06 4:33 
QuestionRe: window and some other class in same window Pin
Manjunath S6-Jun-06 4:46
Manjunath S6-Jun-06 4:46 
AnswerRe: window and some other class in same window Pin
Cedric Moonen6-Jun-06 4:55
Cedric Moonen6-Jun-06 4:55 
QuestionRe: window and some other class in same window Pin
Manjunath S6-Jun-06 6:32
Manjunath S6-Jun-06 6:32 
AnswerRe: window and some other class in same window Pin
Cedric Moonen6-Jun-06 6:37
Cedric Moonen6-Jun-06 6:37 
QuestionRe: window and some other class in same window Pin
Manjunath S6-Jun-06 6:52
Manjunath S6-Jun-06 6:52 
GeneralRe: window and some other class in same window Pin
toxcct6-Jun-06 21:44
toxcct6-Jun-06 21:44 
QuestionHelp! How to get Windows installation key Pin
ytsau6-Jun-06 3:33
ytsau6-Jun-06 3:33 

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.