lcolombo Posted May 11, 2017 Share Posted May 11, 2017 I installed unigui in RadStudio 2007 following the web site's instructions. I create an empty unigui application in Delphi 2007, I pressed the F9 key and it worked correctly. Then I create an empty unigui application in C ++ Builder 2007, I press the F9 key and it throws me the following error: [iLINK32 Error] Error: Unresolved external '__fastcall Uniguiregclasses::CPPInit()' referenced from C:\USERS\LUCAS\DOCUMENTS\RAD STUDIO\PROJECTS\PROJECT1\DEBUG\MAIN.OBJ Any idea ? Quote Link to comment Share on other sites More sharing options...
Lena Posted May 11, 2017 Share Posted May 11, 2017 uniGUI.pdf:After starting a new C++ project you must disable Linker->Dynamic RTL.Currently building with Run Time Packages doesn't work properly. You must statically link alllibs and create a single EXE. (Simply unselect Build with runtime packages option.) 1 Quote Link to comment Share on other sites More sharing options...
lcolombo Posted May 11, 2017 Author Share Posted May 11, 2017 Hi, I had already tried these options. I also tried the next option: http://www.unigui.com/doc/online_help/using-runtime-packages.htm but it did not work either Regards, Quote Link to comment Share on other sites More sharing options...
tappatappa Posted September 15, 2017 Share Posted September 15, 2017 in the main cpp file (the one with the name of the project) #include <UniGUIVars.hpp>//<---------THIS #include <vcl.h> USEFORM("MainModule.cpp", UniMainModule); /* TUniGUIMainModule: File Type */ USEFORM("ServerModule.cpp", UniServerModule); /* TUniGUIServerModule: File Type */ USEFORM("Main.cpp", MainForm); /* TUniForm: File Type */ //--------------------------------------------------------------------------- #pragma link "UniGUIVars.obj" //<---------THIS #pragma TestProject //--------------------------------------------------------------------------- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { Quote Link to comment Share on other sites More sharing options...
HISPhilip Posted November 9, 2017 Share Posted November 9, 2017 Hi, I am having a similar problem in that I cannot compile a blank C++ unigui app. I am getting a multitude of errors but it seems to stem from the fact that the .hpp files uniGUIMainModule.hpp, uniGUIServer.hpp and uniGUIForm.hpp cannot be located, it seems to stem from uniGUIVars.hpp. I am using the latest trial version 1.0.0.1417 for RAD Studio Berlin 10.1 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 9, 2017 Administrators Share Posted November 9, 2017 Hi, I am having a similar problem in that I cannot compile a blank C++ unigui app. I am getting a multitude of errors but it seems to stem from the fact that the .hpp files uniGUIMainModule.hpp, uniGUIServer.hpp and uniGUIForm.hpp cannot be located, it seems to stem from uniGUIVars.hpp. I am using the latest trial version 1.0.0.1417 for RAD Studio Berlin 10.1 You must make sure you have built all uniGUI packages with C++ export options turned ON. Please see installation instructions. Quote Link to comment Share on other sites More sharing options...
HISPhilip Posted November 9, 2017 Share Posted November 9, 2017 I made sure to Generate all C++ Builder Files before building but still having the same problem. I have resorted to using 10.2 Tokyo instead and it is working fine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.