Dear JobsGuo,
 
I have checked my home PC, I found the same problem as you 
said. (Only DirectSound support, No DirectShow support)
 
I think that's caused by the configure.exe program given by 
ptlib.
 
By the way, in my experience, ptlib is most useful for 
platform independent. DirectX is only a feature for Windows (actually, windows 
for PC), I don't suggest you to use such feature. If you need to use DirectX, 
you can use it in your application level, that's the better 
solution.
 
FYI and wish you good luck!
 
 
 
Best regards,
Ryan
 
 
Sent: Friday, November 28, 2008 7:37 PM
Subject: Re: [h323plus] how to support directshow
  
Thanks for all your 
help.
Yes,I install directx sdk 9.0c.
maybe I should download the lastest version from 
svn,now,I just download it from www.packetizer.com. 
 
I also try to modify the config.c to :
 
dnl MSWIN_DISPLAY    dsound,Direct Sound Support
dnl 
MSWIN_CHECK_FILE dsound,include\dsound.h,P_DIRECTSOUND=1
dnl 
MSWIN_DISPLAY    dshow, Direct Show Support
dnl 
MSWIN_CHECK_FILE dshow, include\DShow.h, P_DIRECTSHOW =1
dnl MSWIN_DIR_SYMBOL 
dsound,DIRECTX_DIR
dnl MSWIN_DIR_SYMBOL dshow, DIRECTX_DIR
 
 
Although when I compile it with Visual studio c++2003,it output 
"Direct Show Support",
at fact,when I compile the myphone2,
I find it donot support.
 
Thanks again.
2008-11-28 
JobsGuo(Guo Huayong) 
发件人: Nyamul Hassan 
发送时间: 2008-11-28  19:07:42 
收件人: h323plus 
抄送: 
主题: Re: [h323plus] how to 
support directshow 
Hi,
 
As Ryan said, you need DIRECT X SDK, not 
DirectX9.0c
 
Regards
HASSAN
 
 
 
  ----- Original Message ----- 
  
  
  Sent: Friday, November 28, 2008 
  12:59
  Subject: Re: [h323plus] how to support 
  directshow
  
  Hi,Dear Ryan:
  It is 
  very exit to received an chinese friends reply.
  Maybe I did not describe my 
  difficulty clearly.I install all the parts of Directx9.0c.
  At fact,I always develop project based on DShow.And 
  follow your remind,I reinstall the DirectX9.0c,
  it is same as the last time.
  I said I can not find 
  dshow.h,just means I can not find it in the ptlib/dshow.h.
  I ever remember it need #include 
  <ptlib/dshow.h>.but today,I do not find this code.
  At last,Do you sure it 
  support dshow just install directx9 without any other set?
  Thanks again.
   
   
  2008-11-28 
  
  
  JobsGuo(Guo Huayong) 
  
  
  
  发件人: Ryan Yan 
  发送时间: 2008-11-28  
  14:32:18 
  收件人: JobsGuo\(Guo Huayong\); 
  h323plus 
  抄送: 
  主题: Re: [h323plus] how to 
  support directshow 
  
  
  Dear JobsGuo,
   
   
  Please double check if you have installed all the parts of 
  DirectX 9.0 SDK.
   
  I can find dshow.h in \DXSDK\include\
   
  If you have any other problem, you can contact 
  me.
   
  You are Chinese too
 
   
   
  Good luck,
  Ryan
  
  
  
  
  Sent: Friday, November 28, 2008 1:56 PM
  
  Subject: [h323plus] how to support directshow
  
  
  Hi,all.
  when I compile the  ptlib-v2_0_1,I find the 
  config in ptbuildopts.h show below:
   
  /////////////////////////////////////////////////
//
// DirectX 
  Support (Windows only)
//
   
  #ifndef _WIN32_WCE
#define P_DIRECTSOUND 1
#undef 
  P_DIRECTSHOW
#undef P_VFW_CAPTURE
#endif
   
    So I can not get the directshow support.but I can get the 
  directsound support.I indeed install directx 9.0c.so it can find the directx 
  file.
  but why it can not find the directshow? Besides,I also can not find the 
  dshow.h.
  Who can help me ?thanks!
   
  2008-11-28 
  
  
  JobsGuo(Guo Huayong) 
  
  Mobile:13918103120
  QQ    : 360480589