Test Results

About us

Total posts: 5
 Author WM_INPUT Error
G. Soares

14.03.2007 10:06:05
Registered user

I am using Delphi 6 (build 6.240) update pack 2, when i try to install SDK i received an error on compiling :
[Error] rtcDataCli.pas(1810): Undeclared identifier: 'WM_INPUT'

Did some of you have the same problem?

Any of you have the solution?

Danijel Tkalcec [RTC]

14.03.2007 11:49:44
Registered user
Thanks for the report. You can replace WM_INPUT with (WM_KEYFIRST-1). It looks like WM_INPUT is a new constant added in Delphi 7 (didn't know that, sorry). I forgot to try and compile the latest RTC SDK with older Delphi versions. Will do this now and upload the change as RTC SDK 2.49 today.

Best Regards,
Danijel Tkalcec
Danijel Tkalcec [RTC]

14.03.2007 12:27:29
Registered user
RTC SDK 2.49 is now ready for download.

It compiles with Delphi 4, 5, 6, 7 and all newer versions. The new "WM_INPUT" constant was the only thing which broke the compatibility with Delphi 6 and older, so I'm using "WM_KEYFIRST-1" now - which exists in Delphi 4 already.

Sorry again for not checking with older Delphi versions before uploading RTC SDK 2.48.

Best Regards,
Danijel Tkalcec
Malcolm Cheyne

16.03.2007 07:48:50
Registered user
I think you should do a survey on just how many users are using Delphi older that Version 7.  

I personally feel that D7 should be the minimum a developer should be using.

Danijel you do not have infinet resources for testing real old software.  (D4, D5, D6)

my 2c (AUD) ;-)

Danijel Tkalcec [RTC]

16.03.2007 13:15:26
Registered user
Hi Malcolm,

Thanks for your understanding, but ...

I know how tedious the move from an older Delphi version to a later one could be, especially if you are using a lot of third-party components. I wouldn't dare tell someone to port their Apps to a newer Delphi version just so they can keep on using the latest version of my components. I can't say how many developers are using the RealThinClient SDK with Delphi 6 and older, but I know a few using Delphi 5.

As for me, I'm using only Delphi 7 to compile my Demos and applications for stress-testing. It would be too much to run all tests compiled with every Delphi version, since each stress-test takes several days (up to a week) and there are now 8 compilers (D4 - D2007) RTC SDK can be used with (FreePascal/Lazarus will probably be the next).

I run the RealThinClient SDK and Demos/Examples through all Delphi compilers from versions 4 to 2007. This takes me about an hour, so it's not that big of a problem. My mistake this time (with RTC SDK 2.48) was that I didn't expect the small change to break compatibility with older Delphi versions, so I didn't go through the process.

Best Regards,
Danijel Tkalcec