(Dev-C++) DLL loads in .exe files

Discussion about everything. New games, 3d math, development tips...
Post Reply
jimowns
Posts: 62
Joined: Thu Sep 28, 2006 5:28 pm
Location: X-Gamers

(Dev-C++) DLL loads in .exe files

Post by jimowns »

hey
i'm little confused about .DLL .

so i've a few questions:

1.a) how can i put a screen.bmp intro a DLL file.
1.b) how can i put Sounds and Videos in DLL files .

2) how can i load a DLL file in a .EXE .
i mean , if i open the .exe file its need the .DLL file to load the sounds and screens .


besides i use Dev-C++ and my project is Allegro application .
i hope you can help me .


|--- My English is not good ---| .



thanks in advance
Anteater
Posts: 266
Joined: Thu Jun 01, 2006 4:02 pm
Location: Earth
Contact:

Post by Anteater »

I think you can put resources in to a compiled executabe/dll using .RC scripts. Sorry I can't help you better, but I don't know alot about it myself. Try using Google.
AlexL
Posts: 184
Joined: Tue Mar 02, 2004 6:06 pm
Location: Washington State

Post by AlexL »

Jimowns,
You might want to check out this thread in from the FAQ section of the forums -- http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8924 -- This should give you a start in the right path for what your looking for.
jimowns
Posts: 62
Joined: Thu Sep 28, 2006 5:28 pm
Location: X-Gamers

Post by jimowns »

i got this error now .
this error is from the .exe file

------ Build started: Project: ChaoseRose, Configuration: Debug Win32 ------
Compiling...
ChaoseRose.cpp
c:\documents and settings\eigenaar\bureaublad\chaoserose\chaoserose\chaoserose.cpp(30) : fatal error C1083: Cannot open include file: 'resource.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\Eigenaar\Bureaublad\ChaoseRose\ChaoseRose\Debug\BuildLog.htm"
ChaoseRose - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


this error is from the DLL file .

----- Build started: Project: ChaoseRoseDLL, Configuration: Debug Win32 ------
Compiling resources...
.\resource.h(5) : fatal error RC1004: unexpected end of file found
Build log was saved at "file://c:\Documents and Settings\Eigenaar\Bureaublad\ChaoseRose\ChaoseRoseDLL\Debug\BuildLog.htm"
ChaoseRoseDLL - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========




i 'm useing VC++ 2005 now .
Post Reply