« Return to Thread: Problem with creating new GUI Window

Problem with creating new GUI Window

by Christoph Bünker :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi together,

 

I start using nebula 2 at the moment and so I encounter different problems from time to time. Now, I try to create a new GUI Window, but somehow, when I am trying to initiate it, the program shuts down with the error message: “nKernelServer: Couldn’t create object ‘window2’ of class ‘testWindow’”.

 

I am using the nApplicationTutorial and there created a ntestwindow.h and a ntestwindow.cc

 

The way I try to create the second window is the following:

                        this->testWindow = static_cast<nTestWindow*>(this->ngui->NewWindow("testWindow", false));

 

So it would be great if there is anyone who could give me a hint what I am doing wrong.

 

Thanks for help and Cheers

Christoph

 

 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

*** NOTE: To reply to the list use "reply to all",  ***
***       to reply direct to the sender use "reply" ***
_______________________________________________
Nebuladevice-discuss mailing list
Nebuladevice-discuss@...
https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss

 « Return to Thread: Problem with creating new GUI Window