Search found 17 matches

by nicktick
Tue Nov 11, 2014 5:53 am
Forum: Compiler Errors
Topic: Compile ecc error on arm v7 device
Replies: 1
Views: 78631

Compile ecc error on arm v7 device

Building Vanilla Ecere... cd ecere && make -f Makefile.vanilla Building 2nd stage ecere (host)... cd ecere && make nores GCC_PREFIX= TARGET_PLATFORM=linux PLATFORM=linux Building eC Core Runtime (host)... cd ecere && make -f Makefile.ecereCOM GCC_PREFIX= TARGET_PLATFORM=linu...
by nicktick
Tue Jan 14, 2014 4:01 am
Forum: eC Language
Topic: How to write something like an interface ?
Replies: 1
Views: 23940

How to write something like an interface ?

import "ecere" class ITest { public: uint x; int Read(int i); void Write(); } class ITest2 : ITest { uint x; int Read(int i) { return i; } void Write() { } } class M { bool Test(ITest it) { it.Read(10); } int main(int argc,char **argv) { ITest2 it2{}; Test(it2); return(0); } } On compilin...
by nicktick
Mon Sep 23, 2013 4:31 am
Forum: General Help
Topic: Why program exited after setting window's visible=false ?
Replies: 1
Views: 21603

Why program exited after setting window's visible=false ?

how to prevent program exit after setting property of window visible=false?
by nicktick
Mon Sep 16, 2013 6:10 pm
Forum: eC Language
Topic: what's the difference between typed_object and any_object ?
Replies: 1
Views: 23722

what's the difference between typed_object and any_object ?

would you give me an exmaple for demoing their differences ? and both of them are only used for declaration of function, right ?
by nicktick
Thu May 02, 2013 6:11 pm
Forum: System Library
Topic: Is there a common function to get the CPUID ?
Replies: 1
Views: 28474

Is there a common function to get the CPUID ?

Is there a common function to get the CPUID under different OSes?
by nicktick
Tue Apr 16, 2013 11:00 pm
Forum: eC Language
Topic: How to access variables ?
Replies: 6
Views: 37137

Re: How to access variables ?

Hi nicktick, did you just edit that post, or did I miss the TestFunction()? You cannot add new methods to instances, you can only override virtual methods. If the method is a regular virtual method (e.g. virtual void OnMyVirtualMethod() -- This is for derivative controls to modify the behavior of '...
by nicktick
Tue Apr 16, 2013 10:33 pm
Forum: eC Language
Topic: How to access variables ?
Replies: 6
Views: 37137

Re: How to access variables ?

class TestWinow : Window { background = activeBorder; opacity = 0.5f; clientSize = { 576, 392 }; position = { 112, 72 }; alphaBlend = true; Point deltaPos{0,0}; Label label1 { this, caption = "label1", background = blue, 1, size = { 156, 85 }, position = { 160, 144 }; void OnRedraw(Surfac...
by nicktick
Tue Apr 16, 2013 10:00 pm
Forum: eC Language
Topic: How to access variables ?
Replies: 6
Views: 37137

How to access variables ?

Code: Select all

 
class test : Window
{  
	Point pos;
	Label label_1{
           void TestFunction()
            {
	          this.position = !!!; // how to access the Point pos here ? 
           }
	}	
}
 
How to access variable Point pos at '!!!' ?
by nicktick
Tue Apr 02, 2013 8:35 pm
Forum: 欢迎使用中文讨论
Topic: 一个轻量级的windows应用
Replies: 1
Views: 33637

Re: 一个轻量级的windows应用

The above words written by janksenhu is promoting Ecere.
Demo Ecere is a great tool for programming(little and easy to understand,but powerful OO C like language,compact and powerful Cross Platform GUI toolkit, 2D/3D graphics)
by nicktick
Thu Mar 28, 2013 3:16 am
Forum: eC Language
Topic: SIGSEGV on serializing Map object
Replies: 5
Views: 33459

Re: SIGSEGV on serializing Map object

One more question:
Is eC's serialized object platform independent? or binary compatible on different OS?