Barcode recognition in Classic under OS/X

Kees Buijs

Registered
I have an application, which can recognise the barcode reader under mac os 9 (without mac os x present).

But when mac os x running and the application runs under classic, the barcode scanner is not recognised.

I use the event record for this (low level programming) and find in native os 9 a different input device code for keyboard and barcode reader.

Under classic in mac os x the same code is equal for both devices.

Does anyone know a method how to recognise the barcode reader from the keyboard.


Thx Kees
 
Classic mode does not have support for external devices -- you'll need to boot into OS 9 in order to have direct access to external hardware.

Just one of the shortcomings of Classic.
 
ElDiabloConCaca said:
Classic mode does not have support for external devices -- you'll need to boot into OS 9 in order to have direct access to external hardware.

Just one of the shortcomings of Classic.

Sad, it should not be that difficult for apple to solve.

I am using pascal and have not found a method to issue the carbon calls under pascal. That might solve my problem also. Is any information available on that.


Thx, Kees
 
Kees Buijs said:
Sad, it should not be that difficult for apple to solve.
No, but do we want Apple placing considerable amounts of effort trying to retain compatibility with an operating system that's 5 years old, or do we want them concentrating on fixing OS X? ;)

I am using pascal and have not found a method to issue the carbon calls under pascal. That might solve my problem also. Is any information available on that.
Sadly, I just don't think you're going to get anywhere with this. Classic does not have access to hardware devices, and therefore cannot communicate properly with hardware devices. Kinda like trying to use Toast 5 in Classic to burn a CD/DVD -- it just won't work, since Classic doesn't have direct hardware access to the CD/DVD burner -- it's all gotta go through emulation.
 
Back
Top