Click here to Skip to main content
16,012,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan a DLL be spied on? Pin
Matt Philmon25-Jan-01 2:55
Matt Philmon25-Jan-01 2:55 
AnswerRe: Can a DLL be spied on? Pin
29-Jan-01 2:30
suss29-Jan-01 2:30 
QuestionHow to visualize a large depot ??? Pin
24-Jan-01 23:35
suss24-Jan-01 23:35 
AnswerRe: How to visualize a large depot ??? Pin
25-Jan-01 2:40
suss25-Jan-01 2:40 
Generala prog like Spy++ Pin
Tom K24-Jan-01 21:23
Tom K24-Jan-01 21:23 
GeneralRe: a prog like Spy++ Pin
24-Jan-01 23:00
suss24-Jan-01 23:00 
GeneralRe: a prog like Spy++ Pin
Tom K25-Jan-01 1:41
Tom K25-Jan-01 1:41 
GeneralCObArray Assertion !!! Pin
24-Jan-01 20:54
suss24-Jan-01 20:54 
if have an array declared as

> CObArray m_arrRadio;

and i want to add pointers to this array of the following class:

> class CRgbRadio : public CObject
> {
> public:
> int m_iCtrlId;
> int m_iValue;
> };

... and this is the code, where the assertion occurs:

> CRgbRadio* pRadio = new CRgbRadio();
> pRadio->m_iCtrlId = 100;
> pRadio->m_iValue = 1;
> m_arrRadio.Add( pRadio );

while executing the Add-statement i get an assertion in line 182 of the file 'array_o.cpp'. the debug-windows shows the following information:

> ASSERT_VALID fails with illegal vtable pointer.

can anyone explain to me, what's wrong with the code Confused | :confused:

peter
GeneralRe: CObArray Assertion !!! Pin
AlexMarbus25-Jan-01 7:47
AlexMarbus25-Jan-01 7:47 
GeneralRe: CObArray Assertion !!! Pin
25-Jan-01 20:29
suss25-Jan-01 20:29 
GeneralRe: CObArray Assertion !!! Pin
6-Feb-01 12:34
suss6-Feb-01 12:34 
GeneralLoadstring Fails on Win98 Pin
Lea Johnson24-Jan-01 18:02
Lea Johnson24-Jan-01 18:02 
GeneralRe: Loadstring Fails on Win98 Pin
Matt.W.24-Jan-01 19:05
Matt.W.24-Jan-01 19:05 
GeneralSystem Tray problem ( program keeps quitting) Pin
Christian Graus24-Jan-01 13:09
protectorChristian Graus24-Jan-01 13:09 
GeneralWMSDK(Windows Media SDK) and MFC Pin
24-Jan-01 11:23
suss24-Jan-01 11:23 
GeneralCTreeCtrl Pin
Fabrizio24-Jan-01 4:22
Fabrizio24-Jan-01 4:22 
GeneralInternet Programming Pin
RaviShankar24-Jan-01 4:12
RaviShankar24-Jan-01 4:12 
QuestionHow to use Interface?? Pin
Tom K24-Jan-01 3:55
Tom K24-Jan-01 3:55 
AnswerRe: How to use Interface?? Pin
Erik Thompson24-Jan-01 7:11
sitebuilderErik Thompson24-Jan-01 7:11 
GeneralIrDA under WInCE Pin
Alex Gusev23-Jan-01 23:53
Alex Gusev23-Jan-01 23:53 
GeneralCLS in a DOS box Pin
jerry0davis23-Jan-01 23:51
jerry0davis23-Jan-01 23:51 
GeneralRe: CLS in a DOS box Pin
Tim Deveaux24-Jan-01 4:05
Tim Deveaux24-Jan-01 4:05 
GeneralMutli_Threading ( WaitForMultipleObject) Pin
.::RockNix::.23-Jan-01 23:40
.::RockNix::.23-Jan-01 23:40 
GeneralModern shortcuts Pin
23-Jan-01 23:31
suss23-Jan-01 23:31 
QuestionWhat is const = 0 Pin
23-Jan-01 23:00
suss23-Jan-01 23:00 

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.