CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Subject



The following code works well in a standard application but not when the function is moved into a dll.
 
Any idea why it would'nt work in a dll?
 
 
                        char command_text[85];
                        strcpy(command_text, (char *) &ReceiveBuffer[15]);
                        PlaySound(command_text, NULL, SND_FILENAME);
The strcpy copies a path and file name from a receivebuffer into the command_text variable.   

W Komornicki's Home Page | Main Index | Thread Index