[fpc-devel] winmobile 6.1 problem?

2008-07-20 Thread Roozbeh GHolizadeh
Hi, i have a dll compiled with fpc which i load it from my another dll compiled with vc++ using loadlibrary function. So far there was no problem,but with winmo 6.1 using loadlibrary will cause crashes and return NULL.so it doesnt load it at all! I was wondering how can i pinpoint the problem.

[fpc-devel] protected members access across classes in the same package, but what about inherited cross package

2008-07-20 Thread Martin Friebe
Just a question, which came to my mind in relation to http://bugs.freepascal.org/view.php?id=11697 I understand that if you declare 2 classes in the same package (same file), then they are allowed to look at each others protected members (variables, properties, func, proc). I wonder what the

Re: [fpc-devel] winmobile 6.1 problem?

2008-07-20 Thread Carolos
Out of interest, what switches are you using to compile dll? On Sun, Jul 20, 2008 at 12:23 PM, Roozbeh GHolizadeh [EMAIL PROTECTED] wrote: Hi, i have a dll compiled with fpc which i load it from my another dll compiled with vc++ using loadlibrary function. So far there was no problem,but

Re: [fpc-devel] protected members access across classes in the same package, but what about inherited cross package

2008-07-20 Thread Joao Morais
Martin Friebe wrote: [file foo.pp] type TThat = class(TObject) protected ThatValue : integer end; TThis = class(TObject) end; implementation ... [/end of file foo.pp] [file bar.pp] type TThatFake class(TThat) end; // intntionally empty class TSomething = class(...)

Re: [fpc-devel] winmobile 6.1 problem?

2008-07-20 Thread Roozbeh GHolizadeh
nothing special just default options,but i guess i have built all my libraris with -g option. --- On Sun, 7/20/08, Carolos [EMAIL PROTECTED] wrote: From: Carolos [EMAIL PROTECTED] Subject: Re: [fpc-devel] winmobile 6.1 problem? To: FPC developers' list fpc-devel@lists.freepascal.org Date:

Re: [fpc-devel] winmobile 6.1 problem?

2008-07-20 Thread Roozbeh GHolizadeh
Well,i come to this. dlls built with fpc does not work under wm6.1. i am using ppcrossarm 2.3.1 from todays svn building simple dll with one export function and linking to it all with fpc,makes program not to run under wm6.1,but works fine under older oses! so? --- On Sun, 7/20/08, Carolos

Re: [fpc-devel] winmobile 6.1 problem?

2008-07-20 Thread Roozbeh GHolizadeh
i have downloaded fpc 2.2.0 from site,and used it to build the simple dll and program. first it complains about no as tool found. dont know hwy i get this,but anyway i renamed arm-wince-as to as and again winmo 6.1 does not run the result files! --- On Sun, 7/20/08, Carolos [EMAIL PROTECTED]

Re: [fpc-devel] winmobile 6.1 problem?

2008-07-20 Thread Yury Sidorov
Hi, I fixed the problem in rev. 11421. Funny thing that I started to investigate this problem in morning today before your e-mails :) Not funny thing is that took whole day to find out what caused the problem :( Damn WM6.1!!! Yury. - Original Message - From: Roozbeh GHolizadeh