Hi,
it's me again. Now I tried to extent the nApplicationTutorial with the file
testwindow I have created. I updated the .bld file as you can see in the
attached file. I also used the update-Skript and updated the project. I
copied the created files (ntestwindow.h and ntestwindow_main.cc) into the
nApplicationTutorial folder.
The problem is just, that when I start to build the project in visual
studio, I receive the following error-Messages:
"pkg_tutorialapp_exe.obj : error LNK2019: unresolved external symbol "bool
__cdecl n_init_ntestwindow(class nClass *,class nKernelServer *)"
(?n_init_ntestwindow@@YA_NPAVnClass@@PAVnKernelServer@@@Z) referenced in
function _tutorialapp_exe
9>pkg_tutorialapp_exe.obj : error LNK2019: unresolved external symbol "void
* __cdecl n_new_ntestwindow(void)" (?n_new_ntestwindow@@YAPAXXZ) referenced
in function _tutorialapp_exe"
So what have I missed? What did I do wrong?
Thanks for help in advance
Christoph
-----Ursprüngliche Nachricht-----
Von:
nebuladevice-discuss-bounces@...
[mailto:
nebuladevice-discuss-bounces@...] Im Auftrag von
Ghoust
Gesendet: Samstag, 27. Januar 2007 19:39
An:
nebuladevice-discuss@...
Betreff: Re: [Nebula-Discuss] Problem with creating new GUI Window
Nice to hear that you have have succeeded.
The macros and are explained in
http://nebuladevice.cubik.org/documentation/nebula2/NebulaWritingClass.shtmlAs it seems you are a german too (?) there is an interesting article
about the nebula gui which I am going to translate:
http://users.informatik.uni-halle.de/~bugdoll/nebula2/handout.pdfRegards
Tom
Christoph Bünker wrote:
> Yes, I have added the class and it derived from nGuiClientWindow. It is
> included in the buildprocess. About the macros I am not sure. How can I
> check this??
>
> But nevertheless, I just solved the problem by creating directly a
> nGuiClientWindow instead of this testWindow.
>
> But thanks for help
> Christoph
>
> -----Ursprüngliche Nachricht-----
> Von:
nebuladevice-discuss-bounces@...
> [mailto:
nebuladevice-discuss-bounces@...] Im Auftrag von
> Ghoust
> Gesendet: Donnerstag, 25. Januar 2007 21:49
> An:
nebuladevice-discuss@...
> Betreff: Re: [Nebula-Discuss] Problem with creating new GUI Window
>
> And do you have a nebula gui class added to your code named testWindow
> derived from nGuiWindow or nGuiClientWindow?
> Is this class registered in your buildprocess and has the corresponding
> nNebulaClass(testWindow, "nguiclientwindow") macros in your cc file?
>
>
> Tom
>
> Christoph Bünker wrote:
>
>> 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: Couldnt 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>>
>>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
your
-------------------------------------------------------------------------
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-------------------------------------------------------------------------
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