Click here to Skip to main content
16,006,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disconnect modem from app Pin
Ravi Bhavnani22-Jul-02 15:32
professionalRavi Bhavnani22-Jul-02 15:32 
GeneralRC4 encryption problems... *updated* Pin
Anonymous22-Jul-02 14:10
Anonymous22-Jul-02 14:10 
GeneralRe: RC4 encryption problems... *updated* Pin
Anonymous22-Jul-02 18:53
Anonymous22-Jul-02 18:53 
GeneralRC4 encryption problems... Pin
Anonymous22-Jul-02 14:09
Anonymous22-Jul-02 14:09 
GeneralWinsock Error 10038 while FTPing Pin
Anonymous22-Jul-02 11:54
Anonymous22-Jul-02 11:54 
GeneralNeed Help with IPC in C Pin
Klumsy22-Jul-02 11:51
Klumsy22-Jul-02 11:51 
GeneralRe: Need Help with IPC in C Pin
Alexandru Savescu22-Jul-02 23:07
Alexandru Savescu22-Jul-02 23:07 
GeneralRe: Need Help with IPC in C Pin
jan larsen23-Jul-02 0:23
jan larsen23-Jul-02 0:23 
Your question is a little blurred and i'm not quite sure on what your'e trying to accomplish.
But if you want to share data sections in a DLL then you could do something like this:
#pragma data_seg(".sdata")
int iSharedVar = 0;
#pragma data_seg()


Remember to modify your .DEF file:
SECTIONS
.sdata   READ WRITE SHARED


The recommended approach though is using file mappings, this is by the way the underlying technology for the implementation of eg. pipes on Win32. Look up CreateFileMapping and MapViewOfFile in MSDN for details.

"It could have been worse, it could have been ME!" -Rincewind
GeneralRe: Need Help with IPC in C Pin
Anonymous23-Jul-02 0:57
Anonymous23-Jul-02 0:57 
GeneralRe: Need Help with IPC in C Pin
jan larsen23-Jul-02 1:22
jan larsen23-Jul-02 1:22 
QuestionHow to convert CString to char*? Pin
nachilau22-Jul-02 11:06
nachilau22-Jul-02 11:06 
AnswerRe: How to convert CString to char*? Pin
Chris Losinger22-Jul-02 11:09
professionalChris Losinger22-Jul-02 11:09 
GeneralRe: How to convert CString to char*? Pin
Navin22-Jul-02 11:20
Navin22-Jul-02 11:20 
AnswerRe: How to convert CString to char*? Pin
Dave Bryant22-Jul-02 11:20
Dave Bryant22-Jul-02 11:20 
AnswerRe: How to convert CString to char*? Pin
paulb22-Jul-02 15:04
paulb22-Jul-02 15:04 
AnswerRe: How to convert CString to char*? Pin
GBlank22-Jul-02 20:45
sussGBlank22-Jul-02 20:45 
GeneralRe: How to convert CString to char*? Pin
vikramlinux22-Jul-02 21:08
vikramlinux22-Jul-02 21:08 
AnswerRe: How to convert CString to char*? Pin
Williams23-Jul-02 3:19
Williams23-Jul-02 3:19 
GeneralDialog window tricks Pin
NickOne22-Jul-02 11:00
NickOne22-Jul-02 11:00 
GeneralRe: Dialog window tricks Pin
Christian Graus22-Jul-02 12:26
protectorChristian Graus22-Jul-02 12:26 
GeneralRe: Dialog window tricks Pin
Philippe Mori22-Jul-02 12:41
Philippe Mori22-Jul-02 12:41 
GeneralRe: Dialog window tricks Pin
Shog922-Jul-02 12:52
sitebuilderShog922-Jul-02 12:52 
GeneralProblems reading from registry Pin
esapp42022-Jul-02 10:12
esapp42022-Jul-02 10:12 
GeneralRe: Problems reading from registry Pin
Le centriste22-Jul-02 10:28
Le centriste22-Jul-02 10:28 
GeneralRe: Problems reading from registry Pin
Len Holgate22-Jul-02 10:47
Len Holgate22-Jul-02 10:47 

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.