Click here to Skip to main content
15,914,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionResource Problems Pin
Largo Usagi5-Feb-09 9:19
Largo Usagi5-Feb-09 9:19 
Ok im trying to code a program that includes an mp3 into the exe and plays the mp3 from it, well the only problem im having and and have not been able to solve and i have been looking for 2 days now is why im having errors in my resource files im using dev C++ latest version

here is the resource file (.rc)
#include <windows.h>
#include "resource.h"

MP3_JIZZSONG RCDATA ".\\resource\\mp3\\jizz.mp3"
ICON_EXE ICON DISCARDABLE ".\\resource\\icon\\cmd.ico"
</windows.h>


here is the matching header
//{{NO_DEPENDENCIES}}

#define MP3_JIZZSONG 100
#define ICON_EXE 200


i have been getting this error on compile
5 N:\Documents\JizzCannon2.0\resource\resource.rc [Resource error] syntax error

if any one knows about .rs and .res files and could help that would be great thanks

-Largo Usagi
AnswerRe: Resource Problems Pin
Stuart Dootson5-Feb-09 9:55
professionalStuart Dootson5-Feb-09 9:55 
Questionwin API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 8:13
mgbrain5-Feb-09 8:13 
AnswerRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 9:46
professionalStuart Dootson5-Feb-09 9:46 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 9:56
mgbrain5-Feb-09 9:56 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 10:12
professionalStuart Dootson5-Feb-09 10:12 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 10:27
mgbrain5-Feb-09 10:27 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 10:36
professionalStuart Dootson5-Feb-09 10:36 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 11:00
mgbrain5-Feb-09 11:00 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 11:08
professionalStuart Dootson5-Feb-09 11:08 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 11:25
mgbrain5-Feb-09 11:25 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 11:32
professionalStuart Dootson5-Feb-09 11:32 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 11:39
mgbrain5-Feb-09 11:39 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
David Crow5-Feb-09 15:32
David Crow5-Feb-09 15:32 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 19:53
professionalStuart Dootson5-Feb-09 19:53 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
David Crow5-Feb-09 15:31
David Crow5-Feb-09 15:31 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain6-Feb-09 9:16
mgbrain6-Feb-09 9:16 
Questionunable to concatenate strings in c++ [RESOLVED] Pin
Gregory Lund5-Feb-09 5:42
Gregory Lund5-Feb-09 5:42 
AnswerRe: unable to concatenate strings in c++ Pin
Code-o-mat5-Feb-09 5:53
Code-o-mat5-Feb-09 5:53 
AnswerRe: unable to concatenate strings in c++ Pin
Stuart Dootson5-Feb-09 6:20
professionalStuart Dootson5-Feb-09 6:20 
GeneralRe: unable to concatenate strings in c++ Pin
Gregory Lund5-Feb-09 7:27
Gregory Lund5-Feb-09 7:27 
QuestionHow to read the contents of a VARIANT ? Pin
LindeA5-Feb-09 3:39
LindeA5-Feb-09 3:39 
AnswerRe: How to read the contents of a VARIANT ? Pin
CPallini5-Feb-09 3:55
mveCPallini5-Feb-09 3:55 
GeneralRe: How to read the contents of a VARIANT ? Pin
LindeA5-Feb-09 21:19
LindeA5-Feb-09 21:19 
AnswerRe: How to read the contents of a VARIANT ? Pin
prasad_som5-Feb-09 4:20
prasad_som5-Feb-09 4:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.