Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: gzip Pin
Stephane Rodriguez.1-Apr-03 11:20
Stephane Rodriguez.1-Apr-03 11:20 
GeneralI want to insert a new line between subjects in a CString variable. Pin
ElizabethC1-Apr-03 8:21
ElizabethC1-Apr-03 8:21 
GeneralRe: I want to insert a new line between subjects in a CString variable. Pin
Dave Bryant1-Apr-03 9:17
Dave Bryant1-Apr-03 9:17 
GeneralRe: I want to insert a new line between subjects in a CString variable. Pin
ElizabethC1-Apr-03 10:50
ElizabethC1-Apr-03 10:50 
GeneralRe: I want to insert a new line between subjects in a CString variable. Pin
Nick Parker1-Apr-03 11:29
protectorNick Parker1-Apr-03 11:29 
Generalstatic text formatting Pin
RalfPeter1-Apr-03 8:05
RalfPeter1-Apr-03 8:05 
GeneralRe: static text formatting Pin
Chris Losinger1-Apr-03 8:14
professionalChris Losinger1-Apr-03 8:14 
GeneralMFC + ATL Pin
Anonymous1-Apr-03 7:52
Anonymous1-Apr-03 7:52 
I have MDI MFC+ATL app. Application supports scripting ( SmartHost etc) VbScript/Jscript.

Vb/J Script requires all calls to come from the same thread (except InteruptThread)...

Obvious solution is to create dedicated thread, this thread will waitForSingleObject(command). Once command recieved thread will execute code and return data to caller thread.
Caller thread will be blocked via semaphore or event until execution completed.

Is there a similiar com solution? Multiple callers - single thread execution?

B


GeneralHeader control in ListView Pin
rosen1-Apr-03 7:33
rosen1-Apr-03 7:33 
Generalexplorer bar Pin
mweiss1-Apr-03 7:14
mweiss1-Apr-03 7:14 
Generalwinpcap problem Pin
summo1-Apr-03 6:41
summo1-Apr-03 6:41 
GeneralVideo Conference App Pin
extremalis1-Apr-03 6:38
extremalis1-Apr-03 6:38 
GeneralRe: Video Conference App Pin
Anonymous10-Apr-03 21:51
Anonymous10-Apr-03 21:51 
GeneralRe: Video Conference App Pin
extremalis14-Apr-03 3:39
extremalis14-Apr-03 3:39 
GeneralResizing Pin
User 98851-Apr-03 6:22
User 98851-Apr-03 6:22 
Generalcalling a DLL in VC++ Pin
Yank11-Apr-03 6:07
Yank11-Apr-03 6:07 
GeneralRe: calling a DLL in VC++ Pin
geo_m1-Apr-03 7:49
geo_m1-Apr-03 7:49 
GeneralRe: calling a DLL in VC++ Pin
Anonymous1-Apr-03 8:05
Anonymous1-Apr-03 8:05 
GeneralRe: calling a DLL in VC++ Pin
geo_m1-Apr-03 9:19
geo_m1-Apr-03 9:19 
QuestionEnumerating SCSI devices? Pin
dandy721-Apr-03 4:51
dandy721-Apr-03 4:51 
AnswerRe: Enumerating SCSI devices? Pin
FoxholeWilly28-Feb-07 8:56
FoxholeWilly28-Feb-07 8:56 
GeneralCombo Box Owner Drawn Pin
Anthony98871-Apr-03 4:43
Anthony98871-Apr-03 4:43 
GeneralRe: Combo Box Owner Drawn Pin
Dave Bryant1-Apr-03 9:15
Dave Bryant1-Apr-03 9:15 
GeneralRe: Combo Box Owner Drawn Pin
Anthony98872-Apr-03 3:56
Anthony98872-Apr-03 3:56 
GeneralStill trying to SetFocus() Pin
ns1-Apr-03 4:08
ns1-Apr-03 4:08 

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.