PDA

View Full Version : Making Gauges in Delphi


AirDefader!
17 Jan 2008, 18:53
Hello 2 everybody!
I am a new one on your forum, but while looking necessary themes, I understand that it's more interesting than others :)
I make L-410... Model & Gauge bitmaps ready, but I meet most hard 4 me -- gauge coding. My knowledge of C++/C# does not afford me 2 make gauge on it and I don't have time to learn it(((( But I know Delphi, and knew that gauges can be created on this language! So can somebody help me with this task? I mean about different manuals or something like.

Bless everybody 4 help! (And aircraft as present!)

bcs112
18 Jan 2008, 07:06
Hi,

Where did you hear you can program gauges in Delphi ? As far I know this is not possible. It's C or C++ only I.

Kind regards,
Björn

AirDefader!
18 Jan 2008, 07:13
Hi,

Where did you hear you can program gauges in Delphi ? As far I know this is not possible. It's C or C++ only I.



.gau file is the .dll library, which is compiled from source file, and it can be written by any language. I'm about usual DLL library.
Special 4 sim, it requires some special things to work with FS :)

n4gix
18 Jan 2008, 14:28
.gau file is the .dll library, which is compiled from source file, and it can be written by any language. I'm about usual DLL library.
Special 4 sim, it requires some special things to work with FS :)

The problem is that all the gauge macros for the panel system, and all the sim variables and key_events are defined in the gauges.h file, which is C specific.

You'd have to 'translate' the entire gauges.h file into something Delphi would recognize. I'm not at all confident that it would be worth the bother, even if it could be done at all...

AirDefader!
18 Jan 2008, 16:51
I understand already... So will write on C... And it's beautiful language!

Thanx 2 everybody 4 help!!!

AirDefader!
18 Jan 2008, 19:24
Excuse me, but can anybody suggest what to read about making gauges with using .Net in BDS'06 or more similar to this?