?
Solved

AVIFileOpen() fails in Win2000

Posted on 2000-01-11
5
Medium Priority
?
388 Views
Last Modified: 2013-12-03

My application calls AVIFileOpen() and works great in Win 95/98/NT 4.0

However, I get an error returned in Win2000: 0x800401F0

I have tried looking this up, but it does not seem to be obvious.

Thanks,

Don
0
Comment
Question by:dmetzler
  • 3
  • 2
5 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 400 total points
ID: 2342053
The error 0x800401F0 means CoInitialize has not been called.
0
 

Author Comment

by:dmetzler
ID: 2343283
Thanks, I will give this a try.

Why does it work in Win9x and NT 4.0 successfully without the CoInitialize() ?

Don
0
 
LVL 23

Expert Comment

by:chensu
ID: 2343403
No idea.
0
 

Author Comment

by:dmetzler
ID: 2343667
Further, if I perform the CoInitialize(), the program completely exits when I call AVIFileOpen() in Win2000.  (Unfortunately I do not have VC++ installed in Win2000) to check this.

Don
0
 
LVL 23

Expert Comment

by:chensu
ID: 2343765
That's weird. Maybe you need to install Visual C++ to debug it.
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question