> -Opprinnelig melding-
> Fra: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] På vegne av
> Henry Vermaak
> Sendt: 7. november 2006 15:04
> Til: FPC-Pascal users discussions
> Emne: Re: [fpc-pascal] Resending: Trying to convert some C code
>
> >BN_ULONG is just another way of saying unsi
Will try this to , thanks for the tip :)
> -Opprinnelig melding-
> Fra: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] På vegne av
> Felipe Monteiro de Carvalho
> Sendt: 7. november 2006 12:42
> Til: FPC-Pascal users discussions
> Emne: Re: [fpc-pascal] Resending: Trying to convert some
Thanks for the replies
> -Opprinnelig melding-
> Fra: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] På vegne av
> Henry Vermaak
> Sendt: 7. november 2006 12:19
> Til: FPC-Pascal users discussions
> Emne: Re: [fpc-pascal] Resending: Trying to convert some C code
>
> i'm no guru, but her
Hello again
My 5 year old kid did send this before I got it ready,
So here goes again..
Would any FPC guru help me converting this C code?
(it's from bn.h/libeay32.dll)
typedef struct bignum_st BIGNUM;
struct bignum_st
{
BN_ULONG *d;
int top;
int dmax;
int neg;
int flags;
};
Hello
Would any FPC guru help me converting this C code?
(it's from bn.h/libeay32.dll)
typedef struct bignum_st BIGNUM;
struct bignum_st
{
BN_ULONG *d;
int top;
int dmax;
int neg;
int flags;
};
char *BN_bn2hex(const BIGNUM *a);
I guess my problem is understanding pointers, and ho
> Please post the complete code.
Here goes (Typed from my Linux box, as i don't have filesharing going
there):
< Start Unit1
Unit unit1;
{$mode objfpc}{$H+}
Interface
Uses
Classes, SysUtils;
Type
threadtest = class(tthread)
constructor Create;
procedure Execute: override;
End
> -Opprinnelig melding-
> Fra: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] På vegne av
> Florian Klaempfl
> Sendt: 2. juli 2006 12:46
> Til: FPC-Pascal users discussions
> Emne: Re: [fpc-pascal] writeln in threads on linux
>
> > And if this is a "wrong way" of doing this thing, coul
> > Can anyone explain why i get output like this in a small
> test program:
> > Inside Thread
> > Main Loop
> > Inside Thread
> > Main Loop
> > Inside Thread
> > Main Loop
> That's because the line terminator!
> #10#13 or #13#10 acts differently
> So, check
Can anyone explain why i get output like this in a small test program:
Inside Thread
Main Loop
Inside Thread
Main Loop
Inside Thread
Main Loop
On Windows the output are lined up just as I would expect:
Inside Thread
Main Loop
Inside Thread
Main