Account  |  Mobile  |  Help    
 
Home Database Live Audio Forums Wiki Classifieds Submit Info About

Go Back   The RadioReference.com Forums > Software > Scanner Programming Software


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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-14-2007, 04:59 PM
Member
   
Join Date: Feb 2007
Posts: 48
Default 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.
Attached Images
 
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 03-14-2007, 06:32 PM
DaveNF2G's Avatar
Member
 
Premium Subscriber
 
Join Date: Jan 2001
Location: Waterford, NY
Posts: 3,710
Send a message via Yahoo to DaveNF2G
Default

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!
Reply With Quote
  #3 (permalink)  
Old 03-14-2007, 06:48 PM
Member
   
Join Date: Feb 2007
Posts: 48
Default

How do you figure? What job is it doing?
Reply With Quote
  #4 (permalink)  
Old 03-15-2007, 08:51 AM
DaveNF2G's Avatar
Member
 
Premium Subscriber
 
Join Date: Jan 2001
Location: Waterford, NY
Posts: 3,710
Send a message via Yahoo to DaveNF2G
Default

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!
Reply With Quote
  #5 (permalink)  
Old 03-15-2007, 08:57 AM
eorange's Avatar
Member
 
Premium Subscriber
 
Join Date: Aug 2003
Location: Cleveland, OH
Posts: 1,171
Default

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
Reply With Quote
Sponsored links
  #6 (permalink)  
Old 03-15-2007, 10:55 AM
Member
   
Join Date: Feb 2007
Posts: 48
Default

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..
Reply With Quote
  #7 (permalink)  
Old 03-15-2007, 10:55 AM
Jay911's Avatar
Member
 
Database Admin
 
Join Date: Feb 2002
Location: Alberta
Posts: 2,915
Send a message via ICQ to Jay911 Send a message via AIM to Jay911 Send a message via MSN to Jay911 Send a message via Yahoo to Jay911
Default

Which version/flavor of Windows?
__________________
--j.
VE6SRT
Reply With Quote
  #8 (permalink)  
Old 03-15-2007, 12:08 PM
Member
   
Join Date: Feb 2007
Posts: 48
Default

XP Pro SP2
Reply With Quote
  #9 (permalink)  
Old 03-16-2007, 10:18 PM
joelbedard's Avatar
Member
   
Join Date: Nov 2004
Posts: 23
Default 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..
Reply With Quote
Sponsored links
  #10 (permalink)  
Old 03-17-2007, 01:03 AM
Member
   
Join Date: Feb 2007
Posts: 48
Default

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..
Reply With Quote
  #11 (permalink)  
Old 03-17-2007, 07:17 AM
dave3825's Avatar
Member
   
Join Date: Feb 2003
Location: East Farmingdale, NY
Posts: 420
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Uniden BCD396T Price/taking orders rankin6 Uniden Scanners 3 09-09-2009 08:20 AM
GPS - decimal vs DMS - radio vs UASD atwolf Uniden Scanners 1 07-15-2006 09:13 PM
Make the BCD396T like the BCT8 with the Highway Patrol Warning? forzato Uniden Scanners 6 12-16-2005 03:33 PM
BCD396T APCO-25 Programming Tip duckbird Uniden Scanners 35 10-19-2005 09:51 AM
P 25 Threshold BCD396T UASD JLAB Uniden Scanners 2 10-16-2005 08:28 PM


All times are GMT -5. The time now is 11:41 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All information here is Copyright 2009 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2009 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions