On 22/11/2013 at 12:55, xxxxxxxx wrote:
It's always bumpy trying to convert old R11.5 code to R13.
Theses were the missing references
RP_FRAME
RP_FPS
RP_PLAY
RP_TOEND
RP_ONEFOR
RP_REWIND
RP_TOSTART
RP_ONEBACK
FSTYPE_IMAGES
FILTER_AVI_USER
FILTER_MOVIE_USER
The pointer problem is coming from this.
class RamPlayerDlg : public GeDialog
{
private:
typedef std::vector<BaseBitmap*> VideoFrames;
VideoFrames all_frames; //You don't use a pointer to create this variable
etc...
So I'm attempting to fix it like this:
ms->Open(fn,all_frames->at(0),fps,1122,&bc,NULL); //your code with pointer error
ms->Open(fn,all_frames.at(0),fps,1122,&bc,NULL); //my fixed version of the code
Lots of other stuff too that needs changing in order to work in R13.
But I'll get them all eventually. It's just a bit of work. But especially tough without the reference stuff.
I'll go take a look at your updates now.
Thanks again,
-ScottA