|
|
|
|
| Scanner Programming Software This is the place to discuss scanner programming and control software. |

03-14-2007, 04:59 PM
|
|
Member
|
|
|
Join Date: Feb 2007
Posts: 48
|
|
Bug found in BCD396T UASD
The BCD396T UASD software crashes when trying to write data to the scanner with a Windows Limited User Account.
An error dialogue box opens that says:
Quote:
|
Cannot change Visible in OnShow or OnHide.
|
The box closes after pressing Ok, and is followed by the UASD "Write to Scanner Process" window. But nothing works and UASD must be forcibly shut down with Windows Task Manager.
However, UASD works when I increase the permissions of the Windows account to Administrator.
|

03-14-2007, 06:32 PM
|
|
|
I don't think you can classify that as a software bug. It is a security feature of Windows doing its job.
__________________
David T. Stark, NF2G
Educator - Criminal Justice, Sociology
NF2G's Forensic Scannist Pages http://nf2g.com/scannist
Don't run from the police. Motorola always beats Mopar!
|

03-14-2007, 06:48 PM
|
|
Member
|
|
|
Join Date: Feb 2007
Posts: 48
|
|
How do you figure? What job is it doing?
|

03-15-2007, 08:51 AM
|
|
|
Keeping a "limited" user account from accessing unauthorized system resources - in this case, the serial port.
__________________
David T. Stark, NF2G
Educator - Criminal Justice, Sociology
NF2G's Forensic Scannist Pages http://nf2g.com/scannist
Don't run from the police. Motorola always beats Mopar!
|

03-15-2007, 08:57 AM
|
|
|
That is definitely a bug. No user should ever see the message "Cannot change Visible in OnShow or OnHide.", followed by a lockup.
A better exception handler would describe the problem in plain english and halt the operation.
UPMan may chime in here and suggest a way to submit this bug report to Uniden.
__________________
KA3FYU
|

03-15-2007, 10:55 AM
|
|
Member
|
|
|
Join Date: Feb 2007
Posts: 48
|
|
Quote:
|
Originally Posted by DaveNF2G
Keeping a "limited" user account from accessing unauthorized system resources - in this case, the serial port.
|
I can connect my game controller up to this port, and it works just fine.
Access to any ports (serial, parallel, com) should not be prevented to a LUA unless it was specifically set by an administrator. Even if this is a legit denial, it should never be handled with that error message and application lockup, as eorange said. Properly and securely written applications should run unless they need to modify the system iteself, which UASD should not be doing.
Last edited by emt331000; 03-15-2007 at 10:59 AM..
|

03-15-2007, 10:55 AM
|
 |
Member
|
|
 Database Admin
|
|
Join Date: Feb 2002
Location: Alberta
Posts: 2,915
|
|
Which version/flavor of Windows?
__________________
--j.
VE6SRT
|

03-15-2007, 12:08 PM
|
|
Member
|
|
|
Join Date: Feb 2007
Posts: 48
|
|
XP Pro SP2
|

03-16-2007, 10:18 PM
|
 |
Member
|
|
|
Join Date: Nov 2004
Posts: 23
|
|
Bug...
The problem rely on the use (to store program information that need to be updated) into the Windows Registry at HKEY_LOCAL_MACHINE (limited account cannot change anything into there) instead of writting them into HKEY_CURRENT_USER (limited user can change information here)
Also, if you install the software beneath "C:\Program Files" folder (using an admin account, but using the software with a limited account), the limited account could not change anything there. Way to by pass that, install the software to another folder, which limited account will be able to read/write content. But what does not change the first issue...
Last edited by joelbedard; 03-16-2007 at 10:20 PM..
|

03-17-2007, 01:03 AM
|
|
Member
|
|
|
Join Date: Feb 2007
Posts: 48
|
|
Quote:
|
Originally Posted by joelbedard
The problem rely on the use (to store program information that need to be updated) into the Windows Registry at HKEY_LOCAL_MACHINE (limited account cannot change anything into there) instead of writting them into HKEY_CURRENT_USER (limited user can change information here)
|
I don't understand what you mean.
Quote:
|
Originally Posted by joelbedard
Also, if you install the software beneath "C:\Program Files" folder (using an admin account, but using the software with a limited account), the limited account could not change anything there. Way to by pass that, install the software to another folder, which limited account will be able to read/write content. But what does not change the first issue...
|
The bug has nothing to do with a local user's permission to write files. Running a program should not depend on administrative privileges unless it is trying to change a system file. UASD isn't trying to do this, I hope! Rather, UASD is trying to change the Visible property of a control. A bug is preventing this from functioning properly.
Last edited by emt331000; 03-17-2007 at 01:05 AM..
|

03-17-2007, 07:17 AM
|
 |
Member
|
|
|
Join Date: Feb 2003
Location: East Farmingdale, NY
Posts: 420
|
|
The message window is not usad specific
go here and check the links and you might find some info
http://search.yahoo.com/search?p=Can...p=mss&ei=UTF-8
__________________
«::D::» «::A::» «::V::» «::E::» «::3::» «::8::» «::2::» «::5::»
Br330T
Pro 93 tapped
Pro 95 tapped
Arc330Pro
BcTool
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:41 PM.
|
|
|
|
| |
|
|