Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-09 Thread Yury Sidorov
brary fails if called from a DLL Hi Yury, have now recompiled the DLL with the latest SVN build using the 2_2 fixes but get the same problem, load library returns the same hex value 0x7c37000 - the actual procedure I have in the DLL is as follows ___ fpc-

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-09 Thread Mark - WBIsoft.COM
debug('GetProcedureAddress','Exits - P assigned '+booltostr(assigned(p))); end; // end code here Any thoughts on this ? I pulled the GetProcedureAddress function from the Jwa??? components to test incase it was my implementation of the LoadLIbrary code in

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-09 Thread Jonas Maebe
On 09 Jul 2007, at 10:22, Marco van de Voort wrote: (I happened to test a couple of Unix related problems, and the issues are still there, most notably the initialization sections not being run. That's not "unix related", as the initialization (and finalization) sections run just fine on

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-09 Thread Mark - WBIsoft.COM
Yeah, I spooted that with a windows DLL as well ! - Original Message - From: "Marco van de Voort" <[EMAIL PROTECTED]> To: "FPC developers' list" Sent: Monday, July 09, 2007 9:22 AM Subject: Re: [fpc-devel] LoadLibrary fails if called from a DLL I fi

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-09 Thread Marco van de Voort
> I fixed DLL related a few weeks ago. You need to get more fresh snapshot and > test it. (I happened to test a couple of Unix related problems, and the issues are still there, most notably the initialization sections not being run. I assume that is not by design?!?) ___

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Micha Nelissen
Mark - WBIsoft.COM wrote: > Thanks :o) Yury and Mark; people, please trim your quotes .. a 28KB email to say 'thank you' is a bit wasteful. Thanks, Micha ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/list

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Mark - WBIsoft.COM
ct: Re: [fpc-devel] LoadLibrary fails if called from a DLL On Sun, 08 Jul 2007 20:12:39 +0300 Yury Sidorov <[EMAIL PROTECTED]> wrote: Get sources from svn using this path: http://svn.freepascal.org/svn/fpc/branches/fixes_2_2 I dont know where snapshots can be found. Yury. You can downlo

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Mark - WBIsoft.COM
Thanks :o) - Original Message - From: Yury Sidorov To: FPC developers' list Sent: Sunday, July 08, 2007 6:24 PM Subject: Re: [fpc-devel] LoadLibrary fails if called from a DLL Go to sources folder and execute: make distclean make all make install SNAPS

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Yury Sidorov
ubject: Re: [fpc-devel] LoadLibrary fails if called from a DLL Get sources from svn using this path: http://svn.freepascal.org/svn/fpc/branches/fixes_2_2 I dont know where snapshots can be found. Yury. - Original Message - From: Mark - WBIsoft.COM To: FPC developers

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Vincent Snijders
On Sun, 08 Jul 2007 20:12:39 +0300 Yury Sidorov <[EMAIL PROTECTED]> wrote: > Get sources from svn using this path: > http://svn.freepascal.org/svn/fpc/branches/fixes_2_2 > > I dont know where snapshots can be found. > > Yury. You can download a lazarus snapshot for win64 with fpc 2.1.5 (i.e. f

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Mark - WBIsoft.COM
nt: Sunday, July 08, 2007 8:06 PM Subject: Re: [fpc-devel] LoadLibrary fails if called from a DLL Thanks, can you suggest the best way (ie. the correct url) for me to run with the svn.exe command to get the latest snapshot as I'm unsure where the x86_64 stuff is - esp as it would

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Yury Sidorov
current x86_64 snapshot version ? Thanks Mark - Original Message - From: Yury Sidorov To: FPC developers' list Sent: Sunday, July 08, 2007 6:05 PM Subject: Re: [fpc-devel] LoadLibrary fails if called from a DLL Hi, I fixed DLL related a few weeks ago. You need to get mor

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Mark - WBIsoft.COM
anks Mark - Original Message - From: Yury Sidorov To: FPC developers' list Sent: Sunday, July 08, 2007 6:05 PM Subject: Re: [fpc-devel] LoadLibrary fails if called from a DLL Hi, I fixed DLL related a few weeks ago. You need to get more fresh snapshot and t

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Yury Sidorov
Hi, I fixed DLL related a few weeks ago. You need to get more fresh snapshot and test it. Yury. - Original Message - From: Mark - WBIsoft.COM To: FPC developers' list Sent: Sunday, July 08, 2007 7:59 PM Subject: Re: [fpc-devel] LoadLibrary fails if called from a DLL Hi

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Mark - WBIsoft.COM
Hi Yury, specifically the file was lazarus-0.9.23-fpc-2.1.5-20070531-win64.exe Hope this helps ? Mark - Original Message - From: Yury Sidorov To: FPC developers' list Sent: Sunday, July 08, 2007 5:28 PM Subject: Re: [fpc-devel] LoadLibrary fails if called from

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Mark - WBIsoft.COM
y 08, 2007 5:28 PM Subject: Re: [fpc-devel] LoadLibrary fails if called from a DLL Hello, How old is snapshot you are using? Yury Sidorov. - Original Message - From: Mark - WBIsoft.COM To: fpc-devel@lists.freepascal.org Sent: Saturday, July 07, 2007 11:51 AM Subj

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Yury Sidorov
Hello, How old is snapshot you are using? Yury Sidorov. - Original Message - From: Mark - WBIsoft.COM To: fpc-devel@lists.freepascal.org Sent: Saturday, July 07, 2007 11:51 AM Subject: [fpc-devel] LoadLibrary fails if called from a DLL Hi, I'm having a strange issue wit

[fpc-devel] LoadLibrary fails if called from a DLL

2007-07-07 Thread Mark - WBIsoft.COM
Hi, I'm having a strange issue with the LoadLibrary call in the 64bit beta version of the free pascal compiler (fpc 2.1.5 with lazarus 0.9.23 beta) - standard install from the sourceforge download and installed in the default c:\lazarus directory. I have written a function in FPC that I have