NĂ©stor Amigo Cairo
2008-Jul-19 13:55 UTC
[Wine] Winelib: How can I compile a Borland C++ Builder application on Linux using winelib?
Hi! I'm new to winelib. I'm trying to port a Borland C++ Builder 6.0 application, but I need VCL library: vcl.h. Any ideas?? I would want to make it run natively on Linux. The code is as follows: //--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop USEFORM("textS.cpp", TextStuff); USEFORM("aboutS.cpp", AboutBox); USEFORM("assembleS.cpp", AssemblerBox); USEFORM("chksaveS.cpp", ChkSave); USEFORM("mainS.cpp", Main); USEFORM("optionsS.cpp", Options); USEFORM("editorOptions.cpp", EditorOptionsForm); //--------------------------------------------------------------------------- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { try { Application->Initialize(); Application->Title = "EASy68K"; Application->CreateForm(__classid(TMain), &Main); Application->CreateForm(__classid(TAboutBox), &AboutBox); Application->CreateForm(__classid(TAssemblerBox), &AssemblerBox); Application->CreateForm(__classid(TChkSave), &ChkSave); Application->CreateForm(__classid(TOptions), &Options); Application->CreateForm(__classid(TEditorOptionsForm), &EditorOptionsForm); Application->Run(); } catch (Exception &exception) { Application->ShowException(&exception); } return 0; } //--------------------------------------------------------------------------- -- N?stor Amigo Cairo +34 687 96 74 81 nestorac at gmail.com