Flutterby™! : Old Hardware and Crunching Delphi

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

Old Hardware and Crunching Delphi

2008-05-02 13:09:54.748396+00 by meuon 7 comments

I now own some obscure custom PCI cards that produce tokens when given some data from an old Delphi (Generation?) application and need a Delphi uber-geek that can help me figure out how they are communicated with. The goals: 1 - connecting them to a web gateway somehow to create such tokens via the web. 2- bypassing the hardware and just creating the tokens in code.

comments in ascending chronological order (reverse):

#Comment Re: made: 2008-05-02 13:53:23.660512+00 by: Dan Lyke

Is there some sort of driver or DLL that talks to them"?

#Comment Re: made: 2008-05-02 14:02:06.338682+00 by: meuon [edit history]

Found the .DLL's.. Not sure what to do with them, Yet.

Any way to run MS-DLL's on a Linux server? (Yea, I'm that clueless.)

#Comment Re: made: 2008-05-02 14:52:39.223691+00 by: Dan Lyke

I don't know if there's an easy way to extract the call parameters easily from the DLLs, but you can at least get the function names from the DLL, so that's a good start towards inserting your own functionality in that chain.

#Comment Re: made: 2008-05-02 15:44:23.493497+00 by: ziffle [edit history]

I spent 10 years coding in Delphi - wass up? do you have source? all delphi code from 1991 on will still compile in the latest versions

maybe for maintenance reason you should redo from start.? PCI what if the hardware fails?

DLLS yes just rename them to .so should work fine NOT ROFLMAO

there might be a way to recompile them with Kylix(Delphi for Linux) into an .so but its a lot of work and the outcome is not assured.

#Comment Re: made: 2008-05-02 16:32:46.073338+00 by: Dan Lyke

So other thing I haven't yet proposed to Meuon is to try Wine. The DLLs may not just load directly, but I've had some amazing Wine experiences lately.

#Comment Re: made: 2008-05-02 17:42:20.576231+00 by: meuon

Ziffle, I wish I had source. Have you had any luck with any Delphi Decompilers?

Any ways if running this under Linux other than wine? Hmm...

I'll be setting up test rigs soon. The fun part is installing this odd Delphi app, or rather a collection of Delphi apps. We have copies of running system(s), but it seems all installs were hand done and then copied to a CD. I gotta figure out what needs to be where.

Running it under Wine might be a great way to figure out what needs to go where..

#Comment Re: made: 2008-05-02 17:57:04.633975+00 by: ziffle

Delphi apps usually [put all the apps in one directory. Further dlls are only created if there is an external reason to make them. Normally all code is compiled into the exe. A Delphi decompiler is effectivly useless as they compile to machine code not pcode. All that is needed to run the app is the exe all else is optional unless htere is a db or stuff.

what is the name[Wiki] of the dll?