[fpc-devel] winmobile 6.1 problem?

Yury Sidorov jura at cp-lab.com
Sun Jul 20 22:53:51 CEST 2008


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
To: FPC developers' list
Sent: Sunday, July 20, 2008 9:37 PM
Subject: Re: [fpc-devel] winmobile 6.1 problem?


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 <carolosf at gmail.com> wrote:

From: Carolos <carolosf at gmail.com>
Subject: Re: [fpc-devel] winmobile 6.1 problem?
To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
Date: Sunday, July 20, 2008, 7:50 PM


Out of interest, what switches are you using to compile dll?


On Sun, Jul 20, 2008 at 12:23 PM, Roozbeh GHolizadeh 
<roozbehid at yahoo.com> 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 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.
my dll,uses units with initialization sections,could if any crash 
happen there causes library not to load?

because i guess loading library doesnt do anything but just moving it 
into memory space?(or does those initialization sectiors end up in 
dllmain,attach_process?)

So?

Regards,
Roozbeh GHolizadeh



_______________________________________________
fpc-devel maillist  -  fpc-devel at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel




_______________________________________________fpc-devel maillist  - 
fpc-devel at lists.freepascal.orghttp://lists.freepascal.org/mailman/listinfo/fpc-devel






_______________________________________________
fpc-devel maillist  -  fpc-devel at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel 



More information about the fpc-devel mailing list