先行基本知识见此
https://blog.csdn.net/bcbobo21cn/article/details/109087252
win7, vc6;新建一个对话框工程;添加一个文本框;为文本框添加一个对话框类的成员变量;文本框用来输入一些数据;
对话框cpp文件头部加入;
#include<mmsystem.h>
#include<mmreg.h>
......
/*
typedef struct{
WORD wFormatTag;
WORD nChannels;
DWORD nSamplesPerSec;
DWORD nAvgBytesPerSec;
WORD nBlockAlign;
WORD wBitsPerSample;
WORD cbSize; } WAVEFORMATEX;
typedef struct {
LPSTR lpData;
DWORD dwBufferLength;