On 1/12/06, L505 <[EMAIL PROTECTED]> wrote:
>
> > > later with results... I still don't know why your dll was working and
> > > not mine. If this is because of the smartlinking issue... well...
> > > hum... I don't know what to say.
> > >
> >
> > Me neither, what was the error? I was hoping it was simply because you 
> > forgot to
> > rename mydll.dll.dll to mydll.dll or something simple like that. But I 
> > assume you
> > renamed it and it found the DLL correctly when statically pulling it in on
> > application loading?
> >
>
> Also maybe your DLL problem is somewhat related to Tony Pelton's DLL problem 
> he had.
> He said when he used Lazarus his DLL didn't work, but when he chose the FP 
> IDE his
> DLL worked. Which compiler version are you using with Lazarus and which 
> Lazarus
> version?

I was using the latest build 20060110 (an auto-generated setup for
windows). My dll size with or without smart-linking was around 7xx KB
and was not working with vdf 11.1, but was working in vba (office 97,
for testing) and delphi 3; both under win98.

> To me this sounds like certain compilers don't create good DLL's but FPC 
> 2.0.2 does.
> Or like you say it could also be a case of a non-smartlinked RTL causing the 
> problem,
> but we could try a non-smartlinked RTL with fpc 2.0.2 and see what happens 
> too...

I would go for the compiler doing good or no good dll. I recompiled
with 2.0.2 and all is working, with or without smart-linking. The
difference in size few KB: 278kb with sm, 280kb without (an both
works).

So the 2.0.2 compiler under windows is doing a better job for dll, at
least for the 'vdf 11.1' language since it was the only problematic
language.

--
Alexandre Leclerc

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to