Click here to Skip to main content
15,905,874 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Tooltips can't be shown Pin
gaspher3-Aug-10 3:37
gaspher3-Aug-10 3:37 
GeneralRe: Tooltips can't be shown Pin
David Crow3-Aug-10 3:43
David Crow3-Aug-10 3:43 
QuestionHandling Abort for Long running operations in MFC Pin
MuraliKrishnaP3-Aug-10 0:54
MuraliKrishnaP3-Aug-10 0:54 
AnswerRe: Handling Abort for Long running operations in MFC Pin
Aescleal3-Aug-10 1:10
Aescleal3-Aug-10 1:10 
GeneralRe: Handling Abort for Long running operations in MFC Pin
MuraliKrishnaP3-Aug-10 2:32
MuraliKrishnaP3-Aug-10 2:32 
GeneralRe: Handling Abort for Long running operations in MFC Pin
MuraliKrishnaP3-Aug-10 2:43
MuraliKrishnaP3-Aug-10 2:43 
GeneralRe: Handling Abort for Long running operations in MFC Pin
Aescleal3-Aug-10 5:31
Aescleal3-Aug-10 5:31 
GeneralRe: Handling Abort for Long running operations in MFC Pin
MuraliKrishnaP6-Aug-10 10:03
MuraliKrishnaP6-Aug-10 10:03 
Hi Ash,

I appreciate your interest in helping me. I am still finding a hard time to solve this. May be I am not smart enough to design this properly.

I went through the pattern. Even with this active object, if I have to make synchronous calls, the client must be blocked till the message is received. Or may take time some where in client also.

Consider this: (simplified for reading)

When I start an operation, My application performs following..

1. Connect to server (may take 2 secs)
2. Create a GUI for showing some data (milli secs)
2. Get data (RMI) (40 secs)
3. Update GUI (milli secs)
5. Based on the above data start creating next GUI.
6. Create next GUI.
6. Get modified data for second GUI. (RMI) (4 mins!)
7. Update second GUI

Till now these are sequential in my application. User can always create n number of GUIs. Each GUI creation and updation may require n RMI calls and they are synchrounous. Meaning, each RMI call is blocked till it is received and the marshalling args are huge. I may also get MBs of data.

Example: Consider following call stack.

DataIDL::GetData() // Use proxy to get data. Blocked till the data is fetched.
Glyph::GetData() // After glpyh creation
GlyphsHandler::Execute() // Creates Glyph get data and Update Glyph
Doc::Execute() // Execution start of all Glyphs

Doc starts Execution. Glyphshandler creates glyphs, gets data and updates glyph. It goes on for all glyphs. Now as it all sequential, I cannot decouple each IDL call to threads as the next call depends upon previous call's data.

Hope I am not taking too much of your time. Is it possible to asynchronously decouple the IDL getdata using active object so that the next call will have no effect?

Many thanks for your advices till now.
Murali Krishna
AnswerRe: Handling Abort for Long running operations in MFC Pin
«_Superman_»3-Aug-10 15:57
professional«_Superman_»3-Aug-10 15:57 
Questionproblem using ShellExecute to open folder Pin
Rahul Vaishnav2-Aug-10 23:51
Rahul Vaishnav2-Aug-10 23:51 
AnswerRe: problem using ShellExecute to open folder Pin
enhzflep3-Aug-10 0:10
enhzflep3-Aug-10 0:10 
GeneralRe: problem using ShellExecute to open folder Pin
Rahul Vaishnav3-Aug-10 0:14
Rahul Vaishnav3-Aug-10 0:14 
AnswerRe: problem using ShellExecute to open folder Pin
Shivanand Gupta5-Aug-10 1:09
Shivanand Gupta5-Aug-10 1:09 
QuestionThis application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
reza toorani2-Aug-10 22:52
reza toorani2-Aug-10 22:52 
AnswerRe: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
Cedric Moonen2-Aug-10 22:54
Cedric Moonen2-Aug-10 22:54 
GeneralRe: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
reza toorani2-Aug-10 23:48
reza toorani2-Aug-10 23:48 
AnswerRe: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
KarstenK3-Aug-10 0:09
mveKarstenK3-Aug-10 0:09 
GeneralRe: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
reza toorani3-Aug-10 0:28
reza toorani3-Aug-10 0:28 
GeneralRe: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
KarstenK3-Aug-10 0:36
mveKarstenK3-Aug-10 0:36 
GeneralRe: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
reza toorani3-Aug-10 1:08
reza toorani3-Aug-10 1:08 
GeneralRe: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
KarstenK3-Aug-10 1:15
mveKarstenK3-Aug-10 1:15 
GeneralRe: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
reza toorani3-Aug-10 1:18
reza toorani3-Aug-10 1:18 
GeneralRe: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
Sauro Viti3-Aug-10 3:55
professionalSauro Viti3-Aug-10 3:55 
QuestionEdit Bitmap File Pin
raju_shiva2-Aug-10 22:29
raju_shiva2-Aug-10 22:29 
AnswerRe: Edit Bitmap File Pin
CPallini2-Aug-10 22:45
mveCPallini2-Aug-10 22: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.