iam developing chat server application . i need to capture audio instantly from the microphone and transfer it to the internet . How can i do that please help me with source code even if it is directX or if it is pure windows api(S) like waveinopen and waveoutopen cause i know them but i don't know how to use them. Any help about any of the above possiblities

i need help please
MikeDeko
Take a look at the directsound samples ... there is some code in there for capturing sound.
All u need to do then is write the netcode and maybe add some compression to the captured sound