Click here to Skip to main content
15,895,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WSABUF WSASend and WSAReceive and server question Pin
valikac17-Aug-03 5:34
valikac17-Aug-03 5:34 
GeneralCancelling MoveFileExe with MOVEFILE_DELAY_UNTIL_REBOOT Pin
Kayembi16-Aug-03 8:25
Kayembi16-Aug-03 8:25 
GeneralRe: Cancelling MoveFileExe with MOVEFILE_DELAY_UNTIL_REBOOT Pin
Michael Dunn16-Aug-03 9:01
sitebuilderMichael Dunn16-Aug-03 9:01 
GeneralRe: Cancelling MoveFileExe with MOVEFILE_DELAY_UNTIL_REBOOT Pin
Kayembi16-Aug-03 11:57
Kayembi16-Aug-03 11:57 
GeneralRe: Cancelling MoveFileExe with MOVEFILE_DELAY_UNTIL_REBOOT Pin
Michael Dunn16-Aug-03 13:11
sitebuilderMichael Dunn16-Aug-03 13:11 
GeneralRe: Cancelling MoveFileExe with MOVEFILE_DELAY_UNTIL_REBOOT Pin
Kayembi16-Aug-03 14:54
Kayembi16-Aug-03 14:54 
GeneralRe: Cancelling MoveFileExe with MOVEFILE_DELAY_UNTIL_REBOOT Pin
PJ Arends16-Aug-03 15:38
professionalPJ Arends16-Aug-03 15:38 
GeneralRe: Cancelling MoveFileExe with MOVEFILE_DELAY_UNTIL_REBOOT Pin
Kayembi16-Aug-03 22:52
Kayembi16-Aug-03 22:52 
Many thanks for your reply. Frankly, I would love to use memory files and avoid writing the data to disk at all. Unfortunately, I don't think it's practical - I wish it was. The problem is this:

My app is essentially a launcher for the game executable. The game executable and some of its files (models, scripts etc) are kept in an archive. My launcher extracts this archive to a temporary location on disk and runs the game from there. Would it be possible to extract these files to memory and run them from there? If so, how would I go about it? And would they be able to access other files on the hard-disk? A bigger problem is that using memory files would consume RAM that the game needs. As I have no way of accessing the file loading code of the game engine (it has an SDK but it is fairly limited in that respect, mainly aimed at adding graphics capabilities), I cannot tell the game executable to load files into memory, open them, then destroy them...

If anyone can think of a better solution than the one I am currently using, I would be really grateful... If not, I'd still be grateful for some help with cancelling MoveFileEx! Smile | :)

Many thanks, all help much appreciated,
KB
GeneralChange mouse button Pin
Svinnn16-Aug-03 7:41
sussSvinnn16-Aug-03 7:41 
GeneralRe: Change mouse button Pin
John R. Shaw16-Aug-03 8:42
John R. Shaw16-Aug-03 8:42 
GeneralMDIChildWnd flicker !!! Pin
_skidrow_vn_16-Aug-03 7:41
_skidrow_vn_16-Aug-03 7:41 
GeneralRe: MDIChildWnd flicker !!! Pin
John R. Shaw16-Aug-03 8:56
John R. Shaw16-Aug-03 8:56 
GeneralRe: MDIChildWnd flicker !!! Pin
_skidrow_vn_17-Aug-03 13:04
_skidrow_vn_17-Aug-03 13:04 
GeneralRe: MDIChildWnd flicker !!! Pin
John R. Shaw19-Aug-03 9:50
John R. Shaw19-Aug-03 9:50 
GeneralSerial Ports Pin
Nnamdi Onyeyiri16-Aug-03 7:10
Nnamdi Onyeyiri16-Aug-03 7:10 
GeneralRe: Serial Ports Pin
Trollslayer16-Aug-03 8:18
mentorTrollslayer16-Aug-03 8:18 
GeneralRe: Serial Ports Pin
Nnamdi Onyeyiri16-Aug-03 8:22
Nnamdi Onyeyiri16-Aug-03 8:22 
GeneralRe: Serial Ports Pin
Trollslayer16-Aug-03 8:56
mentorTrollslayer16-Aug-03 8:56 
GeneralRe: Serial Ports Pin
pxw16-Aug-03 11:20
pxw16-Aug-03 11:20 
GeneralRe: Serial Ports Pin
NigelQ16-Aug-03 16:50
NigelQ16-Aug-03 16:50 
GeneralRe: Serial Ports Pin
Nnamdi Onyeyiri16-Aug-03 22:18
Nnamdi Onyeyiri16-Aug-03 22:18 
GeneralRe: Serial Ports Pin
Ryan Binns16-Aug-03 23:42
Ryan Binns16-Aug-03 23:42 
GeneralRe: Serial Ports Pin
Nnamdi Onyeyiri16-Aug-03 23:44
Nnamdi Onyeyiri16-Aug-03 23:44 
GeneralRe: Serial Ports Pin
Ryan Binns16-Aug-03 23:47
Ryan Binns16-Aug-03 23:47 
GeneralRe: Serial Ports Pin
Nnamdi Onyeyiri16-Aug-03 23:48
Nnamdi Onyeyiri16-Aug-03 23:48 

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.