image
image

Go Back   macosx.com > Mac Help Forums > Mac Classic System & Software

Reply
 
Thread Tools
  #1  
Old June 11th, 2006, 04:55 PM
Volunteer Tech
 
Join Date: Apr 2005
Posts: 576
Thanks: 0
Thanked 3 Times in 3 Posts
Kees Buijs will become famous soon enough
Barcode recognition in Classic under OS/X

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
Reply With Quote
  #2  
Old June 11th, 2006, 05:40 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 9,895
Thanks: 2
Thanked 59 Times in 55 Posts
ElDiabloConCaca has a spectacular aura aboutElDiabloConCaca has a spectacular aura aboutElDiabloConCaca has a spectacular aura about
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.
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
  #3  
Old June 13th, 2006, 03:41 AM
Volunteer Tech
 
Join Date: Apr 2005
Posts: 576
Thanks: 0
Thanked 3 Times in 3 Posts
Kees Buijs will become famous soon enough
Quote:
Originally Posted by ElDiabloConCaca
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
Reply With Quote
  #4  
Old June 13th, 2006, 03:00 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 9,895
Thanks: 2
Thanked 59 Times in 55 Posts
ElDiabloConCaca has a spectacular aura aboutElDiabloConCaca has a spectacular aura aboutElDiabloConCaca has a spectacular aura about
Quote:
Originally Posted by Kees Buijs
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?

Quote:
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.
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth Barcode Scanner Excel Textedit StarBuck Mac OS X System & Mac Software 1 November 7th, 2005 10:50 AM
Scsi Recognition miklos@sympatic Hardware & Peripherals 1 September 24th, 2005 03:44 PM
Using speech recognition mykelee Mac OS X System & Mac Software 1 January 4th, 2004 10:16 AM
Speech Recognition Brewster Apple News, Rumors & Discussion 3 March 10th, 2002 10:37 PM
HD Recognition for installing 10.0.4 anerki Mac OS X System & Mac Software 0 October 5th, 2001 02:52 AM


All times are GMT -5. The time now is 09:01 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.