actually I'am writing a ATL COM Server who will contain method use form reading, and getting info about, an AudioCD.
My problem was when I write the method who return the current track position, the mciSendString command return my a char, but how can I return this value to my ComClient.
Can somebody help me...
Here is my code...
STDMETHODIMP CAudioCd::GetCurrentTrackPosition(DON'T_KNOW_THE_TYPE *out_trackPosition)
// TODO: Add your implementation code here
char position = "00:00:00:00";
mciSendString("status playcd position", position, sizeof(position), NULL);
out_trackPosition = thePosition;
Thanks for help