Модераторы: Rickert, Alexeis, BorisVorontsov
  

Поиск:

Ответ в темуСоздание новой темы Создание опроса
> Пытаюсь использовать Windows Media Encoder SDK 
:(
    Опции темы
AndreySol
Дата 18.4.2009, 08:41 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 772
Регистрация: 19.6.2004

Репутация: нет
Всего: 1



Сделал #include "wmencode.h"
Затем, к примеру, пробую:
Код

// Create the WMEncProfile2 object.
WMEncProfile2 WMEncPro2 = new WMEncProfile2();

и получаю ошибки:
error C2079: 'WMEncPro2' uses undefined class 'WMEncProfile2'
error C2512: 'WMEncProfile2' : no appropriate default constructor available
Пытался разобраться, чего не хватает, нашел следующее в Windows Media Encoder 9 Series SDK
Цитата

Programming in C++
This topic describes what you should know when programming in C++. Unless otherwise noted, the examples in this documentation are written in Microsoft Visual C++® 6.0. 

When programming in C++, you must add the necessary header files to your project. The following header files are provided with the Windows Media Encoder SDK.

Header file Description 
localagent.h    Includes interfaces that enable remote administration of Windows Media Encoder applications. 
mspropshell.h    Includes interfaces that enable you to implement dialog boxes containing the predefined property pages. 
wmdevctl.h  Includes interfaces for controlling digital devices.  
wmdrmprf.h    Includes interfaces for protecting content with DRM.  
wmencode.h  Includes interfaces that configure and run Windows Media Encoder applications. 
wmencvu.h  Includes an interface that can be used to create and run a preview of a stream. 
wmsencid.h  Includes a complete set of DISPID definitions. 

Instead of including the wmencode.h and mspropshell.h header files, you can import the corresponding type libraries to generate wrapper classes that simplify implementation of the related COM interfaces:

#import "WMEnc.exe"
#import "MSPShell.dll"


То что выделил черным не понял, указанные файлы у меня в системе отсутствуют.
Что делать, то ?

PM MAIL   Вверх
  
Ответ в темуСоздание новой темы Создание опроса
Вы можете найти полезным что...
Alexeis
Rickert
  • Английская документация по DirectX лежит где-то здесь.
  • Английская документация по OpenGL лежит где-то там.
  • Гейм-дев у нас обсуждают где-то тут

Ждём вас! С уважением, Alexeis, Rickert.

 
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
« Предыдущая тема | C/C++: Мультимедия, OpenGL/DirectX | Следующая тема »


 




[ Время генерации скрипта: 0.0378 ]   [ Использовано запросов: 22 ]   [ GZIP включён ]


Реклама на сайте     Информационное спонсорство

 
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности     Powered by Invision Power Board(R) 1.3 © 2003  IPS, Inc.