Click here to Skip to main content
15,885,537 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to extract data from VARIANT? Pin
Nirav Doshi3-Sep-04 9:16
Nirav Doshi3-Sep-04 9:16 
QuestionActiveX TypeLib Practices: property or method? Pin
KFournier3-Sep-04 6:29
KFournier3-Sep-04 6:29 
AnswerRe: ActiveX TypeLib Practices: property or method? Pin
Jörgen Sigvardsson3-Sep-04 8:40
Jörgen Sigvardsson3-Sep-04 8:40 
AnswerRe: ActiveX TypeLib Practices: property or method? Pin
Jörgen Sigvardsson3-Sep-04 8:41
Jörgen Sigvardsson3-Sep-04 8:41 
GeneralRe: ActiveX TypeLib Practices: property or method? Pin
KFournier3-Sep-04 9:15
KFournier3-Sep-04 9:15 
QuestionIs my client still there? Pin
FearlessBurner2-Sep-04 6:29
FearlessBurner2-Sep-04 6:29 
AnswerRe: Sorted :) Pin
FearlessBurner6-Sep-04 1:50
FearlessBurner6-Sep-04 1:50 
GeneralOut-Process Vs In-Process COM Performnace Issue Pin
DeepakSharma2-Sep-04 1:23
DeepakSharma2-Sep-04 1:23 
Hi I would like to have some valuable suggestion from you people.

Let me explain me my problem scenario.
I have an xml file which will serve the clients as a database. Now the situation is that this file could be accessed simultaneously from different clients, so the maintaining the state of the file becomes a serious concern. Now what we have thought is to make an out-of-process COM exe that will expose 2 interfaces to the client through which they can extract the record. As the 2 clients can call the interface at the same time we have used the critical section in each function call. In this way all the call will be serialized.

The second approach is to make an in-process dll and use some synchronization objects to handle the simultaneous calls.

Now the thing what I want to know is that which is the better approach keeping in mind the performance, maintainability and robustness.

What I think in any way as the database file is single the calls need to be serialized at any level regardless they are from the same process or different process. Also when we will use the in-process dll we need to use the mutex for synchronization purposes which itself is very heavy as compared to the critical section (out-of-process exe).

Please provide your suggestion as soon as possible as I have to face my boss tomorrow with the design issues.

Thanks

GeneralRe: Out-Process Vs In-Process COM Performnace Issue Pin
geo_m14-Oct-04 1:55
geo_m14-Oct-04 1:55 
Generalexplorer bar Pin
rolati1-Sep-04 23:45
rolati1-Sep-04 23:45 
GeneralRe: explorer bar Pin
Anonymous2-Sep-04 8:50
Anonymous2-Sep-04 8:50 
QuestionHow to get the application Root Directory runtime? Pin
Member 7436551-Sep-04 16:46
Member 7436551-Sep-04 16:46 
GeneralCOM release build problem Pin
alex.barylski31-Aug-04 20:36
alex.barylski31-Aug-04 20:36 
GeneralRe: COM release build problem Pin
Rory Solley31-Aug-04 21:30
Rory Solley31-Aug-04 21:30 
GeneralRe: COM release build problem Pin
alex.barylski1-Sep-04 9:10
alex.barylski1-Sep-04 9:10 
GeneralRe: COM release build problem Pin
ShaunOldale1-Sep-04 12:24
ShaunOldale1-Sep-04 12:24 
GeneralRe: COM release build problem Pin
alex.barylski2-Sep-04 18:33
alex.barylski2-Sep-04 18:33 
QuestionHow to implement ScrollBars in a atl control Pin
cosmicYang31-Aug-04 20:03
cosmicYang31-Aug-04 20:03 
AnswerRe: How to implement ScrollBars in a atl control Pin
Anonymous1-Sep-04 6:24
Anonymous1-Sep-04 6:24 
GeneralRe: How to implement ScrollBars in a atl control Pin
cosmicYang1-Sep-04 14:42
cosmicYang1-Sep-04 14:42 
GeneralCommunicating with Excel (VC++ 6.0 MFC) Pin
shibble31-Aug-04 7:30
shibble31-Aug-04 7:30 
GeneralRe: Communicating with Excel (VC++ 6.0 MFC) Pin
darkbyte1-Sep-04 8:16
darkbyte1-Sep-04 8:16 
GeneralRe: Communicating with Excel (VC++ 6.0 MFC) Pin
shibble1-Sep-04 8:24
shibble1-Sep-04 8:24 
GeneralRe: Communicating with Excel (VC++ 6.0 MFC) Pin
darkbyte1-Sep-04 9:00
darkbyte1-Sep-04 9:00 
GeneralIShellUIHelper Pin
Member 132814130-Aug-04 22:25
Member 132814130-Aug-04 22:25 

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.