<table cellspacing='0' cellpadding='0' border='0' ><tr><td valign='top' style='font: inherit;'>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 with fpc,makes program not to run under wm6.1,but works fine under older oses!<br><br>so?<br><br>--- On <b>Sun, 7/20/08, Carolos <i><carolosf@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">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><div id="yiv1381536229"><div dir="ltr">Out of interest, what switches are you using to compile dll?<br><br><div class="gmail_quote">On Sun, Jul 20, 2008 at 12:23 PM, Roozbeh GHolizadeh <<a
rel="nofollow" target="_blank" href="mailto:roozbehid@yahoo.com">roozbehid@yahoo.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top"><span style="font-family: monospace;">Hi,<br>
i have a dll compiled with fpc which i load it from my another dll compiled with vc++ using loadlibrary function.<br>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!<br>
<br>I was wondering how can i pinpoint the problem.<br>my dll,uses units with initialization sections,could if any crash happen there causes library not to load?<br><br>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?)<br>
<br>So?<br><br>Regards,<br>Roozbeh GHolizadeh<br></span></td></tr></tbody></table><br>
<br>_______________________________________________<br>
fpc-devel maillist - <a rel="nofollow" target="_blank" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freepascal.org/mailman/listinfo/fpc-devel">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a><br>
<br></blockquote></div><br></div>
</div><pre>_______________________________________________<br>fpc-devel maillist - fpc-devel@lists.freepascal.org<br>http://lists.freepascal.org/mailman/listinfo/fpc-devel</pre></blockquote></td></tr></table><br>