Winelib: How can I compile a Borland C++ Builder application on Linux using winelib?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux