#1 Burning Software

It is currently Thu Dec 19, 2024 8:15 am

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 94 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
 Post subject:
PostPosted: Tue Nov 27, 2007 9:17 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
The rebuild is fast, but modify-send-rebuild-send-try-... sequence is slow... OK, I'll try to do everything myself for now.

Dan203 wrote:
To be honest it would be easier for me to rebuild with the static lib every time then it would be to modify the project to use the DLL instead. So if you have something you want me to try just send over the static lib and I'll rebuild. I have a fast quad core machine, so a rebuild takes less then a minute.

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 28, 2007 6:52 pm 
Offline

Joined: Thu Apr 27, 2006 12:32 am
Posts: 99
If it's easier to send a DLL then do that. I'll make it work. I just need to get it fixed as soon as possible as I've got customers complaining about it.

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 28, 2007 7:34 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Let me play a little bit with the content you've sent and AuthoringWare sample stuff. I'll try avoid your assistance as much as I can... Thank you very much for the cooperation!

P.S. I'd like to have complete list of the "problem" customers with their hardware etc. Thanks!

Dan203 wrote:
If it's easier to send a DLL then do that. I'll make it work. I just need to get it fixed as soon as possible as I've got customers complaining about it.

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 29, 2007 9:16 pm 
Offline

Joined: Thu Apr 27, 2006 12:32 am
Posts: 99
The main complaints I get are...

1) The DVD doesn't work in a standalone player. (I assume this has to do with the problem in this thread)

2) The DVD doesn't finish burning. (for this I added code to close the disk even when TrackAtOnceFromTree returns an error, so the disk is still usable, but in some cases the content is not all there so it's not really a useful feature)

#1 is obviously the biggest problem, especially when customers say that the same files can be burned via Nero and work OK.

#2 I usually chalk up to bad media or out of date firmware, but again some customers can burn the same disk in Nero just fine. Is there a setting in StarBurn somewhere to set the number of times the SDK tries to write to the disk before giving up? Perhaps that would help alleviate this issue.

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 9:14 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Device models for all of the cases if you please.

We've added SPTD layer to bypass "alien" software packages installed on the same machine (Roxio, Nero, Sonic etc). So you may switch to the SPTD instead of the SPTI to have process more reliable. You can do it right now. Also version 9 will have DVD burning engine re-worked (64KB packets instead of the 32KB ones we use now). Both things should improve the situation.

Dan203 wrote:
The main complaints I get are...

1) The DVD doesn't work in a standalone player. (I assume this has to do with the problem in this thread)

2) The DVD doesn't finish burning. (for this I added code to close the disk even when TrackAtOnceFromTree returns an error, so the disk is still usable, but in some cases the content is not all there so it's not really a useful feature)

#1 is obviously the biggest problem, especially when customers say that the same files can be burned via Nero and work OK.

#2 I usually chalk up to bad media or out of date firmware, but again some customers can burn the same disk in Nero just fine. Is there a setting in StarBurn somewhere to set the number of times the SDK tries to write to the disk before giving up? Perhaps that would help alleviate this issue.

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 7:58 pm 
Offline

Joined: Thu Apr 27, 2006 12:32 am
Posts: 99
I'll see if I can get the drive info from a couple of my users and let you know.

I'll look into using SPTD instead of SPTI. Does it require an extra installation on the users end? Like a driver or DLL?

Any estimate as to when "version 9" will be available?

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 8:41 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) Thank you!

2) Yes. SPTD layer is shipped with the SDK. It's redistributable (and licensed from Duplex Secure, Alcohol 120% and Daemon Tools are also licensing from them).

3) Had to be released long time ago (October). Delayed b/c of the new OCX wrapper and UDF.

Dan203 wrote:
I'll see if I can get the drive info from a couple of my users and let you know.

I'll look into using SPTD instead of SPTI. Does it require an extra installation on the users end? Like a driver or DLL?

Any estimate as to when "version 9" will be available?

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 10:09 pm 
Offline

Joined: Thu Apr 27, 2006 12:32 am
Posts: 99
anton (staff) wrote:
3) Had to be released long time ago (October). Delayed b/c of the new OCX wrapper and UDF.


Huh? The latest version on the download site is 7.2.2 released in April. Where do I get the new version?

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 10:15 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Dan, *had* to be released :) But we've missed the dead end in the best traditions :(

Dan203 wrote:
anton (staff) wrote:
3) Had to be released long time ago (October). Delayed b/c of the new OCX wrapper and UDF.


Huh? The latest version on the download site is 7.2.2 released in April. Where do I get the new version?

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 10:29 pm 
Offline

Joined: Thu Apr 27, 2006 12:32 am
Posts: 99
Ahhh... OK got it. Well here's hoping it gets released soon. :)

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 11:32 pm 
Offline

Joined: Thu Apr 27, 2006 12:32 am
Posts: 99
I'm trying to play with the SPTD and it's not working. Here is my code...

Code:
            PVOID pCdvdBurnerGrabber = NULL;

            LPWSTR lpszW = new WCHAR[255];
            LPTSTR lpStr = sDrive.GetBuffer(sDrive.GetLength());
            int nLen = MultiByteToWideChar(CP_ACP, 0, lpStr, -1, NULL, NULL);
            MultiByteToWideChar(CP_ACP, 0, lpStr, -1, lpszW, nLen);

            ExceptionNumber =
               StarBurn_CdvdBurnerGrabber_CreateExEx(
                  &pCdvdBurnerGrabber,
                  ExceptionText.GetBuffer(1024),
                  sizeof(ExceptionText),
                  &SystemError,
                  &FailureInformation,
                  (PCALLBACK) (BurnCallback),
                  NULL,
                  lpszW,
                  FALSE, // Tried setting this to both TRUE and FALSE
                  0
               );

            delete[] lpszW;


When I run it I get a System error 5. I made sure the STPD distributable was installed on my PC and I made sure that sptduser.lib was in my link list. I also verified via the debugger that the multibyte to unicode conversion was working properly (even tried replacing the variable with a static L"H:" to make sure that wasn't it) bu it keeps failing.

Here is the debug output...

Code:
CStarBurn_ScsiTransportSPTD::CStarBurn_ScsiTransportSPTD(): EXITing with failure, status 5, message 'CStarBurn_ScsiTransportSPTD::CStarBurn_ScsiTransportSPTD(): SptdUserGetPlatformInfo( 0x00000000, 0x0013D6A4, 0x0013D68C, 0x00000000 ) failed, status 5 ( 0x5 )'


Any ideas?

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 11:41 pm 
Offline

Joined: Thu Apr 27, 2006 12:32 am
Posts: 99
OK I found your FindDeviceExEx.exe example and it appears to be a problem with static linking. Because if I run the static version I get the same error I was getting in my program. However if I run the dynamic version it works correctly.

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 01, 2007 2:20 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
I hope so as well...

Dan203 wrote:
Ahhh... OK got it. Well here's hoping it gets released soon. :)

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 01, 2007 6:27 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Dan,

To use SPTD your application executable must be digitally signed. That's why only StarBurn.DLL is signed out-of-box. If the module is not signed SPTD layer will refuse to accept requests with "error access denied" (5), what we see in your case... I've fixed the docs to reference this and also had removed FindDeviceExEx from static linking sequence. Thanks a lot for pointing and sorry for the confusion :(

Anton

Dan203 wrote:
OK I found your FindDeviceExEx.exe example and it appears to be a problem with static linking. Because if I run the static version I get the same error I was getting in my program. However if I run the dynamic version it works correctly.

Dan


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 01, 2007 8:43 pm 
Offline

Joined: Thu Apr 27, 2006 12:32 am
Posts: 99
OK I ended up converting my program over to use the DLL, at least in debug mode, so I could test this. Unfortunately I ran into another issue. The CreateExEx function is looking for a device name such as "CdRom0" while CreateEx is looking for a drive letter. Why doesn't CreateExEx accept drive letters like CreateEx? Is there anything I can do to easily grab the device name from StarBurn if all I have is the drive letter? My program is setup in such a way that it only passes the burn function the drive letter, and it would take a major rework to change over to passing it a device name.

Edit: Never mind I just added a loop like this...
Code:
// Find matching device
            CString sDriveName;
            for (int i=0; i<32; i++)
            {
               CString driveLetter;
               sDriveName.Format("CdRom%i", i);
               ExceptionNumber =
                  StarBurn_GetDeviceLetter(
                     sDriveName.GetBuffer(7),
                     driveLetter.GetBuffer(2),
                     &SystemError
                     );
               sDriveName.ReleaseBuffer();
               driveLetter.ReleaseBuffer();
               if (ExceptionNumber == EN_SUCCESS)
               {
                  if (driveLetter.Left(1).CompareNoCase(sDrive.Left(1)) == 0)
                     break;
               }
            }

To figure out the matching "CdRom0" type device name

Dan


Last edited by Dan203 on Sat Dec 01, 2007 9:06 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 94 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 31 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