I've successfully used the JvHidDeviceController component (part of the Jedi
VCL library) to obtain data from a USB device (in this case a gamepad).
There are demos supplied.
You'll need to work out the format of the data obtained, but hopefully
self-explanatory or discoverable.
Wes
Fro
Hi Ross,
This is the function implemented in VBA so hopefully this isn't too far
off - it returns the correct result for "ABC"
Public Function Hash(Buf As String) As Long
Dim I As Long
Dim X As Long
Dim Result As Long
Result = 0' Result := 0;
For I = 1 To L
Title: Message
Derive
from TWinControl (Windows only) or TWidgetControl (cross-platform) to receive
focus / keyboard input etc.
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Allan VergaraSent: Tuesday, 4 November 2003 2:01
p.m.To: Multi
Don't know if it will help Check out
http://community.borland.com/article/0,1410,10194,00.html which is about
hooking up Delphi and Autocad via OLE. They create a variant array
using a particular real number type. AutoCad can be fussy about real vs
integer stuff.
Wes
> -Original Message---
you have PC's
Wes
Edwards
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy CoulterSent: Thursday, 30 October 2003 8:35
a.m.To: Multiple recipients of list delphiSubject:
[DUG]: one for the MSDE people
Hi
all.
With MSDE
Have a read through the "Performance Data Helper" section of the Win32
Programmers Reference Help file that comes with Delphi. That explains
the performance data (two interfaces) that the Windows Performance
Monitor uses.
Wes Edwards
> -Original Message-
> From:
format('%.2d',[IntValue])
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Leigh Wanstead
Sent: Monday, 28 July 2003 10:49 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Integer conversion
Hello everyone,
I want to convert integer to strin
then get them back in sorted order. You
also supply a customised compare function.
Wes Edwards
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris Veale
Sent: Monday, 28 July 2003 9:39 a.m.
To: Multiple recipients of list delphi
Subject: RE: [DUG
Hi Phil
A good starting point for algorithm's etc is efg's reference pages with
a good list of routines and packages/ libraries
http://homepages.borland.com/efg2lab/Library/Delphi/index.html
The Jedi Code Library also has some strig routines but if the ones in
Turbopower Systools aren't what you
ncident_date) < 3 and (extract (year from
incident_date) = 2003)))
GROUP BY incident.incident_dateORDER BY
incident.incident_date;
Cheers
Wes
Edwards
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tracey
MauleSent: Monday, 24 March 2003 11:56 a.m.To
StarTeam from Starbase (now Borland) is an alternative. Not as powerful,
but then you don't pay so much.
Starteam incorporates version control and defect tracking etc. If you'd
like to know more from someone who had to set it up and administer it drop
me a line off-list.
Wes Edwa
d to combine the two branches for thorough testing.
As
always a well planned test programme, adeqaute documentation and good
processes are the best ways to minimise the number of bugs that
escape.
Wes Edwards NZCE, BE, M.IPENZ
steadfast technology
Phone: +64 9
820-9273
Fax: +64 9 820-9274
Check out the ExtractFileName function and it's cousins. I think that it
will result in code that is safer across different versions of windows and
will handle all filenames etc
Wes Edwards
-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-delphi@;delphi.org.nz]On
Beha
found is to ensure that when new files are added to
version control that they are added from S: and not Z: so that they are
checked out to S: and not to whatever Z: you happen to have at the moment.
Wes Edwards
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT
Jeremy,
Doing msg := MyMessageStruct is just sending the memory address for the data
on your PC to another PC. It's not going to mean anything when it gets
there.
One field at a time is the only way to do it. You might also want to
include some extra data when you send so you can be sure that
Jeremy,
In your example, what gets assigned to msg?
Wes
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of [EMAIL PROTECTED]
> Sent: Monday, 18 December 2000 23:04
> To: Multiple recipients of list delphi
> Subject: [DUG]: Best way to load a buffer
>
values to be stored
are very small w.r.t. the overall size of the array you may end up with a
saving.
By the way, a black & white bitmap is a 2D array of boolean values.
Wes Edwards
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Nahu
teger for Size and 1
pointer to the Bits array.
Wes Edwards
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Nahum Wild
> Sent: Friday, 15 December 2000 13:06
> To: Multiple recipients of list delphi
> Subject: [DUG]: TBits -
The API function CopyFileEx has a callback function for displaying progress.
The other way to do it to open a FileStream on source and on target and copy
between them yourself - you can track progress as you go.
Wes Edwards
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:
Change your record into a class derived from TObject.
The string list objects are designed to hold TObjects (which are pointers).
It looks like the complier can put a record with one integer field into the
space for a pointer which is why the first one worked.
Wes
> -Original Message-
Hi,
I'm a
bit of a COM newbie, but if you have a right-click option in Explorer, that
means that Norton have provided a Shell Extension COM object on your system,
which will have a standard COM interface for Explorer to use. Is that a
potential means of interfacing?? Or am I showing my ig
I've made good use of HTML lite - printing support disabled, but it has
hyperlinks etc. No problems with it so far.
Wes Edwards
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mike Mueller
> Sent: Monday, 24 July 2000 14:
How about a product suite that connects to the PABX via serial/network/TAPI
and gives CallerID, pop's the user's details onto the screen, costs the
calls, allocates them to department/ account/ category etc etc etc.
Written in Delphi (of course)
see www.commsoftgroup.com
W
add registry keys.
You'll need one under
HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\ODBC Data Sources
naming it,
then a bunch under
HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\[YourDSNName here]
describing engine, database
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PRO
DNUA
(Do Not Use Abbreviations)
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mark Derricutt
> Sent: Wednesday, 17 May 2000 12:23
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: FYI: IBX update on www.interbase.com
>
>
> On Wed, 1
Haven't tested this but ...
Application.onException handler
begin
Application.MainForm.Minimize (or whatever takes your fancy)
// display exception in your own form
// ...
end;
Any use ???
Wes Edwards
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PR
how much is the size out by ?
By the height of the form caption + border, and the width of the border?
Wes Edwards
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Peter G Jones
> Sent: Saturday, 13 May 2000 02:07
> To: Multiple rec
redistribution agreement requires you to use an
"approved installer". I don't know the requirements for getting approved...
Wes Edwards
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Jeremy Coulter
> Sent: Wednesday, 10 May 2000 16:4
Leigh,
There are TWO version numbers in the BDE. Note that BDE Admin will report
the two version numbers in two different places too, I use the following
code.
The relevant part is extracting iIntfLevel from the version info.
Wes Edwards
var
MyList : TStringList;
MySysVersion
Because of all the interdependencies with ODBC you are recommended to
download the Microsoft Data Access Components (MDAC). This will install
ODBC, OLE DB and ADO.
http://www.microsoft.com/data/download.htm
Read the documents there and download whatever languages you need.
Wes Edwards
ut sybase, including
http://www.sybase.com/products/anywhere/remote2.html
Wes Edwards
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mark Howard
> Sent: Tuesday, 8 February 2000 14:28
> To: Multiple recipients of list delphi
> Subject: [DUG]: A
The line
> GetDir(0,F.Name); // then change to it
needs to be
> ChDir(F.Name); // then change to it
Wes
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Carl Reynolds
> Sent: Monday, 24 January 2000 10:49
> To: Multiple recipients of list d
> contains a "Please wait" caption, and maybe other things like
> an image or
> AVI etc. Make the panel visible while the query is running.
> If there are
> no controls on the panel that can receive focus you should be OK.
>
> Wes Edwards
>
>
ing focus away from things, but ...
How about putting a panel on your form over the datagrids. The panel
contains a "Please wait" caption, and maybe other things like an image or
AVI etc. Make the panel visible while the query is running. If there are
no controls on the panel that can rec
My memory is rusty.
How do we tell if our app is running inside the IDE?
Wes Edwards
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
Typecasting to a pointer to a CARDINAL may be more future proof?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Wilfred Verkley
Sent: Monday, 22 November 1999 15:25
To: Multiple recipients of list delphi
Subject:RE: [DUG]: Reading f
Win32 API Call is NetShareAdd.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Greg Nixon
> Sent: Sunday, 7 November 1999 15:51
> To: Multiple recipients of list delphi
> Subject: [DUG]: How do you share a directory with code?
>
>
> What API call
They are defined in Windows.pas
eg
CTRY_NEW_ZEALAND = $40; { New Zealand }
Or, some code I use to return a Country string and the International STD
code for the country.
Note that there are a few different strings that can be returned. eg Spain
= 'Spain' or 'Espania' etc
var
InfoSize : int
Note that the BDE Administrator Help|About will report v 5.01 even under BDE
v 5.10!
For the "real" version info select the "Configuration" tab, then check out
File|Version Information. You'll see that the DLL's have version numbers
like 5.1.0.4.
Wes.
-Original Message-
From: [EMAIL P
neither of these methods will correctly identify a SUBST'ed drive.
Any pointers?
Wes Edwards
CommSoft Group Ltd
PO Box 691, Shortland Street
Auckland 1015, New Zealand
Phone: +64 9 358 5900
Fax: +64 9 358 5901
Support+64 9 358 5902
Sales +64 9 358 5903
Email: [EMAIL PROTECTED]
Sma
(TMyVeryOwnAbstractClass)
implementation
-
Wes Edwards
CommSoft Group Ltd
PO Box 691, Shortland Street
Auckland 1015, New Zealand
Phone: +64 9 358 5900
Fax: +64 9 358 5901
Support+64 9 358 5902
Sales +64 9 358 5903
Email: [EMAIL PROTECTED]
SmartCharge
The answer is to use Regions.
search the WinAPI help on
CreatePolyPolygonRgn
and
SetWindowRgn
Wes Edwards
CommSoft Group Limited
ph:+64 9 358 5900 fax:+64 9 358 5901
[EMAIL PROTECTED]
SmartCharge ... on every switch
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:
myDateTime := int(myDate) + frac(myTime);
Wes Edwards
NZCE BE M.IPENZ Reg.Eng
Quality Assurance Manager
CommSoft Group Limited
ph:+64 9 358 5900 fax:+64 9 358 5901
[EMAIL PROTECTED]
SmartCharge ... on every switch
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PRO
lblNewLabel.Parent := bndDetail; ?
Wes Edwards
Quality Assurance Manager
CommSoft Group Limited
[EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Tony Sinclair
> Sent: Tuesday, 6 July 1999 10:55
> To: Multipl
According to one of my colleages there is a setting to be added somewhere in
win.ini to have Win98 adopt the Win95 behaviour for this. He can't remember
what this is but knows it is on the borland FAQ somewhere.
Any help?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PRO
You could also put some code in the OnEnter event of each of the edit boxes
(one procedure linked to all OnEnter events). If this edit box isn't the
right one then jump to the right one. You can then exit your combo box any
way you like.
Wes Edwards.
> -Original Message
46 matches
Mail list logo