Description: Rewrapped a point-to-point DLL with ActiveX (the DLL file is written by a predecessor on VCKBASE)
I just changed it to an ActiveX of MFC, which is convenient for scripting languages such as VB, VBS, js, especially in IE
The knowledge points used in the program:
How to write activex with MFC
How to apply socket programming in activex (as in normal procedure ~~ ~)
G729a speech compression.
Read and write speech devices!
Activex provides two attributes nTcpPort, StartTalk nUdpPort and two method, EndTalk. - Activex repackaged with a point - to - point communications DLL file (the DLL file is the VCKBASE written by a senior) is to "bringing it into even a MFC & # 39 s Activex, so easy in VB, VBS, js, etc. The scripting language, particularly the procedures, informs in the IE point of knowledge: how to use MFC to write how to use Activex Activex in socket programming (in fact, and the general procedure ~ ~) G729a voice compression will. The voice equipment to read and write! Activex two attributes provide nTcpPort, nUdpPort and two methods of StartTalk, EndTalk.
File list (Check if you may need any files):
P2P语音通信
...........\a.bat
...........\AudioCode.cpp
...........\AudioCode.h
...........\ClientSocket.cpp
...........\ClientSocket.h
...........\G729a.lib
...........\head.h
...........\Interface.cpp
...........\Interface.h
...........\ListenSocket.cpp
...........\ListenSocket.h
...........\MixIn.cpp
...........\MixIn.h
...........\MixOut.cpp
...........\MixOut.h
...........\MyWaveIn.cpp
...........\MyWaveIn.h
...........\ReadMe.txt
...........\RecSocket.cpp
...........\RecSocket.h
...........\Resource.h
...........\SendClient.cpp
...........\SendClient.h
...........\SortData.cpp
...........\SortData.h
...........\stdafx.cpp
...........\stdafx.h
...........\UdpSocket.cpp
...........\UdpSocket.h
...........\VP2P.cpp
...........\VP2P.def
...........\VP2P.h
...........\VP2P.idl
...........\VP2P.ncb
...........\VP2P.rc
...........\VP2P.sln
...........\VP2P.vcproj
...........\VP2P.vcproj.WANG.Administrator.user
...........\VP2PCtrl.bmp
...........\VP2PCtrl.cpp
...........\VP2PCtrl.h
...........\VP2Pidl.h
...........\VP2PPropPage.cpp
...........\VP2PPropPage.h
...........\VP2P_i.c
...........\WaveIn.cpp
...........\WaveIn.h
...........\WaveOut.cpp
...........\WaveOut.h
...........\说明文件.cpp