« Return to Thread: Problem with creating new GUI Window

Re: Problem creating nGuiTextWindow

by Johannes Kellner :: Rate this Message:

Reply to Author | View in Thread

Hi,

shure thats wrong, you ask the nKernelServer to create a object with the
class "ntextwindow", thats wrong you should ask for a new "nguitextwindow".

nGuiWindow*  nGuiServer::NewWindow (const char *className, bool visible)

- Johannes

Christoph Bünker wrote:

> Hi all together,
>
> again I need your help. :) And after the great help of the last time, I hope
> this time will again be so fruitful.
>
> I try to create a nGuiTextWindow with the following code:
>
> this->nguitw = static_cast<nGuiTextWindow*>
> (ngui->NewWindow("ntextwindow",true));
>
> nguitw is here defined before as: nGuiTextWindow* nguitw;
>
> There is no problem during the build process, but when I am executing the
> file, I get the following message:
>
> "nKernelServer: Couldn't create object 'window3' of class 'ntextwindow'.
>
> So what am I doing wrong again??
>
> Thanks for help in advance
>
> Christoph
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> *** 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
>
>  

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

*** 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