Click here to Skip to main content
15,559,491 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Prey/predator c++ project Pin
Greg Utas12-Jul-22 2:20
mveGreg Utas12-Jul-22 2:20 
QuestionHow to share a pointer between an EXE and a DLL Pin
Mircea Neacsu11-Jul-22 14:50
Mircea Neacsu11-Jul-22 14:50 
QuestionRe: How to share a pointer between an EXE and a DLL Pin
CPallini11-Jul-22 21:12
mveCPallini11-Jul-22 21:12 
AnswerRe: How to share a pointer between an EXE and a DLL Pin
Mircea Neacsu12-Jul-22 5:01
Mircea Neacsu12-Jul-22 5:01 
GeneralRe: How to share a pointer between an EXE and a DLL Pin
Victor Nijegorodov12-Jul-22 7:22
Victor Nijegorodov12-Jul-22 7:22 
GeneralRe: How to share a pointer between an EXE and a DLL Pin
Mircea Neacsu12-Jul-22 8:52
Mircea Neacsu12-Jul-22 8:52 
GeneralRe: How to share a pointer between an EXE and a DLL Pin
Victor Nijegorodov12-Jul-22 9:04
Victor Nijegorodov12-Jul-22 9:04 
QuestionRe: How to share a pointer between an EXE and a DLL Pin
JudyL_MD12-Jul-22 12:31
JudyL_MD12-Jul-22 12:31 
Is the "framework" API set in stone? It sounds like it should be the one controlling the existence of this structure. You said it was statically linked to both the DLL and the EXE, hence two copies of the library, but you can force it to use a single shared memory location to hold this structure's pointer. Both the DLL and the EXE would ask the framework for a pointer and the framework would use some sort of mutual exclusion / atomic operation to synchronize its access to the shared memory location to either allocate or use the existing structure.
Be wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein

GeneralRe: How to share a pointer between an EXE and a DLL Pin
Mircea Neacsu12-Jul-22 13:17
Mircea Neacsu12-Jul-22 13:17 
GeneralRe: How to share a pointer between an EXE and a DLL Pin
JudyL_MD12-Jul-22 14:29
JudyL_MD12-Jul-22 14:29 
AnswerRe: How to share a pointer between an EXE and a DLL Pin
Graham Breach11-Jul-22 21:30
Graham Breach11-Jul-22 21:30 
AnswerRe: How to share a pointer between an EXE and a DLL Pin
Gerry Schmitz12-Jul-22 7:57
mveGerry Schmitz12-Jul-22 7:57 
QuestionVC++/MFC Pin
Member 1486933911-Jul-22 9:22
Member 1486933911-Jul-22 9:22 
AnswerRe: VC++/MFC Pin
Dave Kreskowiak11-Jul-22 10:55
mveDave Kreskowiak11-Jul-22 10:55 
AnswerRe: VC++/MFC Pin
Victor Nijegorodov11-Jul-22 10:56
Victor Nijegorodov11-Jul-22 10:56 
GeneralRe: VC++/MFC Pin
Member 1486933912-Jul-22 21:45
Member 1486933912-Jul-22 21:45 
QuestionRe: VC++/MFC Pin
Richard MacCutchan12-Jul-22 22:42
mveRichard MacCutchan12-Jul-22 22:42 
GeneralRe: VC++/MFC Pin
Victor Nijegorodov13-Jul-22 1:22
Victor Nijegorodov13-Jul-22 1:22 
AnswerRe: VC++/MFC Pin
Gerry Schmitz11-Jul-22 13:21
mveGerry Schmitz11-Jul-22 13:21 
AnswerRe: VC++/MFC Pin
Richard MacCutchan11-Jul-22 22:33
mveRichard MacCutchan11-Jul-22 22:33 
Questionhow to start QProcess not coding argument parameter ? Pin
Member 149687718-Jul-22 7:24
Member 149687718-Jul-22 7:24 
GeneralRe: how to start QProcess not coding argument parameter ? Pin
Richard MacCutchan8-Jul-22 8:53
mveRichard MacCutchan8-Jul-22 8:53 
AnswerRe: how to start QProcess not coding argument parameter ? Pin
jeron18-Jul-22 11:21
jeron18-Jul-22 11:21 
Question[Solved] Sending input to system("command") prompt Windows Pin
JohnCodding6-Jul-22 23:51
JohnCodding6-Jul-22 23:51 
GeneralRe: Sending input to system("command") prompt Windows Pin
Richard MacCutchan7-Jul-22 1:06
mveRichard MacCutchan7-Jul-22 1:06 

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.