#1 Burning Software

It is currently Thu Dec 19, 2024 6:55 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: StarBurn in VS2005 x64
PostPosted: Wed Jan 03, 2007 9:41 pm 
Offline

Joined: Wed Jan 03, 2007 5:28 pm
Posts: 68
Good afternoon.

StarBurn seems to be amazing and just what I need.

The samples (including .NET) work well but I had some trouble starting my own project.

I was using code taken from the C# Joliet sample but couldn't get it to work.

I created a new C# project, when into Add References, chose the COM tab, and picked "Star Burn OCX 1.0 Type Library", which proceeded to give me a reference named "StarBurn".

The Joliet sample's reference is called StarBurnX but that doesn't seem to matter. I can get the same by modifying the C# project file - it's just a name.

The identity is showing up as follows:

Joliet Sample:
{2D8EFD5C-32A8-4A4F-BAAD-25FF31482FE1}\1.0\0\tlbimp

My Project
{2D8EFD5C-32A8-4A4F-BAAD-25FF31482FE1}\1.0\0\tlbimp

The path is showing up as follows:

Joliet Sample:
C:\Program Files (x86)\Rocket Division Software\StarBurn SDK\Samples\GUI\C#\JolietSample\obj\Interop.StarBurn.dll

C:\Documents and Settings\haywshau\My Documents\Visual Studio 2005\Projects\Rocket Burn\Rocket Burn\obj\Debug\Interop.StarBurn.dll

I have a button with the following first line of code:

StarBurn.CRegistration Registration = new StarBurn.CRegistrationClass();

This line of code fails with the following exception:

"Retrieving the COM class factory for component with CLSID {4D541AA6-8C7B-46D7-9A59-00810677D93F} failed due to the following error: 80040154."

Yet this is the first line from the Joliet sample and as far as I can tell my project is configured the same as the Joliet sample.

The only difference I could see was that my project is visual studio 2005 instead of 2003. So I upgrade the Joliet sample and got the same error:

Retrieving the COM class factory for component with CLSID {4D541AA6-8C7B-46D7-9A59-00810677D93F} failed due to the following error: 80040154.

It seems from other posts that people are successfully using VS2005 but it turned out that if I went into the project properties, build, and set Target Platform to x86 that it worked just fine.

Is x64 supported at this time?

I posted all of this detail in case some one else was having the same trouble and didn't realize that it was an x64 problem (because it took me a long time to realize that).

Many thanks and StarBurn seems to be a wonderful product.

- Shaun


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 6:46 am 
Offline
Site Admin

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

current StarBurn SDK is 32-bit product only. So you can perfectly run it in "thunking" mode on the top of the 64-bit OS and your 64-bit application but there are no native 64-bit libraries YET. We do have internal version of the library which would co-exist with StarBurn for some time (and would replace it some day) which is 64-bit. But it's in it's early days still soo please stick with StarBurn SDK so far :)

Thanks!


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group