ResData.h new entries are not loaded
Hi,
I have a problem regarding my ResData.h. I wanted to add a new dialog including controls and so I added some entries into ResData.h, resdata.inc and resdata.txt.txt. But only my new entries in ResData.h are not loaded.
Thus all my "wnd" objects are being loaded with the ID -1.
I debugged my client to the point where the defines are loaded from the ResData.h in Scrpt.cpp. I printed all loaded defines and my newly added ones are missing.
Has anybody an idea what could be the problem here?
Re: ResData.h new entries are not loaded
Are you defining them in the source and copying the resData.h to server and merging new res?
Re: ResData.h new entries are not loaded
Quote:
Originally Posted by
Ketchup
Are you defining them in the source and copying the resData.h to server and merging new res?
The ResData.h is linked as an external dependency in VS19. I the compile the Neuz client copy the exe into my client and copy the ResData.h over in the server resource folder.
To my understanding, linking all the header files to the project would compile them into the resulting exe, so I don't have to put them somewehre extra after the compilation. Or is this not true?
However, I'm going to merge the the files and copy them over to the client and see if it fixes it, yhanks for the hint.
Edit:
Thank you Ketchup, repacking the client resources worked. Then the ResData.h is not compiled into the Neuz.exe.
Re: ResData.h new entries are not loaded
Glad it works for you now.
Thread locked since this has been solved.