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
The pointer problem is coming from this.
class RamPlayerDlg : public GeDialog
typedef std::vector<BaseBitmap*> VideoFrames;
VideoFrames all_frames; //You don't use a pointer to create this variable
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.