#1 Burning Software

It is currently Sun Dec 22, 2024 8:25 pm

All times are UTC




Post new topic Reply to topic  [ 89 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject:
PostPosted: Tue Nov 16, 2004 10:04 pm 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I made the changes you suggested and the file names a displaying with the message box. I'm still getting the same error. It can't seem locate any but the first file name.

Anton said soemthing about it needing to be packed. I don't know how to do that in VB.

The file name is null terminated but still padded out to the 260 characters with spaces. Does that have anything to do with it?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 16, 2004 10:18 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) Did you declare arrary of DAO_DISC_LAYOUT_ENTRY or it's still one as it was before?

2) Can you report sizeof( DAO_DISC_LAYOUT_ENTRY) and whole resulting structure in your VB code at run time?

bbriggstkd wrote:
I made the changes you suggested and the file names a displaying with the message box. I'm still getting the same error. It can't seem locate any but the first file name.

Anton said soemthing about it needing to be packed. I don't know how to do that in VB.

The file name is null terminated but still padded out to the 260 characters with spaces. Does that have anything to do with it?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 16, 2004 10:25 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
bbriggstkd wrote:
I made the changes you suggested and the file names a displaying with the message box. I'm still getting the same error. It can't seem locate any but the first file name.


And how many files you have to be displayed? Two or only one?

ps. Which compiler do you using? My VB 6.0 tells that there is undefined types. But .NET 2003 compiler shows a lot of compiling errors:
Code:
MyBurner.vb(114) : error BC30067: 'Exit Function' is not valid in a Sub or Property.
MyBurner.vb(384) : error BC32022: 'Public Event BurnPercent(Percent As Integer)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
MyBurner.vb(386) : error BC32022: 'Public Event BurnStatus(Status As String)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
MyBurner.vb(420) : error BC32022: 'Public Event BurnPercent(Percent As Integer)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
MyBurner.vb(572) : error BC32022: 'Public Event BurnStatus(Status As String)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
MyBurner.vb(640) : error BC30451: Name 'Load' is not declared.
MyBurner.vb(825) : error BC30311: Value of type 'MyTechBurner.MyBurner.BurnerErrors' cannot be converted to 'MyTechBurner.cDiscInfo'.
MyBurner.vb(832) : error BC30311: Value of type 'MyTechBurner.MyBurner.BurnerErrors' cannot be converted to 'MyTechBurner.cDiscInfo'.
MyBurner.vb(834) : error BC30311: Value of type 'MyTechBurner.MyBurner.BurnerErrors' cannot be converted to 'MyTechBurner.cDiscInfo'.
MyBurner.vb(845) : error BC30311: Value of type 'MyTechBurner.MyBurner.BurnerErrors' cannot be converted to 'MyTechBurner.cDiscInfo'.
mStarBurn.vb(190) : error BC30828: 'As Any' is not supported in 'Declare' statements.
mStarBurn.vb(190) : error BC30828: 'As Any' is not supported in 'Declare' statements.
mStarBurn.vb(204) : error BC30828: 'As Any' is not supported in 'Declare' statements.
mStarBurn.vb(450) : error BC30508: 'Stat1' cannot expose a Private type outside of the Friend module 'mStarBurn'.
mStarBurn.vb(450) : error BC30508: 'Stat2' cannot expose a Private type outside of the Friend module 'mStarBurn'.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 17, 2004 2:34 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I'm using VB 6.

VB 6 does not have a sizeof() function so I used lenb which reports the number of bytes an object takes up in memory. I found that even though I had the string declard as string * max_path, lenb reported it was 540 (apparently it is unicode related). I changed the declare from a string to a byte array.

Now I get a return code 2 from StarBurn. I did a len of the dao_disk_layout before my call to StarBurn and I got 27404 which I think is correct. However, when I did a lenb to get the amount of memory taken up I got 27605. I don't know what would cause the extra 200 bytes. Could that be the problem?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 17, 2004 12:41 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Yes! Wrong sizes and member fields bad relative align is definitely a source of the problem you're having... :-(

bbriggstkd wrote:
I'm using VB 6.

VB 6 does not have a sizeof() function so I used lenb which reports the number of bytes an object takes up in memory. I found that even though I had the string declard as string * max_path, lenb reported it was 540 (apparently it is unicode related). I changed the declare from a string to a byte array.

Now I get a return code 2 from StarBurn. I did a len of the dao_disk_layout before my call to StarBurn and I got 27404 which I think is correct. However, when I did a lenb to get the amount of memory taken up I got 27605. I don't know what would cause the extra 200 bytes. Could that be the problem?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 17, 2004 3:31 pm 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
Do you have any ideas on how to fix it?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 17, 2004 3:50 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
bbriggstkd wrote:
Do you have any ideas on how to fix it?


Yes, I have some ideas, but to check them I need to install other installation of VB 6.0 (my VB 6.0 with SP5 does not work normally with your project). And then I will check the code.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 17, 2004 9:10 pm 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I've got an idea myself. I just want to verify that StarBurn is expecting a structure of 27404 bytes in length. Is that correct? That would be for the DAO_DISC_LAYOUT


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 17, 2004 9:47 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
bbriggstkd wrote:
I've got an idea myself. I just want to verify that StarBurn is expecting a structure of 27404 bytes in length. Is that correct? That would be for the DAO_DISC_LAYOUT


Yes, 274*100 + 4 =27404.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2004 12:14 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I just checked and I am running with VB 6 SP 6. I don't know if that helps or not.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2004 3:49 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I got it working. I actually got a gapless audio cd created. I couldn't have done it with your help.

I've still got a lot to work on but this is a major step for me.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2004 3:57 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
WOW! Congratulations! :-) You've made my day!

...and we're always happy to help our customers. Even potential and freeware ones :-)

bbriggstkd wrote:
I got it working. I actually got a gapless audio cd created. I couldn't have done it with your help.

I've still got a lot to work on but this is a major step for me.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2004 3:59 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I just downloaded the 4.7.3 version (I had been using the beta). I noticed that the file msvcr70d.dll is not in the issuance as it had been earlier. Is that no longer needed?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2004 4:10 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
No! We're switched completely to MS IFS Kit/DDK as the only core build system so now no VC 7.0 RTL files are needed. Rest of the companies have every next SDK version build LARGER then previous one and we've rolled back from around 3 megabyes to 2.5 megabytes of compressed installation :-)

bbriggstkd wrote:
I just downloaded the 4.7.3 version (I had been using the beta). I noticed that the file msvcr70d.dll is not in the issuance as it had been earlier. Is that no longer needed?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 89 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 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