[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-users] a little more info to help -> maybe not a dll problem
From: |
Keith Swyer |
Subject: |
[paragui-users] a little more info to help -> maybe not a dll problem |
Date: |
Tue, 4 Jun 2002 14:34:45 -0300 |
well, i decided to try and test some classes without having them in a dll
and i was able to reproduce the
unhandled exception. here is the class that i have.. (base class Area is
still the same as before). As soon as
the btn is attempted to be created i get the fault......any ideas??
thanks again, keith
class lessonarea: public Area {
public:
virtual void FillArea(void *data, void* data2);
virtual void ShowArea(void);
virtual void destroy(void)
{return;}
};
void lessonarea::FillArea(void *data, void* data2) {
PG_Application *app = (PG_Application*)data;
PG_Button btn(NULL, 3333, PG_Rect(50, 50, 50, 50), "shitters");
widgetlist.insert(widgetlist.end(), &btn);
}
void lessonarea::ShowArea(void){
list<PG_Widget*>::iterator itr;
for (itr = widgetlist.begin(); itr != widgetlist.end(); itr++)
(*itr)->Show();
}
- [paragui-users] a little more info to help -> maybe not a dll problem,
Keith Swyer <=