Click here to Skip to main content
15,888,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Visual Studio 2008 dll creation Pin
CPallini28-Dec-08 10:20
mveCPallini28-Dec-08 10:20 
AnswerRe: Visual Studio 2008 dll creation Pin
Fred Andres28-Dec-08 10:30
Fred Andres28-Dec-08 10:30 
GeneralRe: Visual Studio 2008 dll creation Pin
CPallini28-Dec-08 10:40
mveCPallini28-Dec-08 10:40 
QuestionSimple IPC / Functioncall in different address space Pin
nobaq28-Dec-08 7:01
nobaq28-Dec-08 7:01 
AnswerRe: Simple IPC / Functioncall in different address space Pin
Code-o-mat28-Dec-08 10:57
Code-o-mat28-Dec-08 10:57 
GeneralRe: Simple IPC / Functioncall in different address space Pin
nobaq28-Dec-08 11:38
nobaq28-Dec-08 11:38 
GeneralRe: Simple IPC / Functioncall in different address space Pin
Richard Andrew x6428-Dec-08 11:43
professionalRichard Andrew x6428-Dec-08 11:43 
GeneralRe: Simple IPC / Functioncall in different address space Pin
nobaq29-Dec-08 1:49
nobaq29-Dec-08 1:49 
I HAVE THE SOLUTION!!!

The DLL is loaded into the same address space of my application!!

So I can just use pointers in normal WM_USER messages and I do not need any IPC!! Smile | :)

And the best thing: I do not need synchronizing; this is done automatically: I just send a WM_USER with SendMessage to my view window which reads the data from the database and passes a pointer to that data to the DLL. The good thing: SendMessage is blocking while this is done so I do not need to lock my database variables with critical sections.

And if there is another request in parallel, it is spooled automatically by the windows messaging system and SendMessage is blocking again.

Please correct me if I am wrong.

Regards,
Niki
Questionquestion about templates and iterators Pin
Green Fuze28-Dec-08 6:30
Green Fuze28-Dec-08 6:30 
AnswerRe: question about templates and iterators Pin
Stuart Dootson29-Dec-08 14:15
professionalStuart Dootson29-Dec-08 14:15 
QuestionHow to declare a global array of string inside of a IF Pin
Dark_eye28-Dec-08 6:04
Dark_eye28-Dec-08 6:04 
AnswerRe: How to declare a global array of string inside of a IF Pin
CPallini28-Dec-08 6:21
mveCPallini28-Dec-08 6:21 
GeneralRe: How to declare a global array of string inside of a IF Pin
Dark_eye28-Dec-08 19:22
Dark_eye28-Dec-08 19:22 
QuestionHow to get the main module of any process? Pin
kcynic28-Dec-08 3:56
kcynic28-Dec-08 3:56 
AnswerRe: How to get the main module of any process? Pin
Mark Salsbery28-Dec-08 4:40
Mark Salsbery28-Dec-08 4:40 
AnswerRe: How to get the main module of any process? [modified] Pin
kcynic28-Dec-08 15:37
kcynic28-Dec-08 15:37 
AnswerRe: How to get the main module of any process? Pin
Code-o-mat28-Dec-08 4:42
Code-o-mat28-Dec-08 4:42 
GeneralRe: How to get the main module of any process? Pin
kcynic28-Dec-08 15:41
kcynic28-Dec-08 15:41 
GeneralRe: How to get the main module of any process? Pin
Code-o-mat28-Dec-08 21:59
Code-o-mat28-Dec-08 21:59 
AnswerRe: How to get the main module of any process? Pin
Hamid_RT28-Dec-08 5:21
Hamid_RT28-Dec-08 5:21 
GeneralRe: How to get the main module of any process? Pin
kcynic28-Dec-08 15:44
kcynic28-Dec-08 15:44 
QuestionOverlapping controls Pin
Moak28-Dec-08 2:47
Moak28-Dec-08 2:47 
AnswerRe: Overlapping controls Pin
Mark Salsbery28-Dec-08 4:52
Mark Salsbery28-Dec-08 4:52 
GeneralRe: Overlapping controls Pin
Moak28-Dec-08 6:33
Moak28-Dec-08 6:33 
GeneralRe: Overlapping controls Pin
Mark Salsbery28-Dec-08 6:40
Mark Salsbery28-Dec-08 6:40 

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.