Red faceHelpAudio file player

Posts 16–26 of 26 · Page 2 of 2
Quote Originally Posted by Vincent Dominguez View Post
Just replace the

#using namespace AudioPlayer;

with what u said to do?
I'm telling you forget about that and use the PlaySound() function instead.
Quote Originally Posted by Kenshin13 View Post


I'm telling you forget about that and use the PlaySound() function instead.
idk how to use that for this that'd just play a wav file that is in a directory.

http://screencap.net/f/f87a8e00.png
...Do I have to write this for you?
[*]Get the file name via the browser

Code:
string FileName; //File name is stored here

if(PlayIsPressed) Play( FileName );
I just wanna fix the way I coded it not change it
How do you expect us to help you if you're not going to post your code.
Quote Originally Posted by master131 View Post
How do you expect us to help you if you're not going to post your code.
Can I upload it? on the 1st post?
Quote Originally Posted by Jason View Post
Probably errors in your Form1.h file. You really need to give more information than truncated source code and a massive error list.

This:


Is not helpful, I can see 2 lines of code and about 50 errors. Also, it looks like you have a <space> in one of you .cpp file names, which is something you should avoid.
Ok I'm going to get rid of the space in the name.
remove the # <- idk how its prenaunced, i guess by reading some comments here its called the hashtag :P
Remember that compiler errors not always indicate the right place where the error is coming from, therefor i suggest when you coded a little piece of software you compile it.
If you don't do it like that you will get problems.. for example; you code a new base its like 1000 lines or so, then you compile and you get a thousend errors by some missing synthax, etc..
Quote Originally Posted by AeroMan View Post
remove the # <- idk how its prenaunced, i guess by reading some comments here its called the hashtag :P
Remember that compiler errors not always indicate the right place where the error is coming from, therefor i suggest when you coded a little piece of software you compile it.
If you don't do it like that you will get problems.. for example; you code a new base its like 1000 lines or so, then you compile and you get a thousend errors by some missing synthax, etc..
So Recode it and compile it every like 5 lines?
Quote Originally Posted by Vincent Dominguez View Post
So Recode it and compile it every like 5 lines?
When you finished for example a function, then compile it so you can see if you made a mistake.
Quote Originally Posted by AeroMan View Post
When you finished for example a function, then compile it so you can see if you made a mistake.
Alright will do.
Posts 16–26 of 26 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us