[fpc-devel] Initialization code question

2007-01-28 Thread Felipe Monteiro de Carvalho
Hello, I am a bit confused by the initialization assembler files. I see on Windows the entry point should be _WinMainCRTStartup for gui apps. I can see this function declared on the wprt0.as file. But it´s also declared on the system unit! So, which one is being used? Is one of the two

[fpc-devel] delegate objects

2007-01-28 Thread ik
Hi List, There is a small conversation I read regarding delegating methods in objects. The thing is something like so (from the original discussion) sub factors { my $self = shift; return $self-result()-factors(); } And besides it similar declarations for some other functions: sub

Re: [fpc-devel] Initialization code question

2007-01-28 Thread Florian Klaempfl
Felipe Monteiro de Carvalho schrieb: Hello, I am a bit confused by the initialization assembler files. I see on Windows the entry point should be _WinMainCRTStartup for gui apps. I can see this function declared on the wprt0.as file. But it´s also declared on the system unit! So, which one is

Re: [fpc-devel] Initialization code question

2007-01-28 Thread Felipe Monteiro de Carvalho
thanks a lot, I am getting things working now ... should soon be able to test an app using the internal linker on the emulator. -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Initialization code question

2007-01-28 Thread Felipe Monteiro de Carvalho
Hi, is the name _WinMainCRTStartup mandatory for windows applications entry point? I tryed to execute my symbian app as a normal win32 app, and windows says the app failed to initialize itself correctly I am just wondering what kind of initialization it is talking about. thanks, -- Felipe