#1 Burning Software

It is currently Fri Dec 20, 2024 8:36 am

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: StarBurn SDK and admin rights on Windows XP/Vista
PostPosted: Wed May 28, 2008 12:32 pm 
Offline

Joined: Wed May 30, 2007 10:56 am
Posts: 13
Your FAQ states that StarBurn by default does not work without admin rights. However, I'm finishing up by StarBurn SDK based application, and it doesn't seem to have problems accessing my burner, without having admin rights (in Windows Vista). I want to be sure about this before I start shipping my application: does my application need admin rights (in Windows XP and Vista) in order to be able to access burners?


Top
 Profile  
 
 Post subject: Re: StarBurn SDK and admin rights on Windows XP/Vista
PostPosted: Thu May 29, 2008 7:12 am 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
ncuppen wrote:
Your FAQ states that StarBurn by default does not work without admin rights. However, I'm finishing up by StarBurn SDK based application, and it doesn't seem to have problems accessing my burner, without having admin rights (in Windows Vista). I want to be sure about this before I start shipping my application: does my application need admin rights (in Windows XP and Vista) in order to be able to access burners?


Hello,

What SCSI transport you use ASPI, SPTI or SPTD for access to optical drives in your application?

Explanation:
If you use in your code function
StarBurn_CdvdBurnerGrabber_Create(..) then you use ASPI transport,
if StarBurn_CdvdBurnerGrabber_CreateEx(..) then you use SPTI transport,
if StarBurn_CdvdBurnerGrabber_CreateExEx(..) then you use SPTD transport.

(This functions creates CD/DVD/Blu-Ray/HD-DVD burner device object)


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 29, 2008 7:28 am 
Offline

Joined: Wed May 30, 2007 10:56 am
Posts: 13
I use StarBurn_CdvdBurnerGrabber_CreateEx(..), so that must be SPTI transport.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 29, 2008 10:04 am 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
ncuppen wrote:
I use StarBurn_CdvdBurnerGrabber_CreateEx(..), so that must be SPTI transport.


It's very strange.
If you use SPTI transport w/o admin rights then in your system must be installed StarOpen driver. Possible some other application installed on your PC use StarBurn SDK and StarOpen driver already installed.
Please check have you StarOpen.sys file in
"[Windows folder]\System32\Drivers" folder.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 29, 2008 10:19 am 
Offline

Joined: Wed May 30, 2007 10:56 am
Posts: 13
No StarPort.sys in \Windows\System32\Drivers, nor in any other folder on the disk.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 29, 2008 10:20 am 
Offline

Joined: Wed May 30, 2007 10:56 am
Posts: 13
Sorry, I mean StarOpen.sys of course.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 29, 2008 2:29 pm 
Offline

Joined: Fri Jan 11, 2008 6:13 am
Posts: 200
Location: BVI
This is you who installs this driver shipped with the StarBurn SDK. If you did not install it - of course it will be missing... Also it's recommended to use SPTD for what you want to achieve.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 29, 2008 3:05 pm 
Offline

Joined: Wed May 30, 2007 10:56 am
Posts: 13
I'm sure StarOpen.sys is not installed on my test system. Any idea why my app still runs ok without admin rights? Some peculiarity on my test system? I can send you a logfile, if you like.

If I would use SPTD would my application then require admin rights?

I would like to be sure about this, because I don't want my shareware app to face all sorts of problems out there, once I ship it.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 29, 2008 7:37 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You could have third-party software installed and it makes burners system-wide visible. Nero BurnRights to this AFAIK.

No.

ncuppen wrote:
I'm sure StarOpen.sys is not installed on my test system. Any idea why my app still runs ok without admin rights? Some peculiarity on my test system? I can send you a logfile, if you like.

If I would use SPTD would my application then require admin rights?

I would like to be sure about this, because I don't want my shareware app to face all sorts of problems out there, once I ship it.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 10:41 am 
Offline

Joined: Wed May 30, 2007 10:56 am
Posts: 13
Tried using StarBurn_CdvdBurnerGrabber_CreateExEx(..).

Your documentation for this function is incorrect. It only lists 9 parameters, while the function requires 10.
Furthermore the device name parameter is listed as CHAR while it should be WCHAR.

After figuring that out I used the function. It returned this error:
CStarBurn_ScsiTransportSPTD::CStarBurn_ScsiTransportSPTD(): EXITing with failure, status 5,
message 'CStarBurn_ScsiTransportSPTD::CStarBurn_ScsiTransportSPTD():
SptdUserGetPlatformInfo( 0x00000000, 0x001272C8, 0x001272A8, 0x00000000 ) failed, status 5 ( 0x5 )'

What does this mean?


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 11:51 am 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
ncuppen wrote:
Tried using StarBurn_CdvdBurnerGrabber_CreateExEx(..).

Your documentation for this function is incorrect. It only lists 9 parameters, while the function requires 10.
Furthermore the device name parameter is listed as CHAR while it should be WCHAR.

After figuring that out I used the function. It returned this error:
CStarBurn_ScsiTransportSPTD::CStarBurn_ScsiTransportSPTD(): EXITing with failure, status 5,
message 'CStarBurn_ScsiTransportSPTD::CStarBurn_ScsiTransportSPTD():
SptdUserGetPlatformInfo( 0x00000000, 0x001272C8, 0x001272A8, 0x00000000 ) failed, status 5 ( 0x5 )'

What does this mean?


Hello,

It's mean that not installed SPTD driver.
Please install SPTD driver from:
[Program Files]\Rocket Division Software\StarBurn SDK\Bin\SPTD\


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 1:07 pm 
Offline

Joined: Wed May 30, 2007 10:56 am
Posts: 13
Ok, installed the SPTD driver and ran my application again. It now crashes with an access violation as soon as it should start writing to the DVD+RW (in a call to either StarBurn_CdvdBurnerGrabber_Blank or StarBurn_CdvdBurnerGrabber_TrackAtOnceFromTree).

Any idea why?


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 2:45 pm 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
ncuppen wrote:
Ok, installed the SPTD driver and ran my application again. It now crashes with an access violation as soon as it should start writing to the DVD+RW (in a call to either StarBurn_CdvdBurnerGrabber_Blank or StarBurn_CdvdBurnerGrabber_TrackAtOnceFromTree).

Any idea why?


Please show (or send to me) part of your source code form creating device object
and to call StarBurn_CdvdBurnerGrabber_Blank.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 3:15 pm 
Offline

Joined: Wed May 30, 2007 10:56 am
Posts: 13
I sent the code snippets to your mail address.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 7:03 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
If you want to be 100% sure we've got your mail please use support@rocketdivison.com alias.

ncuppen wrote:
I sent the code snippets to your mail address.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group