RE: [GD-Windows] Linking data files in with executables
Brought to you by:
vexxed72
From: Jacob T. (C. D. Ltd) <Ja...@Co...> - 2002-04-18 10:55:34
|
Cheers for the suggestions not wanting to get into WIN32 API mess just chose to do it the simple way using .h, .cpp file. -----Original Message----- From: Gareth Lewin [mailto:GL...@cl...] Sent: 18 April 2002 11:42 To: Jacob Turner (Core Design Ltd); gam...@li... Subject: RE: [GD-Windows] Linking data files in with executables Why not just use a resource ? Much the same as DLLs work. You create a .rc file, reference the data file there, you can have BLOBs and you can get a pointer to the resource. Look at LoadResource(). -----Original Message----- From: Jacob Turner (Core Design Ltd) [mailto:Ja...@Co...] Sent: 18 April 2002 09:25 To: gam...@li... Subject: [GD-Windows] Linking data files in with executables Is there anyway in MSDEV to link an external binary datafile to an executable. So the data is part of the executable and can be referenced by a global variable. Our only solution at the moment is to export the datafile as a .h,.cpp file and include them in the project. I know how to do such things on the PS2 but not using MSDEV on the PC. Cheers Jake _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 |