Click here to Skip to main content
15,894,291 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Writing/Reading binaric objects to/from a file Pin
Cedric Moonen7-Oct-04 2:19
Cedric Moonen7-Oct-04 2:19 
GeneralRe: Writing/Reading binaric objects to/from a file Pin
impeham7-Oct-04 2:45
impeham7-Oct-04 2:45 
GeneralRe: Writing/Reading binaric objects to/from a file Pin
Cedric Moonen7-Oct-04 3:03
Cedric Moonen7-Oct-04 3:03 
GeneralRe: Writing/Reading binaric objects to/from a file Pin
Ravi Bhavnani7-Oct-04 2:23
professionalRavi Bhavnani7-Oct-04 2:23 
GeneralData Sharing Pin
shiraztk7-Oct-04 0:49
shiraztk7-Oct-04 0:49 
GeneralRe: Data Sharing Pin
Cedric Moonen7-Oct-04 1:12
Cedric Moonen7-Oct-04 1:12 
GeneralRe: Data Sharing Pin
Blake Miller7-Oct-04 11:07
Blake Miller7-Oct-04 11:07 
GeneralRe: Data Sharing Pin
jan larsen7-Oct-04 1:22
jan larsen7-Oct-04 1:22 
The recommended way to share data, is memory mapped files. Look up the functions CreateFileMapping and MapViewOfFile.

You could also create a shared section in your dll, I can't remember the procedure, but you should be able to find it on MSDN by searching for '#pragma' and 'shared'.

I don't think you can share memory allocated by new() or malloc() though...

"After all it's just text at the end of the day. - Colin Davies

"For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
GeneralRe: Data Sharing Pin
shiraztk7-Oct-04 19:40
shiraztk7-Oct-04 19:40 
GeneralConverting CString Pin
Franz Klein7-Oct-04 0:07
Franz Klein7-Oct-04 0:07 
GeneralRe: Converting CString Pin
Joaquín M López Muñoz7-Oct-04 2:40
Joaquín M López Muñoz7-Oct-04 2:40 
GeneralSocket Programming using threads Pin
Ajoy6-Oct-04 23:29
Ajoy6-Oct-04 23:29 
GeneralRe: Socket Programming using threads Pin
Sujan Christo7-Oct-04 0:49
Sujan Christo7-Oct-04 0:49 
GeneralRe: Socket Programming using threads Pin
Bob Stanneveld7-Oct-04 2:46
Bob Stanneveld7-Oct-04 2:46 
GeneralRe: Socket Programming using threads Pin
vcplusplus7-Oct-04 3:02
vcplusplus7-Oct-04 3:02 
GeneralRe: Socket Programming using threads Pin
Bob Stanneveld7-Oct-04 3:11
Bob Stanneveld7-Oct-04 3:11 
GeneralDIID_HTMLElementEvents2 Pin
george ivanov6-Oct-04 22:50
george ivanov6-Oct-04 22:50 
GeneralVC and Crystal Report Pin
TrungHuynh6-Oct-04 22:27
TrungHuynh6-Oct-04 22:27 
GeneralRe: VC and Crystal Report Pin
Member 14198776-Oct-04 23:43
Member 14198776-Oct-04 23:43 
GeneralRe: VC and Crystal Report Pin
Jose Cezar S. Ynion7-Oct-04 1:47
Jose Cezar S. Ynion7-Oct-04 1:47 
GeneralRe: VC and Crystal Report Pin
BlackDice7-Oct-04 2:54
BlackDice7-Oct-04 2:54 
GeneralRe: VC and Crystal Report Pin
TrungHuynh7-Oct-04 14:15
TrungHuynh7-Oct-04 14:15 
GeneralRe: VC and Crystal Report Pin
Jose Cezar S. Ynion7-Oct-04 16:14
Jose Cezar S. Ynion7-Oct-04 16:14 
GeneralRe: VC and Crystal Report Pin
TrungHuynh7-Oct-04 18:35
TrungHuynh7-Oct-04 18:35 
GeneralRe: VC and Crystal Report Pin
Jose Cezar S. Ynion7-Oct-04 16:11
Jose Cezar S. Ynion7-Oct-04 16:11 

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.