ln;
End.
See full example attached.Of course the program is intended to run on
versions of random versions of windows, many of which had Ansi capability
disabled, then this would not be a potential solution. Windows 3.11, Windows
95 and Windows 98 had Ansi capability, but Windows 2000, Windows X
> note that constants related to the windows 10 virtual terminal are not
> defined in FPC yet.
Correction: They were not added as of 3.0.4.rc1, they have been added now, not
sure exactly which version they are/were included.
James
-Original Message-
From: fpc-pascal [mailto:fpc-
Technically the anti-abuse field would produce the output of: Fatal Syntax
error, ";" expected but "identifier WRITELN" found
because there is no semicolon following the sample code. :DI guess maybe
it's after an if statement and before an else so it doesn't need a semicolon?
Silliness as
ons of the above, does not matter.
AB
On 01/16/2018 12:52 PM, James Richters wrote:
> Technically the anti-abuse field would produce the output of: Fatal Syntax
> error, ";" expected but "identifier WRITELN" found
> because there is no semicolon following the sample c
>I have written a few small windows type apps, but still prefer console. More
>of the programming is for function instead of display.
I also prefer ‘console’ but I prefer it for heavy graphical UI applications as
well as functional types of programming.I cannot stand programs the try to
I am trying to figure out how I can remove the last line of a text file to
replace it with a new one. I can do this with typed files with seek... but I
am confused on how I could do this with just a text file.
If I use:
Var Myfile: Text;
Mydata:String;
Assign(myfile,'test.txt'
Thank you for the advice and for the example. I don't know what is considered a
large file.. these files can be maybe about 1000 lines long, most will be less,
would this solution be suitable for files of this size?
Is Tstringlist something like an array of strings?
-Original Message-
text file
Op 03-04-2018 13:58 schreef James Richters:
> Thank you for the advice and for the example. I don't know what is considered
> a large file.. these files can be maybe about 1000 lines long, most will be
> less, would this solution be suitable for files of this size?
>
I have a whole section of diagnostic writeln's in a program, and it's tedious
to comment them all out/in as needed. I'm curious if doing something like
Const
diagnosticdetail=false;
If diagnosticdetail then Writeln('diagnostic info');
Is the same as
// Writeln('diagnostic info');
And t
I'm having an issue with one of my programs that I suspect is being caused by a
recursive loop... in simplified form... something like this:
Procedure Proc1;
Begin
Proc2;
End;
Procedure Proc2;
Begin
Proc1;
End;
I ended up getting a runtime error and the report showed something like above,
$00401A43:
EInvalidOp: Invalid floating point operation
$00401A43 main, line 22 of I:/Programming/Test/testmath.pas
Sqrt(-1*V1)
It seems to me that the whole purpose of +Inf, -Inf, and NaN was so you could
evaluate complex formulas and NOT get a runtime error… Is this behavior just a
bug th
manity.com/Infinity_Minus_Infinity.html
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Marco van de Voort
Sent: Wednesday, June 20, 2018 9:21 AM
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal] math with infinity and NaN
In our previo
Is there a way to prevent getting the runtime error?
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Florian Klämpfl
Sent: Wednesday, June 20, 2018 4:59 PM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] math with
>Please read the standard, exceptions are part of it.
Not much of a 'standard' if it's full of exceptions so everyone just does it
however they want and therefore nothing is actually standard.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
mask... like ln(-1) or 0/0 why do some cause the exception and
others do not?
If someone wanted to volunteer time to adjust the math unit to always behave
the same way, would it be something that would be accepted or is there some
fundamental reason why it is like this?
James
-Original Me
>For operations producing results in floating-point format, the default result
>of an operation that
>signals the invalid operation exception shall be a quiet NaN that should
>provide some diagnostic
>information (see 6.2).
If it shall be a quiet NaN doesn't that mean it would never cause the
-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
g...@wolfgang-ehrhardt.de
Sent: Thursday, June 21, 2018 2:46 AM
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal] math with infinity and NaN
Quoting James Richters :
> SetExceptionMask(GetExceptionM
discussions
Subject: Re: [fpc-pascal] math with infinity and NaN
Zitat von James Richters :
>> For operations producing results in floating-point format, the
>> default result of an operation that signals the invalid operation
>> exception shall be a quiet NaN that should provi
On 7/21/2018 1:43 PM, Ben Grasset wrote:
Shouldn't the attribute tags just be put wherever it's easiest for the
compiler to deal with them?
That would be bending the language to fit the implementation, when it
should be the other way around.
I think the vast majority of people care far
Is there a copyfile for Freepascal I can use without installing Lazarus?
I found:
http://wiki.freepascal.org/CopyFile
but that seems to only work with Lazarus.
I just want to make a copy of a file into a different directory and maintain
it's timestamps etc
Any suggestions?
and where to copy them.
James
-Original Message-
From: fpc-pascal On Behalf Of
leledumbo via fpc-pascal
Sent: Thursday, April 18, 2019 2:45 AM
To: fpc-pascal@lists.freepascal.org
Cc: leledumbo
Subject: Re: [fpc-pascal] CopyFile for FreePascal without Lazarus?
> but that seems
it somewhere. I started to add some missing functions to the
unit I have and to convert it to use doubles.. etc, but it's going to be a long
tedious process.. and I'll be wasting my time if I could have just used
something that is already out there.
Any Ideas?
James
y ^ gets left out of parameters
with no quotes or why windows would put two of them if I call the program?
I'm sure there is some kind of reason, but I can't find any information about
why ^ is treated differently than any other character.
James
_
A program I have been working on for years has suddenly developed a bug in it
and at a certain point, it is just terminating and not giving me any runtime
errors or any error of any kind. It's just running running... running...
then BAM - GONE, no explanation%errorlevel% is -107374
Wednesday, May 15, 2019 9:17 AM
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal] unexpected termination with no errors
Hi,
On Wed, 15 May 2019, James Richters wrote:
> Has anyone encountered anything like this before or know how I can
> make sure I always get the maximum amount of de
go.
James
From: fpc-pascal On Behalf Of Gary
Doades
Sent: Wednesday, May 15, 2019 12:11 PM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] unexpected termination with no errors
Windows represents exception codes as an unsigned int. The error -1073741819 is
actually
into the category of “things zero or less” which made my batch file treat it
as a normal exit.
It was my batch file that was failing to function correctly.
James
From: fpc-pascal On Behalf Of James
Richters
Sent: Thursday, May 16, 2019 7:31 AM
To: 'FPC-Pascal users discus
Is there a way I can detect that a user has pushed the red X in the upper right
corner to close the console window in a free pascal console application so I
can save some files before the program terminates?
James
___
fpc-pascal maillist - fpc
Could I please get an example of this? I see lots of examples of how to do it
in C but when I try to translate to pascal I always struggle a quite a bit.
James
From: fpc-pascal On Behalf Of Henry
Vermaak
Sent: Sunday, May 19, 2019 8:39 AM
To: FPC-Pascal users discussions
Subject: Re
aak
Sent: Sunday, May 19, 2019 11:44 AM
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal] Detecting console close with red X on windows
On Sun, 19 May 2019 at 14:33, James Richters
wrote:
>
> Could I please get an example of this? I see lots of examples of how to do
> it in C
Thanks for clarifying, I have everything working well now in my real program,
I didn’t need to do anything other than save and close some files, so I have
plenty of time to get everything done.
James
From: fpc-pascal On Behalf Of Sven
Barth via fpc-pascal
Sent: Sunday, May 19, 2019
.Free…. But I’m not sure where that would be documented.
Also can someone explain that the purpose of .Destroy is and why I would use
.Free Vs .Destroy ?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
Thank you very much for the explanation and examples of this! I am glad you
pointed out the FreeAndNill() function, I will defiantly be needing that.
James
-Original Message-
From: fpc-pascal On Behalf Of Michael
Van Canneyt
Sent: Monday, May 20, 2019 8:03 AM
To: FPC-Pascal users
detailed debug reports that get me to the
exact command that caused the problem and other times I have some information
but then it just stops and I have nothing following the hex addresses.
James
___
fpc-pascal maillist - fpc-pascal
emory
and that stays consistent, so I don’t think I have a memory leak anywhere.
Any ideas?? I’m running on Windows 10, compiling with FPC 3.0.4RC1 with
the FPC text IDE.
James
From: fpc-pascal On Behalf Of James
Richters
Sent: Tuesday, May 21, 2019 7:35 AM
To: 'FPC
I don’t seem to have FreeThenNil I’m using FPC 3.0.4RC1 I don’t use Lazarus..
maybe it’s a Lazarus thing… or maybe it’s in a different unit
plotdraw.pax.pas(20,7) Error: Identifier not found "FreeThenNil"
James
From: fpc-pascal On Behalf Of
Giuliano
e if
it's really a memory related issue? Something like a writeln for stack space
etc?
James
-Original Message-
From: fpc-pascal On Behalf Of Marco
van de Voort
Sent: Tuesday, May 21, 2019 9:51 AM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] RPos Causing Access violati
to get it to work...
maybe I am not cleaning up or resetting the way I should be. I'm going to
post that function with a separate title to make it clear it's a new topic
James
-Original Message-
From: fpc-pascal On Behalf Of Bart
Sent: Tuesday, May 21, 2019 12:50 PM
Writeln;
File_Stringlist.add(Filenamestr);
Until TFileName.lpstrFile[loopx+1]=#0;
Textcolor(14);
If File_Stringlist.Count=1 then
Writeln(File_Stringlist.Count,' File Selected')
Else
Writeln(File_Stringlist.Count
to manage tStringList
James
-Original Message-
From: fpc-pascal On Behalf Of Cyrax
Sent: Tuesday, May 21, 2019 4:55 PM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] Getting multiple files from GetOpenFileNameA
On 21.5.2019 22.12, James Richters wrote:
> This is the function I
nFileNameA
El 21/05/19 a las 23:17, James Richters escribió:
> I have it defined with the program variables:
>
> Here are all my Uses and Vars:
>
> Uses
>ptcgraph,sysutils,Windows,Commdlg,Classes,CRT;
>
> Var
> TFilename : TOpenFileNameA;
&
directory I expect to be in.
Any Advice or suggestions on any of this, or on how I could improve the
structure or methods of this program are greatly appreciated.
James
{$mode objfpc}{$H+}
//
https://docs.microsoft.com/en-us/windows/desktop/api/commdlg/nf-commdlg-getopenfilenamea
I’m not clear about when they need one #0 or two. I thought it was just
.lpstrFile to make it clear there weren’t more file names in it.. so one #0
between each name and double #0 at the end.. maybe they all need double #0 at
the end?
James
From: fpc-pascal On Behalf Of
Alexander
Oh that makes sense… so it would know when there wasn’t another string. I’ll
put another #0 that seems to be the correct way.
James
From: fpc-pascal On Behalf Of
Alexander Grotewohl
Sent: Thursday, May 23, 2019 12:22 PM
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal] Getting
directory, so I would like to
learn the proper way to achieve both of these.
Thank you again for the help and the great suggestions! It’s very much
appreciated.
James
{$mode objfpc}{$H+}
//
https://docs.microsoft.com/en-us/windows/desktop/api/commdlg/nf-commdlg-getopenfilenamea
e to solve all the issues I
have with one mode ore the other... that would take years to accomplish.
Any help or suggestions are greatly appreciated.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I see how {$ModeSwitch } work now.. I have far more code that only works in
{$Mode TP} so I supposed I'll have to just re-write things to stay compatible
with that.
Is there a {$Modeswitch } feature I can turn on to allow the % to specify
binary numbers when in {$Mode TP}?
low modifying a For loop variable, which works in
{$Mode TP}
For X := 1 to 10 do
Begin
If somethingmakesmewanttoexit then
X:=10;
If somethinmakesmewanttoskipthenextthing then
Inc(X);
End;
James
-Original Message-
From: fpc-pascal On Behalf
strings into some sort of buffer myself and then get the hash
from that?
Any advice is greatly appreciated
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Thanks you!
That got me on the right path.
Here's the working sample:
Hash := Md5Print(MD5String(MyStringlist.Text));
James
-Original Message-
From: fpc-pascal On Behalf Of Bo
Berglund
Sent: Thursday, July 4, 2019 11:49 AM
To: fpc-pascal@lists.freepascal.org
Subject: Re:
omehow get the value of the
variable specified by the name here ) ,4));
End;
Begin
MyVariableName:= 'MyVariable1';
ShowVariable(MyVariableName);
End.
Is such a thing possible?
James
___
fpc-pascal maillist - fpc-pascal@lists.
name with string variable
On Sun, 7 Jul 2019, James Richters wrote:
> This might sound silly, but is it possible to somehow specify a variable
> with a string containing the name of the variable?
>
> For example:
>
> Var
> MyVariable1 : Word;
> MyVariableName
Thank you for the answer and the example... I didn't know there was such a
thing as a variable dictionary, but It looks like that may work for me, I'll
give it a try!
James
-Original Message-
From: fpc-pascal On Behalf Of zh loza
Sent: Sunday, July 7, 2019 4:34 PM
To: FPC-Pa
Generics.Collections seems to be something that was added after 3.0.4, I've
downloaded the current FPC source code, but I’m not sure how to build it.. can
someone point me in the right direction on how to compile the current source
code?
James
-Original Message-
From: fpc-pasca
I'm on windows
Generics.Collections seems to be something that was added after 3.0.4, I've
downloaded the current FPC source code, but I’m not sure how to build it.. can
someone point me in the right direction on how to compile the current source
code?
James
-Origin
Thank you, using fgl; did work.
Am I correct in assuming that if I want other types of Variables I would change
PWord in
specialize TFPGMap;
to something else, maybe PString, PDouble, PLongint etc?
James
-Original Message-
From: fpc-pascal On Behalf Of Stefan
V. Pantazi
Sent
another array also referenced by the same string and then I could make
my calls like that.
James.
From: fpc-pascal On Behalf Of
Santiago A.
Sent: Monday, July 8, 2019 3:40 PM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] specify variable name with string variable
El
I’m curious how use classes together with published properties would work, is
there a sample of how to use this somewhere?
James
From: fpc-pascal On Behalf Of Sven
Barth via fpc-pascal
Sent: Monday, July 8, 2019 5:31 PM
To: FPC-Pascal users discussions
Cc: Sven Barth
Subject: Re: [fpc
not generate this warning. The Fact that
there is a warning about it indicates to me that there must be a better way.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I'm using Windows 10, but I may in the future want to make a Linux version of
my program. I guess that's what the warning is about.. that fAHidden won't
detect hidden files on some operating systems?
James
-Original Message-
From: fpc-pascal On Behalf Of
wkitt...@wind
I appreciate the explanation it makes sense to me now.
James
-Original Message-
From: fpc-pascal On Behalf Of
Giuliano Colla
Sent: Saturday, July 20, 2019 2:46 PM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] Warning: Symbol "faHidden" is not portable
Il 19/
application. Figuring
out how to interface with the device at all is what is holding me up, I don’t
have any experience with direct interfacing to any USB devices.
Any suggestions?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
I am using synapse for RS-232 and I have played with ethernet with it with good
results. This device I am trying to use now is only available in USB and it's
NOT a USB-Serial device.. The sample program I am referencing accesses it
thorough an HID interface
James
-Original Me
tion method or demo
I could use to access this USB HID device?
James
-Original Message-
From: fpc-pascal On Behalf Of Brian
Sent: Thursday, July 25, 2019 10:41 PM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] USB Human Interface Devices
Try the libusb library Free Pasc
PC-Pascal users discussions
Cc: Dimitrios Chr. Ioannidis
Subject: Re: [fpc-pascal] USB Human Interface Devices
Hi,
On 2019-07-26 13:39, James Richters wrote:
< snip >
> Anyone have any suggestions for an FPC only console application method
> or demo I could use to access this USB H
>>Due to my lack of understanding of Windows, I've not yet taken over his
>>changes, because I wanted to wait for confirmation from other users. So if
>>James had some feedback, I'd appreciate it greatly.
I'm trying to get this to work on windows, I'm h
I can figure that out.
James
-Original Message-
From: fpc-pascal On Behalf Of Johann
Glaser
Sent: Tuesday, July 30, 2019 4:54 PM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] USB Human Interface Devices
Hi James!
Am Dienstag, den 30.07.2019, 13:52 -0400 schrieb James Ric
I will need to use for Windows.
James
>Yes, pas-libusb is a Pascal wrapper for the Linux library libusb. That library
>itself further depends on libc. Thats why you have to install them, and
>including their respective development packages.
&
easy.
Here is the python code that I am trying to implement in my FPC program:
https://github.com/wolfmanjm/kivy-smoothie-host/blob/master/modules/hb04.py
James
From: fpc-pascal On Behalf Of Jean
SUZINEAU
Sent: Sunday, August 4, 2019 12:39 PM
To: fpc-pascal@lists.freepascal.org
Hi Jean,
Thank you very much for posting the zip, I’ll download it and see if I can
figure it out. Also thank you very much for your efforts and help with this.
It is VERY much appreciated!
James
From: fpc-pascal On Behalf Of Jean
SUZINEAU
Sent: Monday, August 5, 2019 6:49 AM
Or for me to learn anything at all about it…. As you probably can guess I haver
zero USB experience.
James
>With pleasure. It's a good occasion for me to learn a bit more on USB.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.o
bit? Maybe some completely unrelated issue? If 64bit is needed, what’s the
best way to install FPC3.0.4 for x86_64-win64? It seems like I tried to do
that before and it wasn’t really very easy to try to learn how to compile it.
James
I verified, test1library can be build with this command line:
26) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: I:\Programming\FPC\3.0.4\bin\i386-win32\ppc386.exe returned an error
exitcode
Not sure why it can’t find it now, I renamed libusb-1.0.dll and the new one is
right under the one I renamed.
James
e 2: ID 0BDA:5411, port: 1, port path from HCD: 0, Speed:
480 Mbit/s (USB HighSpeed)
YAY! I have no idea what this means yet.. but I can see these are the USB
devices on my system!
I’m going to figure out how to compile the rest of my project with x86_64-win64
an
why this is bombing immediately or what this error even means?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I deleted all files that start with FP so it would have to make new ones and
tried to compile:
Writeln('Hello World!');
And it did not work.. it has the exact same error.
James
-Original Message-
Hi,
Le 07/08/2019 à 13:17, James Richters a écrit :
> I’m trying to use
eluxe/releases/tag/1.6.2x to compile
the x86_64-Win64 package
I don't know what a win64 GDB is either. Can you point me in the right
direction?
James
-Original Message-
From: fpc-pascal On Behalf Of Pierre
Muller
Sent: Wednesday, August 7, 2019 8:07 AM
To: fpc-pascal@lists.free
Is the static linking issue just with Windows, and it works on Linux, or it
isn’t working with FPC at all on either?
James
From: fpc-pascal On Behalf Of Jean
SUZINEAU
Sent: Thursday, August 8, 2019 5:40 AM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] USB Human Interface
I finally got the text IDE working with x86_64-Win64! I was thinking of
making a bug report on the problem with the Text IDE but before I did that I
thought I would test the current Trunk, and surprisingly that worked just fine!
so I got my settings all put in it and I was able to compile my
I tried using fpcupdeluxe to compile x86_64-win64 - Trunk, I was then able to
compile 64bit programs with the text IDE. I guess the problem was already
fixed at some point.
James
From: fpc-pascal On Behalf Of Jean
SUZINEAU
Sent: Wednesday, August 7, 2019 7:00 PM
To: fpc-pascal
were 4 errors compiling module, stopping
libusbutil.pas(0) Fatal: Compilation aborted
Anyone know what this means and how I might fix it?
James
-Original Message-
From: fpc-pascal On Behalf Of James
Richters
Sent: Thursday, August 8, 2019 8:20 PM
To: jean.
I am compiling with the Text IDE, and I set it up with the same settings I was
using with the 32bit version… and yes I did turn on Range checking, so that
explains why we didn’t notice it before.
James
From: fpc-pascal On Behalf Of Jean
SUZINEAU
Sent: Friday, August 9, 2019 12:34 AM
re.ihx file.
What is the correct procedure to obtain firmware.ihx?Is there something
else I need besides the EZUSB unit that would use that unit to create this file?
James
-Original Message-
From: fpc-pascal On Behalf Of James
Richters
Sent: Thursday, August 8, 2019 9:37 PM
T
I feel like I'm almost to where I will
understand things again but I'm just missing something.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
re out how to somehow get similar
functions to those in FPC. Some example of how to perform those kinds of
functions would be extremely helpful!
Thank you for your help with this
James
-Original Message-
From: fpc-pascal On Behalf Of Johann
Glaser
Sent: Friday, August 9, 2019 7:17
Now I have a new problem. I am able to successfully compile and run my project
with the text IDE if I use the trunk version of FPC, and I can run the
resulting exe just fine on the computer I compiled it on, but when I run it on
one of my other computers, one that I was always able to run the
: Friday, August 9, 2019 9:24 AM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] FP.exe error in x86_64-Win64
Le 09/08/2019 à 14:19, James Richters a écrit :
Now I have a new problem. I am able to successfully compile and run my project
with the text IDE if I use the trunk version of
Hi Hansi,
Thanks for the sample programs and information. I'm going to try to do as you
suggest and try to translate to the new libusb-1.0.. I'm not sure I'll
understand it enough but it seems like it's heading in the right directions so
would be worth a try.
James
-
where these identifiers were/are defined.
I made a fork in github and a branch called "test" here:
https://github.com/Zaaphod/pas-libusb/tree/Test
Any advice is greatly appreciated
James
> Actually you could copy the class TUSBPseudoHIDInterface (plus the types
> THIDReport and TInt
ything with TLibUsbPseudoHIDInterface yet, I was just
trying to get libusboop.pas to compile, and be able to still run the previous
examples.
I've updated my repository at https://github.com/Zaaphod/pas-libusb/tree/Test
Let me know if I should do something different with the ^ above, or
;
WriteLn('Status: ',TheDevice.GetStatus);
while true
do
Write( TheDevice.ReadString);
TheDevice.Free;
Context.Free;
end;
begin
WHB04B_Device;
End.
When I run it I get:
Running "i:\programming\pas-libusb_test_dll\src\examples\test_open_wh
upid to use another complete computer to interface this once
device to windows... I guess I'll keep trying to come up with a solution.
Anyone have any thoughts on all this?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://list
t hat I really wanted HidUSB driver and I changed it to LibUsb then is
there a way to put it back?
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>My code to manage HID USB relays uses hid.dll (32 & 64 bits) or
>libusb-1.0 (32 bits only tested) on Windows, and libusb-1.0 or
>libusb-0.1 in Linux.
I'll have a look at your project.. maybe it will give me some clues.
Can you tell me how to get hid.dll? I find it all very confusing, can I just
t than how
many keyboard keys you need to hit to get the code on the screen.
James
-Original Message-
From: fpc-pascal On Behalf Of Rainer
Stratmann
Sent: Wednesday, August 14, 2019 12:33 PM
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal] += property bug?
On Mittwoch, 14.
d with it. If anything
perhaps it is a bug of Lazarus to turn it on by default when FPC by itself has
it off by default.
James
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ing 2 years
from now is way more important than getting it to work right now... it's when
you go back later you want it to be as readable as possible. I guess I just
prefer Variable := Formula; syntax and the clarity of it.
James
-Original Message-
From: fpc-pascal On Beha
e new files it creates
is to have nothing on except "Allow LABEL and GOTO" and "Allow inline". All
other Syntax Switches are turned off including "C-like operators" by default
when the text IDE creates a new fp.cfg and fp.ini from scratch.
James
>> No, th
I agree, I hate the self. And this. I really don't even understand them...
I'll keep Freepascal too, which I've been able to do more with than I ever
imagined possible.
James
>I also think to the worse case, in Java, when you need to type something like
>a.SetX( a.GetX()+
r other windows APIs?
James
-Original Message-
From: fpc-pascal On Behalf Of José
Mejuto
Sent: Thursday, August 15, 2019 8:34 AM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] USB Human Interface Devices
El 14/08/2019 a las 16:29, James Richters escribió:
> I'll have a
401 - 500 of 823 matches
Mail list logo