-- Forwarded message --
From: Andrew Brunner
Date: 2009/3/20
Subject: Re: Re: [Lazarus] Trouble with PostGres access
To: Arí Ricardo Ody
I suspect that the fact that you have an old SSLEAY32.DLL is your
problem. I can't find any mention of the Easy SSL project anymore
That's the file "SSLEay.dll" Just copy it to the program's folder and
try again at runtime... what happens?
2009/3/20 Arí Ricardo Ody :
> I seek for SSLEasy.dll in Google and in my local
> disk. I can't find it. I only found SSLEay.dll
>
> May you help me?
>
> [ ]
>
> Ricardo
> At 12:10 20/3/2009
The only feedback I have is that it appears that the windows client
postgresql library requires SSL sockets. And it uses SSLEasy. I
recall that under windows, all you need to do is get the SSLEasy.DLL
into the program's directory and then, the Client component should be
able to find that DLL.
2
What do you do with the Create, Execute and Destroy methods? Meaning
are you declaring any Streams, Objects or Structures and not freeing
them? Or is this problem replicated by just barely implementing
threads?
> I have an application which uses Threads, memory usage by the application
> does n
Will do. Thanks Michael.
On Tue, Mar 3, 2009 at 2:18 AM, Michael Van Canneyt
wrote:
>
>
> On Mon, 2 Mar 2009, Andrew Brunner wrote:
>
>> Can anyone tell me if the MySQL Database component in Lazarus does
>> Parameter Binding for Insert and Update?
>
> Yes.
>
don't exist (both Tables/Fields) etc.
I'm willing to contribute financially for each component with these
features but you must agree to check them back in to Lazarus SVN so we
can all benefit from them.
If you can help, have experience, and want to make some quick cash email me.
Actually, I'm thinking you're creating a memory problem with using
fillchar and passing the pointer to the dynarray instead of the
element. Try using FillChar with the zero element again... The
reason why the construction maybe failing is b/c a potential memory
leak created by not using the zero
On Thu, Jan 22, 2009 at 7:20 AM, Lee Jenkins wrote:
> After working quite a few hours to get this to work yesterday, I have found
> the
> solution:
>
> Start > All Programs > Microsoft Visual Studio 2008
>
> --
> Warm Regards,
>
Lee, with the hope of not going too far off topic... I'm running
Ub
I recently had an issue with building and needed to pass the linker a
-fPIC parameter. I went to Project/Compiler Options/Linking and added
-fPIC parameter and put a check mark near the option to enable the
linking options and still had the error.
I reported the issue as an FPC bug (
http://bugs.
also declared the function using 'var' as you suggested
>
> function FieldValueAsString(var fsbuffer: TByteBuffer; fitype,fisize:
> integer): string;
>
> But my app is still falling over at the same point.
>
> 2009/1/19 Andrew Brunner :
>> Hi Dave,
>>
>
Hi Dave,
My first comment would be you must declare the input as a variable.
Next, I probably would type the Array out as well before using it.
Type TByteBuffer=Array of Byte;
function FieldValueAsString(var fsbuffer:TByteBuffer; fitype,fisize:
integer): string;
Byte arrays should not generate
teBuffer(sBuffer[1],iLength);
> Finally
>FreeAndNil(FS):
> end;
>
> My question is: Does the FreeAndNil line free the stream? If I want to
> write again to the file, don't I need to instantiate the FS
> TFileStream object again using TFileStream.Create?
>
> 2008
System.Move()
On Thu, Jan 8, 2009 at 8:05 AM, Dave Coventry wrote:
> I have a file into which I want to put a long integer:
>
> 00 00 19 7A
>
> The file expects the value in the form:
>
> buffer[0]:=122;
> buffer[1]:=25;
> buffer[2]:=0;
> buffer[3]:=0;
>
> I am then intending to write this buffer
You could c write specific calls to write a byte or segment of contiguous bytes.
FS.Seek(128,soFromBegining);
FS.WriteBuffer(fsBuffer[128],1);
FS.Seek(132,soFromBegining);
FS.WriteBuffer(fsBuffer[132],1);
On Tue, Jan 6, 2009 at 7:55 PM, Dave Coventry wrote:
> I've started using TFileStream si
On Mon, Dec 22, 2008 at 10:09 AM, Eric March wrote:
> I have SQLdb component installed in Lazarus 0.9.24 beta x86_64-linux-gtk
> on Ubuntu 64 bit linux.
> I tried running mysql but get an error which needs FPC 2.2.3 or later.
> I can only find RPM files
> for that source and I can't install it. I
Ok, so if you want to use TFileStream you would just
FS.Seek(0,sofromEnd);
FS.Write(MyRec,SizeOf(MyRec));
On Fri, Dec 19, 2008 at 7:49 AM, Andrew Brunner
wrote:
> procedure Append();
> var
> sBuffer:string;
> iLength:integer;
> begin
>
> sBuffer:='My Appended
procedure Append();
var
sBuffer:string;
iLength:integer;
begin
sBuffer:='My Appended String'#13#10;
iLength:=Length(sBuffer);
FS:=TFileStream.Create(sFileName, fmshareDenyWrite);
Try
FS.Seek(0,soFromEnd);
FS.WriteBuffer(sBuffer[1],iLength);
Finally
FreeAndNil(FS):
end;
I've been experiencing problems with SOs under Linux and am trying to
develop a "Plugin" system for my Server I'm porting to Lazarus. I can
get these Plug-ins to Load and Operate just fine (Ubuntu). I can't
however Unload them. I want to be able to use the
DynLibs.UnloadLibrary to unload a libra
Does anyone have any idea why Lazarus won't compile on Redhat Fedora 8?
We've got a discussion going on the forums but no comments. At least
two of us on the forum have the same issue. The message is from ld
regarding libglib. I have verified that a file with the actual library
is there - not j
I have a project that I'm considering opening up but require commitments
first.
It's needing work but the foundation is complete. Anyone interested in an
open Social Computing server for Lazarus?
If so let me hear from you,
Andr
> When not coding, we might start some cultural exchange, to compare the
> virtues of tequila with grappa, sljivovica (zeljko, do you listen?),
> cajuina (osvaldo are you there?) and more contributors, if available
In North Carolina we have great sweet wine Scuppernong. If the wine is
goo
Test from all that is Love on this Valentines Day! Server from Nazareth and
now Durham NC!
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
22 matches
Mail list logo