View Single Post
Old 10-09-2002, 11:25 PM   #6
CaffeineAddict
Constant Bitrate
 
Join Date: Jul 2001
Location: Richmond, VA USA
Vehicle: 1985 4x4 S-10 Blazer
Posts: 217
My Photos: ()
You are a mind reader... and you're scaring me. I just tried to get it to play a file and then open a playlist and couldn't get it figured out, searching google didn't help and I was about to ask when I refreshed the post to see if there were any replies... and boom there you are. Anyway one question, I have been trying to decipher the windows.h file but no luck there... is there any sites that lists all of the little pieces of syntax (for example one search did reveal a "SW_SHOWNORMAL") Which I see loads it just like well it hurts to point out, normal. I'm sure more searching on my part will yield something.

I fully understand your point about leaving it flexible to load any file through a string (ie not hardcoding) but I don't understand why you put:
Code:
path.Format("%s \"%s\"", "C:\\Program Files\\Winamp\\winamp.exe ", someFunction());

What is the point of the "%s \"%s\"" ?

-Josh

BTW I tried the code and didn't comprehend what you said about the escape sequence (/") then I re-read it and thought it over and remembered seeing something like that before and found my error and needless to say it works! Thanks again!
__________________
Josh Karger
By reading this post you agree to overlook all grammatical, spelling, and typographical errors! ;)
CaffeineAddict is offline   Reply With Quote