#1 Burning Software

It is currently Thu Mar 28, 2024 9:13 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: StarBurn in Qt + MinGW
PostPosted: Sun Nov 20, 2011 5:37 pm 
Offline

Joined: Sun Nov 20, 2011 5:20 pm
Posts: 3
Hello. I want to develop small application with Qt + MinGW 4.4 for burning CD/DVD/BD. I would like to wrap the StarBurn functionality in my own c++ library that will offers high-level API to my application (moc, signal slot system, properties etc). But I have question about "compability" beetwen StarBurn library and MinGW compiler. Can I use the starburn libraries with mingw compiler in qtcreator? Im from Poland so I am sorry for my english.


Top
 Profile  
 
 Post subject: Re: StarBurn in Qt + MinGW
PostPosted: Mon Nov 21, 2011 7:21 am 
Offline

Joined: Sun Nov 20, 2011 5:20 pm
Posts: 3
One problem that I encountered lay in mingw header => winbase.h. Declaration of SYSTEMTIME structure in mingw winbase.h was:
Code:
typedef struct _SYSTEMTIME {
   WORD wYear;
   WORD wMonth;
   WORD wDayOfWeek;
   WORD wDay;
   WORD wHour;
   WORD wMinute;
   WORD wSecond;
   WORD wMilliseconds;
} SYSTEMTIME,*LPSYSTEMTIME;

and i changed this declaration to:
Code:
typedef struct _SYSTEMTIME {
   WORD wYear;
   WORD wMonth;
   WORD wDayOfWeek;
   WORD wDay;
   WORD wHour;
   WORD wMinute;
   WORD wSecond;
   WORD wMilliseconds;
} SYSTEMTIME,*PSYSTEMTIME,*LPSYSTEMTIME;

because starburn library uses near pointer *PSYSTEMTIME. After this change my library which uses starburn library compile succesfull.
Can anyone tell me about any other issues with mingw and starburn library?


Top
 Profile  
 
 Post subject: Re: StarBurn in Qt + MinGW
PostPosted: Tue Nov 22, 2011 11:35 am 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello,

1) We didn't check whether our SDK is compatible with MinGW;

2) We will be glad to help you resolve possible issues with MinGW;

Regards,

Dmitry


Top
 Profile  
 
 Post subject: Re: StarBurn in Qt + MinGW
PostPosted: Tue Nov 22, 2011 12:22 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
If you'll use dynamic linking (DLL) everything should be fine. Static linking is not going to work and there's no way to workaround this.

It's OK to change / add names but you should not change structure sizes / packing / change member variables.


Top
 Profile  
 
 Post subject: Re: StarBurn in Qt + MinGW
PostPosted: Thu Nov 24, 2011 8:46 am 
Offline

Joined: Sun Nov 20, 2011 5:20 pm
Posts: 3
Thank you for the reply. I'm going to use only dynaminc linking libraries for my projects. Everything was OK after changing/adding near *PSYSTEMTIME pointer definition to my MinGW <winbase.h> file.


Top
 Profile  
 
 Post subject: Re: StarBurn in Qt + MinGW
PostPosted: Thu Nov 24, 2011 9:18 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Good. So you're going to be fine so far :) Let us know if you'd have other issues (IF).


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

All times are UTC


Who is online

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