The solution is to change the target platform of your. NET applications running on a 64-bit system will automatically be launched in a 64-bit process, they will fail to work properly if 32-bit components are being referenced, resulting in runtime exceptions, such as Class not registered or Cannot instanciate class. Most existing COM components (including the QuickTime Control for Windows) have been written for 32-bit applications and will not run in 64-bit processes on a 64-bit platform. If you're on a 64-bit platform, such as Windows XP 64-bit or Windows Vista 64-bit, things are a little more complicated. By default it will show an empty panel with the QuickTime logo. You can now drag the Apple QuickTime Control from the toolbox and drop it onto any of your forms. In the list of COM components set the checkbox for Apple QuickTime Control 2.0.In the Choose Toolbox Items window select the COM Components tab. Right-click any category in the toolbox (e.g.Open the Visual Studio Toolbox (if it is not already open, you can open it by selecting Toolbox from the View menu).The following steps apply specifically to Visual C# 2005 Express Edition, but the setup will be similar for Visual Studio 2005: Adding the QuickTime Control to Visual Studioīefore you can start using QuickTime in your applications, you have to add the QuickTime COM/ActiveX Control to Visual Studio. The free player installation will work just fine. It is also not required to upgrade to the commercial 'QuickTime Pro' version. iTunes is not required to play QuickTime media, so you can safely get the version without it. QuickTime Player comes with all the additional components for developers. Download and install Apple's QuickTime for Windows (note that the version for Windows 2000/XP also works on Windows Vista).It is assumed that you have a working installation of Visual Studio 2005 or Visual C# 2005 Express Edition and the. However, although the online documentation for the QuickTime Framework is quite extensive and detailed, the COM/ActiveX section leaves much to be desired, especially if it comes to the initial installation and setup. NET applications is fairly easy using the QuickTime COM/ActiveX Control provided by Apple as part of their QuickTime for Windows player software. Adding the QuickTime Control to Visual StudioĪdding the ability to play embedded QuickTime media in.Tags: activex com dotnet programming quicktime windows NET applications, and how to resolve some of the difficulties that you will encounter when developing for 64-bit platforms. NET Applications using Visual C#Ī detailed description on how to get started with QuickTime in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |