Rocket Division Software http://www.starburnsoftware.com/forum/ |
|
StarBurn in Qt + MinGW http://www.starburnsoftware.com/forum/starburn-sdk-f3/starburn-mingw-t2214.html |
Page 1 of 1 |
Author: | matthew [ Sun Nov 20, 2011 5:37 pm ] |
Post subject: | StarBurn in Qt + MinGW |
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. |
Author: | matthew [ Mon Nov 21, 2011 7:21 am ] |
Post subject: | Re: StarBurn in Qt + MinGW |
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? |
Author: | dima (staff) [ Tue Nov 22, 2011 11:35 am ] |
Post subject: | Re: StarBurn in Qt + MinGW |
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 |
Author: | anton (staff) [ Tue Nov 22, 2011 12:22 pm ] |
Post subject: | Re: StarBurn in Qt + MinGW |
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. |
Author: | matthew [ Thu Nov 24, 2011 8:46 am ] |
Post subject: | Re: StarBurn in Qt + MinGW |
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. |
Author: | anton (staff) [ Thu Nov 24, 2011 9:18 am ] |
Post subject: | Re: StarBurn in Qt + MinGW |
Good. So you're going to be fine so far Let us know if you'd have other issues (IF). |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |