ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 OpenMediaFile error 4.1.0
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

sandy771

57 Posts

Posted - Feb 24 2012 :  04:38:31  Show Profile  Reply
I have just installed 4.1.0 and recompiled my code. Code that worked fine before now exits on a call to OpenMediaFile. Code runs OK and then exits immediately (no exception generated) as I step through.

Two different routes to that function call (in different functions) produce the same problem.

Is this a known problem? having to pop out so can't investigate further for a while.

fab

1310 Posts

Posted - Feb 24 2012 :  04:40:02  Show Profile  Reply
Please specify following info:
- your operating system
- the file format you are trying to load (and if possible a download link)
Go to Top of Page

sandy771

57 Posts

Posted - Feb 24 2012 :  06:38:14  Show Profile  Reply
Windows 7 32 bit
Builder 2009
all formats files (tried about 10) from memory avi, mpg & mov files that opened OK in earlier release.
Go to Top of Page

sandy771

57 Posts

Posted - Feb 24 2012 :  08:55:15  Show Profile  Reply
OK I have had a few minutes to play before iam off out again.

I created a new program with a TOpenFialog, TImageEnView and TImageEnIO and the following code

void __fastcall TForm1::FormShow(TObject *Sender)
{
if(OD->Execute())
{
IO->OpenMediaFile(OD->FileName);
}
}

If I single step through the code the program exits as it executes OpenMediaFile

I have uninstalled and reinstalled ImageEn
Go to Top of Page

fab

1310 Posts

Posted - Feb 24 2012 :  10:15:10  Show Profile  Reply
I'm sorry, it seems to work here (BCB 2009 and Win7-32), just putting a TImageEnView and a button and executing:

ImageEnView1->IO->OpenMediaFile("anavi.avi");
ImageEnView1->IO->LoadFromMediaFile(0);
ImageEnView1->IO->CloseMediaFile();
Go to Top of Page

sandy771

57 Posts

Posted - Feb 24 2012 :  12:05:11  Show Profile  Reply
OK thanks Fabrizio

This is odd - i'll look into it further (try another machine)
Go to Top of Page

sandy771

57 Posts

Posted - Feb 28 2012 :  03:49:44  Show Profile  Reply
Just installing Builder on a new machine - anyone seen anytihng like this before? any ideas what could cause it?
Go to Top of Page

fab

1310 Posts

Posted - Feb 28 2012 :  04:37:40  Show Profile  Reply
Please could you try an uncompressed-avi (that doesn't require a codec)?
Go to Top of Page

sandy771

57 Posts

Posted - Feb 29 2012 :  02:32:18  Show Profile  Reply
Not sure i have a non compressed file - i'll look

I have installed builder on a new machine (XP). I get a "debugger installed" error when I run (at openmediafile) whioh might be an indication of where the problem is.

I have imageen devexpress and codesite packages installed above and beyond the basics.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: