About Store Forum Documentation Contact



Post Reply 
Loading GUI using UID
Author Message
Kirkkaf13 Offline
Binary Licensee

Post: #1
Loading GUI using UID
Hello,


I was wondering if someone could help me with this compiler error:
Quote: Main.cpp
d:\esenthel\projects\_build_\test\source\main.cpp(33): error C2664: 'Bool EE::GuiObj::load(EE::File &,CChar *)': cannot convert argument 1 from 'EE::UID' to 'EE::File &' [D:\Esenthel\Projects\_Build_\test\Project.vcxproj]
I have created a small GUI consisting of two buttons and placed it within a folder called GUI. After declaring a GuiObj I attempted to load the GUI by dragging the from the project pane into the load method.

What am I doing wrong?

Thanks,
Kirk
10-09-2018 06:22 PM
Find all posts by this user Quote this message in a reply
Kirkkaf13 Offline
Binary Licensee

Post: #2
RE: Loading GUI using UID
Turns out I should have been using GuiObjs not GuiObj.
10-09-2018 10:17 PM
Find all posts by this user Quote this message in a reply
Post Reply