Private m_objEncoder As IAudioEncoderX
Set m_objEncoder = MP3EncoderX1.Object
Set m_objEncoder = MP3EncoderX1.Object
解决方案 »
- GetActiveView()返回为NULL??如何处理??
- OnCtlColor(pDC, pWnd, nCtlColor)引起的问题!200分求助高手!
- 高分求救,cformview 中添加ocx控件异常
- 向数据库一个文本字段插入数据的时候 出的错误。
- 用WM_PAINT自绘按钮问题???
- 请教一下,用CString::Format把一段CString类型的字符串分段保存
- 请问在那可以找到项目做?
- 大家去过这里没有? http://congcong.51.net/main/index.htm 是不是真的?
- VC++打印
- ATL做的复合控件中,使用CTabCtrl的派生类 派生类中不能接收 并处理TCN_SELCHANGE 事件
- 如何判断软件是否安装在系统中?
- 关于指针转换的问题
_PptApplication m_powerpointApp;
Presentations m_powerpointPres;
_Presentation m_powerpointPre; m_powerpointPres.ReleaseDispatch();
m_powerpointPre.ReleaseDispatch();
if(!m_powerpointApp.CreateDispatch("PowerPoint.Application"))
{
AfxMessageBox("创建PowerPoint服务失败!");
return FALSE;
}
m_powerpointApp.m_bAutoRelease=true;
m_powerpointApp.SetVisible(TRUE);//对于PowerPoint必须设置为TRUE m_powerpointPres.AttachDispatch(m_powerpointApp.GetPresentations());
m_powerpointPres.Open(lpszFileName,-1,-1,-1);
m_powerpointPre.AttachDispatch(m_powerpointApp.GetActivePresentation(),TRUE);
m_powerpointPre.PrintOut(-1,-1,"",long(1),-1);
m_powerpointApp.Quit(); m_powerpointPre.ReleaseDispatch();
class aa
{
private:
IAudioEncoderXPtr m_ptr;
在调用函数中
{
m_ptr.CreateInstance(...)
m_ptr->method();
....
}}
IAudioEncoderX 是什么是一个类码?