Click here to Skip to main content
15,890,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem in binary search using C++ Pin
CPallini5-Jun-19 23:27
mveCPallini5-Jun-19 23:27 
GeneralRe: Problem in binary search using C++ Pin
Member 144829305-Jun-19 23:44
Member 144829305-Jun-19 23:44 
GeneralRe: Problem in binary search using C++ Pin
CPallini5-Jun-19 23:47
mveCPallini5-Jun-19 23:47 
AnswerRe: Problem in binary search using C++ Pin
Victor Nijegorodov6-Jun-19 7:20
Victor Nijegorodov6-Jun-19 7:20 
QuestionGlobal Event in C++ Pin
Member 142210415-Jun-19 21:29
Member 142210415-Jun-19 21:29 
AnswerRe: Global Event in C++ Pin
Stefan_Lang5-Jun-19 22:05
Stefan_Lang5-Jun-19 22:05 
GeneralRe: Global Event in C++ Pin
Member 142210415-Jun-19 23:40
Member 142210415-Jun-19 23:40 
GeneralRe: Global Event in C++ Pin
Stefan_Lang6-Jun-19 21:28
Stefan_Lang6-Jun-19 21:28 
1. You still haven't told us what you mean by global event

2. You're talking about processes and threads. Typically when you start an application on your computer, this starts a process with a single thread, the main thread. You can choose to leave it at that, in which case your program will just sequentially process it's task. Or your process can create new threads controlled by it, which will potentially run in parallel. You can also start a new process from the first one, but then your initital process will have no direct control over it; it can only talk to it via interprocess communication protocols.

In that latter case, communication might be implemented by sending Windows Events to the other process. I'm sure there are many other ways, but I'm not up to date with modern approaches in this field, nor do I have any relevant experience.

So, when you talk a 'mainapp' and 'subapp's, do you mean a process and it's threads, or do you mean to spawn separate processes - in which case the term 'subapp' would be very misleading?


P.S.: I only now spotted your answers below - looks like I was on the wrong path all along. As CPallini said, you'd better ask at the Kentico forums. And as they're using C#, the question is if you really want to go the extra mile of trying this in C++ ...
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

GeneralRe: Global Event in C++ Pin
Member 142210416-Jun-19 23:15
Member 142210416-Jun-19 23:15 
AnswerRe: Global Event in C++ Pin
CPallini5-Jun-19 22:50
mveCPallini5-Jun-19 22:50 
GeneralRe: Global Event in C++ Pin
Member 142210415-Jun-19 23:45
Member 142210415-Jun-19 23:45 
GeneralRe: Global Event in C++ Pin
CPallini5-Jun-19 23:54
mveCPallini5-Jun-19 23:54 
GeneralRe: Global Event in C++ Pin
Member 142210415-Jun-19 23:58
Member 142210415-Jun-19 23:58 
GeneralRe: Global Event in C++ Pin
CPallini6-Jun-19 0:09
mveCPallini6-Jun-19 0:09 
GeneralRe: Global Event in C++ Pin
Stefan_Lang6-Jun-19 21:56
Stefan_Lang6-Jun-19 21:56 
QuestionShellExecute open Pin
_Flaviu4-Jun-19 22:28
_Flaviu4-Jun-19 22:28 
AnswerRe: ShellExecute open Pin
Richard MacCutchan4-Jun-19 23:01
mveRichard MacCutchan4-Jun-19 23:01 
GeneralRe: ShellExecute open Pin
_Flaviu4-Jun-19 23:44
_Flaviu4-Jun-19 23:44 
GeneralRe: ShellExecute open Pin
Richard MacCutchan5-Jun-19 3:38
mveRichard MacCutchan5-Jun-19 3:38 
GeneralRe: ShellExecute open Pin
Richard MacCutchan5-Jun-19 21:05
mveRichard MacCutchan5-Jun-19 21:05 
GeneralRe: ShellExecute open Pin
_Flaviu6-Jun-19 0:24
_Flaviu6-Jun-19 0:24 
GeneralRe: ShellExecute open Pin
Richard MacCutchan6-Jun-19 1:55
mveRichard MacCutchan6-Jun-19 1:55 
GeneralRe: ShellExecute open Pin
_Flaviu6-Jun-19 2:52
_Flaviu6-Jun-19 2:52 
GeneralRe: ShellExecute open Pin
Richard MacCutchan6-Jun-19 2:56
mveRichard MacCutchan6-Jun-19 2:56 
GeneralRe: ShellExecute open Pin
_Flaviu6-Jun-19 6:45
_Flaviu6-Jun-19 6:45 

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.