<table cellspacing='0' cellpadding='0' border='0' ><tr><td valign='top' style='font: inherit;'>Thanks,<br>by the way why i need to define VER2_2 to compile successfully compiler?<br>it gives me error in base.inc file,i have to define that,although my compiler version is 2.3.1<br><br><br><br>--- On <b>Mon, 7/21/08, Yury Sidorov <i><jura@cp-lab.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Yury Sidorov <jura@cp-lab.com><br>Subject: Re: [fpc-devel] winmobile 6.1 problem?<br>To: "FPC developers' list" <fpc-devel@lists.freepascal.org><br>Date: Monday, July 21, 2008, 1:23 AM<br><br><pre>Hi,<br><br>I fixed the problem in rev. 11421.<br><br>Funny thing that I started to investigate this problem in morning <br>today before your e-mails :)<br><br>Not funny thing is that took whole day to find out what caused the <br>problem :(<br><br>Damn
 WM6.1!!!<br><br>Yury.<br><br>----- Original Message ----- <br>From: Roozbeh GHolizadeh<br>To: FPC developers' list<br>Sent: Sunday, July 20, 2008 9:37 PM<br>Subject: Re: [fpc-devel] winmobile 6.1 problem?<br><br><br>Well,i come to this.<br>dlls built with fpc does not work under wm6.1.<br>i am using ppcrossarm 2.3.1 from todays svn<br>building simple dll with one export function and linking to it all <br>with fpc,makes program not to run under wm6.1,but works fine under <br>older oses!<br><br>so?<br><br>--- On Sun, 7/20/08, Carolos <carolosf@gmail.com> wrote:<br><br>From: Carolos <carolosf@gmail.com><br>Subject: Re: [fpc-devel] winmobile 6.1 problem?<br>To: "FPC developers' list" <fpc-devel@lists.freepascal.org><br>Date: Sunday, July 20, 2008, 7:50 PM<br><br><br>Out of interest, what switches are you using to compile dll?<br><br><br>On Sun, Jul 20, 2008 at 12:23 PM, Roozbeh GHolizadeh <br><roozbehid@yahoo.com>
 wrote:<br><br>Hi,<br>i have a dll compiled with fpc which i load it from my another dll <br>compiled with vc++ using loadlibrary function.<br>So far there was no problem,but with winmo 6.1 using loadlibrary will <br>cause crashes and return NULL.so it doesnt load it at all!<br><br>I was wondering how can i pinpoint the problem.<br>my dll,uses units with initialization sections,could if any crash <br>happen there causes library not to load?<br><br>because i guess loading library doesnt do anything but just moving it <br>into memory space?(or does those initialization sectiors end up in <br>dllmain,attach_process?)<br><br>So?<br><br>Regards,<br>Roozbeh GHolizadeh<br><br><br><br>_______________________________________________<br>fpc-devel maillist  -  fpc-devel@lists.freepascal.org<br>http://lists.freepascal.org/mailman/listinfo/fpc-devel<br><br><br><br><br>_______________________________________________fpc-devel maillist  -
 <br>fpc-devel@lists.freepascal.orghttp://lists.freepascal.org/mailman/listinfo/fpc-devel<br><br><br><br><br><br><br>_______________________________________________<br>fpc-devel maillist  -  fpc-devel@lists.freepascal.org<br>http://lists.freepascal.org/mailman/listinfo/fpc-devel <br>_______________________________________________<br>fpc-devel maillist  -  fpc-devel@lists.freepascal.org<br>http://lists.freepascal.org/mailman/listinfo/fpc-devel</pre></blockquote></td></tr></table><br>