Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » How to compile a upp program in MS Visual Studio?
How to compile a upp program in MS Visual Studio? [message #7843] Thu, 25 January 2007 20:45 Go to previous message
yoco is currently offline  yoco
Messages: 25
Registered: June 2006
Location: Taiwan
Promising Member
I use TheIDE to develop my upp program for 8 months.
I think TheIDE is very good.
But I'm very curious about how to compile a upp program in Visual Studio.
I'vd tried for a while, but the compiler just report 3xxx errors Laughing (OMG!!)
So.. how to compile a simple upp program in VS?

Thanks ^^

A simple upp program like this...
#include <CtrlLib/CtrlLib.h>
using namespace Upp;

struct MyAppWindow : TopWindow {
    Button button;
    void Click() { PromptOK("You have clicked the button!"); }
    typedef MyAppWindow CLASSNAME;

    MyAppWindow() {
        Title("My application with button");
        Add(button.LeftPos(10, 100).TopPos(10, 30));
        button.SetLabel("Click me!");
        button <<= THISBACK(Click);
    }
};
 
GUI_APP_MAIN
{
    MyAppWindow app;
    app.Run();
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Not really sure where to put this: How to compile U++ library as a DLL?
Next Topic: Excel to CVS convertion
Goto Forum:
  


Current Time: Sat Jun 21 23:37:03 CEST 2025

Total time taken to generate the page: 0.04451 seconds