Click here to Skip to main content
15,911,141 members
Home / Discussions / COM
   

COM

 
QuestionHook the drag and drop functionality of windows..... Pin
FSam12-Jul-09 21:11
FSam12-Jul-09 21:11 
AnswerRe: Hook the drag and drop functionality of windows..... Pin
FSam13-Jul-09 20:22
FSam13-Jul-09 20:22 
QuestionHow to raise Performance of COM Server of external API ? Pin
gehbitte12-Jul-09 3:17
gehbitte12-Jul-09 3:17 
AnswerRe: How to raise Performance of COM Server of external API ? Pin
Baltoro12-Jul-09 10:58
Baltoro12-Jul-09 10:58 
GeneralRe: How to raise Performance of COM Server of external API ? Pin
gehbitte12-Jul-09 23:48
gehbitte12-Jul-09 23:48 
GeneralRe: How to raise Performance of COM Server of external API ? Pin
Baltoro16-Jul-09 14:53
Baltoro16-Jul-09 14:53 
GeneralRe: How to raise Performance of COM Server of external API ? Pin
gehbitte16-Jul-09 21:00
gehbitte16-Jul-09 21:00 
GeneralSome Information on COM server and client model Pin
Baltoro18-Jul-09 7:47
Baltoro18-Jul-09 7:47 
Thanks,...that last post is MUCH more informative. Interesting program. And, apparently, you've done the correct thing, contacting the support group for TaiPanRealtime COM server (they undoubtedly get the same types of inquiries and complaints over and over).
The fact that the COM library you are linking to is an .exe file IS actually important. It indicates that the COM Server (on your local machine) runs as an out-of-process server. You can check this by finding the listing for the GUID of the COM server in your registry, and there will be specific settings that the COM library (on your local machine) uses to manage the server process. An out-of-process COM server uses a Stub and Proxy architecture to implement the marshaling of data between your client application and the existing COM server that you instantiate when you invoke CoCreateInstance for the object. There is, of cource, an overhead involved when the COM library uses this stub and proxy architecture, in terms of execution time. But, I think that your essential problem is that the data that your TaiPanRealtime COM server is transmitting is being received from a remote machine through the RPC mechanism. The overhead here (again in terms of processor clock cycles) is MUCH greater than the time it takes to execute the code to allocate and process that data from within your local client application. The RPC protocol only allows for a limited amount of data traffic.
If you want to learn more about the whole COM server and client model and the security aspects of the COM library stub and proxy architecture, I would recommend that you get a copy of Don Box's[^] "Essential COM". It's the best book on the subject.
All that information, however, won't really do you much good with your current problem of trying to increase the flow of data from the COM Server on the remote machine, that is providing you with the essential data you need for your analysis. The only suggestion that I would make (and, this seems kind of obvious) is to query for a more restricted data set, and utilize that information more effectively (by archiving it, perhaps), and updating it as it becomes available. Do you really need all that data from so many small fluctuations immediately? Can you reschedule the events so that you have a more managable Data Stream?
GeneralRe: Some Information on COM server and client model Pin
gehbitte18-Jul-09 8:48
gehbitte18-Jul-09 8:48 
GeneralRe: Some Information on COM server and client model Pin
Baltoro18-Jul-09 11:48
Baltoro18-Jul-09 11:48 
GeneralHa Ha (apparently Microsoft had this problem too) Pin
Baltoro18-Jul-09 13:04
Baltoro18-Jul-09 13:04 
GeneralRe: Ha Ha (apparently Microsoft had this problem too) Pin
gehbitte18-Jul-09 22:19
gehbitte18-Jul-09 22:19 
QuestionWriting multiple Tables to Word from VB Pin
spikedturtle11-Jul-09 4:49
spikedturtle11-Jul-09 4:49 
AnswerRe: Writing multiple Tables to Word from VB Pin
Stuart Dootson11-Jul-09 6:00
professionalStuart Dootson11-Jul-09 6:00 
QuestionProgram crashes while updating .idl file manually Pin
chandrakar ashish10-Jul-09 1:17
chandrakar ashish10-Jul-09 1:17 
AnswerRe: Program crashes while updating .idl file manually Pin
«_Superman_»10-Jul-09 16:09
professional«_Superman_»10-Jul-09 16:09 
AnswerRe: Program crashes while updating .idl file manually Pin
Chiman110-Jul-09 20:29
Chiman110-Jul-09 20:29 
AnswerRe: Program crashes while updating .idl file manually Pin
Stuart Dootson11-Jul-09 2:11
professionalStuart Dootson11-Jul-09 2:11 
QuestionWord Document Mail Merging and then Editing in automated fashion Pin
Sandumone9-Jul-09 10:06
Sandumone9-Jul-09 10:06 
QuestionQuerInterface fails for an Interface of type IUnknown in VB .NET windows service but the same works in VB .NET forms application Pin
VM JOE9-Jul-09 3:51
VM JOE9-Jul-09 3:51 
QuestionAdd extra device property sheet in Windows 7 Devices and Printers Pin
User 60869398-Jul-09 10:15
User 60869398-Jul-09 10:15 
QuestionButton on Toolbar not showing chervon effect Pin
am 20097-Jul-09 0:24
am 20097-Jul-09 0:24 
AnswerRe: Button on Toolbar not showing chervon effect Pin
zm157316-Jul-09 0:07
zm157316-Jul-09 0:07 
QuestionSMPP COM library Pin
harrisyn6-Jul-09 13:27
harrisyn6-Jul-09 13:27 
GeneralRe: SMPP COM library Pin
Md. Marufuzzaman6-Jul-09 21:49
professionalMd. Marufuzzaman6-Jul-09 21:49 

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.