There was a thread yesterday about issues with the servers. This may be
related.
Jeff
On Thu, Jun 6, 2019 at 4:58 AM Dennis wrote:
> Does it only happen to me?
>
> Dennis
> ___
> fpc-pascal maillist - fpc-pascal@lists.freepascal.org
> http://lists.
Isn't that negative number 0xC005 in hex? If that's the case, it's an
Access Violation and not Disk Full.
Jeff.
On Wed, May 15, 2019 at 11:44 AM James Richters <
ja...@productionautomation.net> wrote:
> It's a simple single thread console app. I found my problem... years
> ago I implemen
Use the tool that gives you the flat view, then create mail filters in
Thunderbird to move messages to the appropriate folders, and then apply the
filters to the existing messages. It may take a while to build the
filters, but you'd want to do that anyway so that new messages go to the
right place
On Thu, Oct 4, 2018 at 4:02 AM wrote:
> This is one of the most useless collection of floating point myths I
> have seen since a long time.
>
> With rolling a dice you mean, that the comparisons are only
> randomly correct or what)? Since the floating-point numbers
> are well-defined and exact
You should be able to use the library from Pascal directly rather than
trying to recreate it from scratch.
Jeff
On Sun, Jul 29, 2018, 10:20 AM Anthony Walter wrote:
> I'm not sure what would be the correct list for this question since it
> involves writing Pascal code and not Lazarus, so here g
Just because someone is bound to suggest it, might as well be me.
type
TRecA = record
a: string;
b: string;
end;
type
TRecB = record
A: TRecA;
c: integer;
d: integer;
end;
RecB.A := Re
Wouldn't this...
MyConnection.Create(Nil);
// MyQuery.Create(Nil);
... be more like...
MyConnection := TZConnection.Create();
MyQuery := TQuery.Create();
Then at the end you'd need...
MyQuery.Free();
MyConnection.Free();
Jeff
On Fri, Feb 16, 2018 at 10:25 AM, Terry A. Haimann wrote:
> Hel
On Fri, Jun 16, 2017 at 1:49 PM, James Richters <
ja...@productionautomation.net> wrote:
>
> I would like to do something like:
> agg^.Font('%windir%\Fonts\ConsolaB.ttf' ,45 );
>
>
You should be able to use SHGetFolderPath() with CSIDL_WINDOWS. Not sure
you can always count on Fonts being a subfo
On Thu, Feb 2, 2017 at 4:01 AM, Mark Morgan Lloyd <
markmll.fpc-pas...@telemetry.co.uk> wrote:
>
> It's interesting that the real (wallclock) and user times are consistently
> in a different sequence. /If/ the user time is to be believed, there's a
> very small advantage to counting down even if t
> What do you mean, your question is not clear ?
Since r is set to 256, the [0..r] probably doesn't work, even with the
range check turned off. So I assume he's really asking for larger sets.
Jeff
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
I would think this part answers that question: "The warning means that no
value has been *explicitly* assigned to these variables (which *may
indicate a logic error* in the code), not necessarily that they contain an
unpredictable value." (emphasis mine)
Jeff.
Also, please make a ZIP version available for download on Windows. Many
corporate firewalls completely block downloading EXE files from non-trusted
sites (and getting a site on the trusted list is non-trivial, to say the
least).
Thanks,
Jeff.
___
fpc-
Or you can do the right thing and not use the contents of the video memory
as if it were a variable to be used to check if you have or have not done a
particular thing, which is what it looks like your original code does.
This would require understanding more of what the program you are porting
wa
Or always allocate and free the buffer in the calling program and load the
contents into the buffer in the dll. This way you never have to worry
about allocating in one place and freeing in the other. Windows API does
stuff like this a lot.
In the DLL:
Procedure GetSomeString(StringPointer: Poi
Thumbs up.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Just a guess here, but I would think there have now been more posts in this
thread than the total number of programs to use this function. Probably by
a wide margin.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/
On Mon, Feb 18, 2013 at 8:02 AM, Lukasz Sokol wrote:
>
> Maybe he one and true answer for all of the above would be to have:
>
> try vs try
> try except
> try finally
> except except
> end;end;
> final
On Mon, Feb 11, 2013 at 1:48 PM, Giuliano Colla <
giuliano.co...@fastwebnet.it> wrote:
> On 02/11/2013 04:45 PM, DaWorm wrote:
>
>> Lost in the shuffle, wasn't this originally found in Lazarus? Sounds
>> like a bug report for incorrect handling of INI files wh
Lost in the shuffle, wasn't this originally found in Lazarus? Sounds like
a bug report for incorrect handling of INI files when the config directory
is missing needs to be filed in their bug tracker.
Jeff.
___
fpc-pascal maillist - fpc-pascal@lists.fr
Very tedious, but you could create a wrapper unit and/or class for each
library, and expose a prefixed name instead of the original.
Jeff,
On Aug 21, 2012 3:31 AM, "Jonas Maebe" wrote:
>
> On 20 Aug 2012, at 18:15, Timothy Madden wrote:
>
> > This story is inspired from a real case when *lots* o
Why sprinkle ifdefs everywhere? Change all calls to Random with calls to
FastRandom, and have one ifdef there that uses Random in Delphi and a fast
substitute in FPC. Still readable, still fast, and you would be done by
now instead of spending so much time arguing about it. Plus, should Delphi
d
You can also use one of the serial ports along with the BOOT0, BOOT1 and
RESET lines to program. A TTL to RS232 adapter, or FTDI USB chip will also
be needed. The protocol is easy, took me about a day to get working from
Delphi (using the serial handshake lines as IO to drive RESET and BOOT0).
On
On Mon, Jul 25, 2011 at 11:53 AM, Mark Morgan Lloyd
wrote:
> Link below looks directly relevant: it contains polygon data for each
> timezone, subject to knowing the current location.
>
> http://efele.net/maps/tz/world/
>
> I've confirmed that files are accessible (i.e. not subscription-only) but
On Wed, Jun 15, 2011 at 5:08 PM, Ludo Brands wrote:
> We were talking to make fpc easier to install for the average ubuntu user.
> This is as clear as mud for the average user I would say.
Well, one would hope the average developer would be a bit farther
along the learning curve than the average
IMO, a dynamic array should never be part of a structure that is
passed to BlockWrite in the first place. Not that I use many dynamic
arrays in the first place, but to me they pass over the border between
simple data types (that are fine for BlockWrite) and managed data
types (that have quite a lo
On Fri, Apr 1, 2011 at 9:09 AM, Bart wrote:
>> The test case was an invalid filename. Is this the primary failure
>> method?
>
> This was merely to demonstrate the possibility of the destructor failing.
What other things would make the destructor of the TIniFile fail? It
seems to me like a lot
On Fri, Apr 1, 2011 at 6:28 AM, José Mejuto wrote:
> An exception in free is an extreme rare condition, but it could
> happend, and is better that your software stops to work than notify 2
> years later that your 2 zillions of INI files were not written at all
> because the user write a non valid
On Wed, Mar 16, 2011 at 11:25 AM, Marcos Douglas wrote:
>> I also had to make sure the code was
>> being ran as an administrator.
>
> That's nice. Can you share the function?
Again, don't remember where I found this, Google or MSDN probably.
Only tested in Delphi.
function IsAdmin: Boolean;
{ --
On Wed, Mar 16, 2011 at 8:45 AM, Marcos Douglas wrote:
> The program was compiled in 32-bits but I have to know what kind of OS
> is running because my program needs to install somethings.
That's why I needed it too. In my case, my code is always 32 bit, but
to install a smart card NULL driver,
I've used this in Delphi 32 and it seems to work. Forgot where I
pulled the basic info. Probably doesn't do much on native 64 bit.
function Is64BitOS: Boolean;
type
TIsWow64Process = function(Handle:THandle; var IsWow64 : BOOL) :
BOOL; stdcall;
var
hKernel32 : Integer;
IsWow64Process : TIs
On Tue, Nov 2, 2010 at 11:45 AM, Marcos Douglas wrote:
> If I found a match, I need to know which page the
> token was found...
>
>
That may prove most difficult, since I doubt your pdf to text will preserve
that very well.
Jeff.
___
fpc-pascal maillis
On Tue, Sep 21, 2010 at 9:39 AM, Michael Van Canneyt wrote:
> begin
>> Result:=ChangeFileExt(Paramstr(0),'.log');
>> end;
>>
> Function TEventLog.DefaultFileName : String;
>
On Windows, this can be problematic. Win7 for sure, usually Vista, and any
version of Windows that has
Project Jedi has translations for Delphi. I don't know how easily
they could be used for Linux and the PC/SC Lite used there, but it
could be a helpful start.
If you don't mind me asking, which Mifare reader supports PC/SC? I
use both chipcard and Mifare readers, but hadn't seen a PC/SC Mifare
r
33 matches
Mail list logo