I'm not expert in Component Object Model (COM), but from what I understand it works something like this: Program A (a "server" program) exposes COM interface lets say via TLB file. A client program uses this interface and call it's functions (and all the underlying stuff is done for you free of charge). So in this case when the "Server" program is running and "Client" program communicates with the "Server" using COM object. Each one of the programs (processes) has it own address space. Now with MSXML it is a bit different. From what I understand, msxmlX.dll is a COM dll, but lets say when I implicitly link against it (using msxmlX.h and msxmlX.lib) during run time it's being loaded to the same memory space as my executable. So, in this case WHY COM object being used when there is clearly no IPC going on (both msxml.dll and "my app" are using the same memory and can "communicate" as simple as calling a function) ???
How MSXML works ? (How in-process COM object works)
328 views Asked by JobNick At
1
There are 1 answers
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in C
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in XML
- Postgres && statement Error in Mybatis Mapper?
- Sorting items after building an XML feed?
- C# XML ModelBinding - ASP.NET Core 8 Web API - required field not found
- How can I create an automatic table of contents in docx without the text being bold?
- Odoo 16 Make Fields Readonly Using XPath
- Using similar tags for different objects in XML
- Android Studio problem like gradle sync project failed and plugin error, version 2023.2.1 Iguana
- error: cannot find symbol View root = inflater.inflate(R.layout.toolbar, parent, false);
- Android camera application restriction to 12 mp
- Azure Data Factory Copy Activity Only Importing First Row of XML file
- I am not able to remove space below the navigation view icon in android studio. What;s wrong with code?
- Field can be converted to a local variable ,convert field to local variable in onCreate method
- Deserialize XML with optional different name
- Retrieve tags from xml using python
- Getting attribute from xml and printing it error
Related Questions in MSXML
- Getting run-time error trying to use IXMLDOMNodeList
- Issue when moving a very old XMLRAD IIS app to another server
- How to get the patch update for vulnerabilities in MSXML6.0?
- Trouble with XML parsing in VBA: Extracting multiple Node values from NodeList
- How to do transformNodeToObject with MS XML 6.0
- Memory leak in code using MSXML and smart pointers
- Parsing an XML string to XML and extracting node value in XSLT
- VBA XML transformation ignores included Stylesheets?
- Get attribute value returns a string without namespace
- Can't add a schema to a schema collection
- Exception isn't handled while occuring in a try block in C++
- Problem with MSXML6 classes and properties
- Identifier "IXMLDOMSchemaCollectionPtr" is undefined
- How should I encode GIF file data in a multipart form using VBA MSXML2.XMLHTTP API?
- Error 429: Too many Requests when using MSXML.HTTP
Related Questions in MSXML6
- Using MSXML2.ServerXMLHTTP with SQL Server status, statusText and responseHeader are all null
- Getting a wrong response after sending a REST API POST request in VBA
- How to get the patch update for vulnerabilities in MSXML6.0?
- MSXML adds default empty xmlns to all elements
- How to do transformNodeToObject with MS XML 6.0
- Memory leak in code using MSXML and smart pointers
- msxml6.tlh IXMLDOMNode error incomplete type is not allowed from detected during instantiation of class
- Can't add a schema to a schema collection
- Problem with MSXML6 classes and properties
- Identifier "IXMLDOMSchemaCollectionPtr" is undefined
- External link problem get data from external XML file via classic ASP
- MSXML 6 installation prerequisites
- Classic ASP Security error with msxml2 80072f8f
- Getting timeout when running a stored procedure which makes rest API calls - How to increase timeout?
- Accessing attribute values in an XML structure- C++ using MSXML6
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You can create COM objects either in process, out of process, or on another machine completely. The choice of which depends on what your requirements are.
COM is designed to make software components reusable and language independent. It's not just a mechanism to facilitate IPC as you assume.