#1 Burning Software

It is currently Fri Mar 29, 2024 3:41 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Empty driveletter?
PostPosted: Sat Sep 15, 2007 4:00 pm 
Offline

Joined: Sat Sep 15, 2007 3:54 pm
Posts: 65
Hello,

I'm currently using a evaluation version of StarBurn with Delphi2007.
When I'm trying to display the driveletter of a specified burner, it is just empty. (I need to display the driveletter together with the device name)

Is this as designed, or do I need to do anything specific to retreive the driveletter?

I'm currently using a TsbDeviceItem, just as in the Audio Burner example.

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Empty driveletter?
PostPosted: Sat Sep 15, 2007 4:07 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
First of all please stick with the right forum. This one is NOT for the SDK. I'll move the thread to the "StarBurn SDK" if you don't mind :)

Second we need to know the way you use to enumerate the devices. If you're using ASPI then please use StarBurn_GetDeviceNameByDeviceAddress(...) API call. If you use SPTI or SPTD you pass device symbolic link yourself so you should already know the name :)

Stojo303 wrote:
Hello,

I'm currently using a evaluation version of StarBurn with Delphi2007.
When I'm trying to display the driveletter of a specified burner, it is just empty. (I need to display the driveletter together with the device name)

Is this as designed, or do I need to do anything specific to retreive the driveletter?

I'm currently using a TsbDeviceItem, just as in the Audio Burner example.

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 15, 2007 4:13 pm 
Offline

Joined: Sat Sep 15, 2007 3:54 pm
Posts: 65
Quote:
First of all please stick with the right forum. This one is NOT for the SDK. I'll move the thread to the "StarBurn SDK" if you don't mind Smile


Sorry, I totally missed that :oops:
Thanks for moving my post.

Quote:
Second we need to know the way you use to enumerate the devices. If you're using ASPI then please use StarBurn_GetDeviceNameByDeviceAddress(...) API call. If you use SPTI or SPTD you pass device symbolic link yourself so you should already know the name Smile


I'm using SPTI, and the exact same code as in the Audio Burner demo:
-ufrmSelectDevice.pas, method PrepareInfo

Both my code, and the example will return a empty Drive Letter in the TsbDeviceItem class.


Thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 15, 2007 4:23 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) No problem :)

2) OK, so it was SPTI... One moment, let me kick Andrew so he'd take a look :) BTW, did you try calling StarBurn_GetDeviceLetter(...) for "CdRom%d" style symbolic link?

Thanks!

Stojo303 wrote:
Quote:
First of all please stick with the right forum. This one is NOT for the SDK. I'll move the thread to the "StarBurn SDK" if you don't mind Smile


Sorry, I totally missed that :oops:
Thanks for moving my post.

Quote:
Second we need to know the way you use to enumerate the devices. If you're using ASPI then please use StarBurn_GetDeviceNameByDeviceAddress(...) API call. If you use SPTI or SPTD you pass device symbolic link yourself so you should already know the name Smile


I'm using SPTI, and the exact same code as in the Audio Burner demo:
-ufrmSelectDevice.pas, method PrepareInfo

Both my code, and the example will return a empty Drive Letter in the TsbDeviceItem class.


Thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 15, 2007 4:29 pm 
Offline

Joined: Sat Sep 15, 2007 3:54 pm
Posts: 65
Quote:
2) OK, so it was SPTI... One moment, let me kick Andrew so he'd take a look Smile BTW, did you try calling StarBurn_GetDeviceLetter(...) for "CdRom%d" style symbolic link?


No, I haven't tried that (yet).
I will try this now and let you know about the results.

Thanks a lot for the tip.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 15, 2007 4:34 pm 
Offline

Joined: Sat Sep 15, 2007 3:54 pm
Posts: 65
Good news, "StarBurn_GetDeviceLetter" works just perfect!

Thanks for the very good & quick support!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 15, 2007 4:39 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Nice to know the issue is gone :) Thank you very much for selecting StarBurn SDK :)

Stojo303 wrote:
Good news, "StarBurn_GetDeviceLetter" works just perfect!

Thanks for the very good & quick support!


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 29 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group