Discussion:
Opening REAL Studio 2010 Project in XOJO 2017
ER
2017-10-28 23:04:56 UTC
Permalink
I downloaded the newest version of XOJO to try out and opened a project built in RS 2010, to see what works and what doesn’t.
Well in this one project I have bunch of errors as follows and I don’t know what the fix is for them because what did work doesn’t now.\

thanks.

Undefined operator. Type QTSoundTrack does not define "=" with type Nil
if SoundTrack = nil

Declares directly into the runtime via Lib "" are no longer allowed
Declare Function GetMovieAudioFrequencyLevels Lib QuickTimeLib (theMovie as integer, whatMixToMeter as OSType, pAveragePowerLevels as Ptr) as Integer


Type "MoviePlayer" has no member named "selLength"
me.selLength=1000


Type "MoviePlayer" has no member named "selstart"
Me.selstart = 1


Declares directly into the runtime via Lib "" are no longer allowed
Declare Function GetMovieAudioFrequencyLevels Lib QuickTimeLib (theMovie as integer, whatMixToMeter as OSType, pAveragePowerLevels as Ptr) as Integer

Declares directly into the runtime via Lib "" are no longer allowed
Declare Function SetMovieAudioFrequencyMeteringNumBands Lib QuickTimeLib (theMovie as integer, whatMixToMeter as OSType, numberOfBandLevels as Ptr) as Integer


Declares directly into the runtime via Lib "" are no longer allowed
Declare Function GetMovieAudioFrequencyMeteringBandFrequencies Lib QuickTimeLib (theMovie as integer, whatMixToMeter as OSType, numBands as integer, outBandFrequencies as Ptr) as Integer

Can't find a type with this name
dim m as EditableMovie

Type "FolderItem" has no member named "OpenEditableMovie"
M = f.OpenEditableMovie


Parameter "theMovie" expects type Integer, but this is type No Type.
err = SetMovieAudioFrequencyMeteringNumBands(m.Handle, “stmx", numberOfBandLevels)

Can't find a type with this name
SoundTrack =new QTSoundTrack

Type "BinaryStream" has no member named "WriteLong"
Write.WriteLong LenB(saveInfo)


Type "BinaryStream" has no member named "readLong"
LN = read.readLong


Declares directly into the runtime via Lib "" are no longer allowed
Declare Function GetIndMenuItemWithCommandID lib kCarbonLib (inMenu as Integer, command as OSType, index as Integer, ByRef outmenu as Integer, outindex as Ptr) as Integer

Declares directly into the runtime via Lib "" are no longer allowed
Declare Function SetMenuItemCommandKey Lib kCarbonLib (inMenu as Integer, inItem as Short, inSetVirtualKey as Integer, inKey as Short) as Integer

Can't find a type with this name
SoundTrack As QTSoundTrack

Can't find a type with this name
Surround As QT3DAudio


To unsubscribe, email ***@xojo.com
Markus Winter
2017-10-28 23:44:34 UTC
Permalink
Post by ER
I downloaded the newest version of XOJO to try out and opened a project built in RS 2010, to see what works and what doesn’t.
Well in this one project I have bunch of errors as follows and I don’t know what the fix is for them because what did work doesn’t now.
QuickTime is dead and buried. Not Xojo's doing but Apple's. Xojo had to follow suite as even references in the Xojo FrameWork to QuickTime prevented apps from being accepted for the Mac Application Store (so QuickTime had to be removed completely).

MfG

Markus

Sent from my iPad


To unsubscribe, email ***@xojo.com
Markus Winter
2017-10-28 23:47:53 UTC
Permalink
P.S. most users are on the forums at forum.xojo.com

MfG

Markus



To unsubscribe, email ***@xojo.com
emile.a.schwarz
2017-10-29 09:03:07 UTC
Permalink
The release notes are your friend.

 

In the release notes, you will learn about QuickTime (Hi Markus), Carbon (deprecated, use Cocoa now), and so on.

 

Get them with Feedback (fast, before they disappear).

 

HTH,

 

Emile

 

 
Message du 29/10/17 01:05
De : "ER"
A : "Nug"
Objet : Opening REAL Studio 2010 Project in  XOJO 2017
I downloaded the newest version of XOJO to try out and opened a project built in RS 2010, to see what works and what doesn’t.
Well in this one project I have bunch of errors as follows and I don’t know what the fix is for them because what did work doesn’t now.\
thanks.
Undefined operator. Type QTSoundTrack does not define "=" with type Nil
if SoundTrack = nil
Declares directly into the runtime via Lib "" are no longer allowed
Declare Function GetMovieAudioFrequencyLevels Lib QuickTimeLib (theMovie as integer, whatMixToMeter as OSType, pAveragePowerLevels as Ptr) as Integer
Type "MoviePlayer" has no member named "selLength"
me.selLength=1000
Type "MoviePlayer" has no member named "selstart"
Me.selstart = 1
Declares directly into the runtime via Lib "" are no longer allowed
Declare Function GetMovieAudioFrequencyLevels Lib QuickTimeLib (theMovie as integer, whatMixToMeter as OSType, pAveragePowerLevels as Ptr) as Integer
Declares directly into the runtime via Lib "" are no longer allowed
Declare Function SetMovieAudioFrequencyMeteringNumBands Lib QuickTimeLib (theMovie as integer, whatMixToMeter as OSType, numberOfBandLevels as Ptr) as Integer
Declares directly into the runtime via Lib "" are no longer allowed
Declare Function GetMovieAudioFrequencyMeteringBandFrequencies Lib QuickTimeLib (theMovie as integer, whatMixToMeter as OSType, numBands as integer, outBandFrequencies as Ptr) as Integer
Can't find a type with this name
dim m as EditableMovie
Type "FolderItem" has no member named "OpenEditableMovie"
M = f.OpenEditableMovie
Parameter "theMovie" expects type Integer, but this is type No Type.
err = SetMovieAudioFrequencyMeteringNumBands(m.Handle, “stmx", numberOfBandLevels)
Can't find a type with this name
SoundTrack =new QTSoundTrack
Type "BinaryStream" has no member named "WriteLong"
Write.WriteLong LenB(saveInfo)
Type "BinaryStream" has no member named "readLong"
LN = read.readLong
Declares directly into the runtime via Lib "" are no longer allowed
Declare Function GetIndMenuItemWithCommandID lib kCarbonLib (inMenu as Integer, command as OSType, index as Integer, ByRef outmenu as Integer, outindex as Ptr) as Integer
Declares directly into the runtime via Lib "" are no longer allowed
Declare Function SetMenuItemCommandKey Lib kCarbonLib (inMenu as Integer, inItem as Short, inSetVirtualKey as Integer, inKey as Short) as Integer
Can't find a type with this name
SoundTrack As QTSoundTrack
Can't find a type with this name
Surround As QT3DAudio
To unsubscribe, email ***@xojo.com
Christian Schmitz
2017-10-29 09:53:31 UTC
Permalink
Post by ER
I downloaded the newest version of XOJO to try out and opened a project built in RS 2010, to see what works and what doesn’t.
Well in this one project I have bunch of errors as follows and I don’t know what the fix is for them because what did work doesn’t now.\
You may decide between keeping Real Studio 2010 or 2012. Maybe even Xojo 2013.

But for 2014 and newer versions, there is no QuickTime.


Or you rewrite with classes in my AVFoundation plugin:
http://monkeybreadsoftware.net/plugins-mbsavfoundationplugin.shtml

Sincerely
Christian
--
Read our blog about news on our plugins:

http://www.mbsplugins.de/




To unsubscribe, email ***@xojo.com
Chris Smolinski
2017-10-29 15:24:52 UTC
Permalink
Post by Christian Schmitz
Post by ER
I downloaded the newest version of XOJO to try out and opened a project built in RS 2010, to see what works and what doesn’t.
Well in this one project I have bunch of errors as follows and I don’t know what the fix is for them because what did work doesn’t now.\
You may decide between keeping Real Studio 2010 or 2012. Maybe even Xojo 2013.
But for 2014 and newer versions, there is no QuickTime.
http://monkeybreadsoftware.net/plugins-mbsavfoundationplugin.shtml
Sincerely
Christian
Christian,

Any chance of expanding that plugin to include more of QuickTime's functionality? Specifically being able to select output devices and re-route channels. Plus probably a few more things I have forgotten about :)

Chris Smolinski
Black Cat Systems
http://www.blackcatsystems.com




To unsubscribe, email ***@xojo.com
Christian Schmitz
2017-10-29 16:29:11 UTC
Permalink
Post by Chris Smolinski
Christian,
Any chance of expanding that plugin to include more of QuickTime's functionality? Specifically being able to select output devices and re-route channels. Plus probably a few more things I have forgotten about :)
I added all of AVFoundation.

What’s missing?

I think you can use a channel layout with AVFoundation.


Sincerely
Christian
--
Read our blog about news on our plugins:

http://www.mbsplugins.de/




To unsubscribe, email ***@xojo.com
Chris Smolinski
2017-12-19 16:45:30 UTC
Permalink
Post by Christian Schmitz
Post by Chris Smolinski
Christian,
Any chance of expanding that plugin to include more of QuickTime's functionality? Specifically being able to select output devices and re-route channels. Plus probably a few more things I have forgotten about :)
I added all of AVFoundation.
What’s missing?
I think you can use a channel layout with AVFoundation.
The same functionality in Windows is also critical for my applications. Not all of AVFoundation of course, but being able to play mp3/wave/etc files, route to a specified device / channel mapping, get/set playback position, etc.

Chris Smolinski
Black Cat Systems
http://www.blackcatsystems.com



To unsubscribe, email ***@xojo.com

Loading...