The call to COM components in the C # environment is a bit of common sense. Maybe I am confused at this time. Did you leave the house? Is this low-level question worth mentioning? Some even clench their hands on rotten eggs or tomatoes. Well, it's not too late for me to answer the following questions.
1. Hosting CodeWhat is the relationship between a non-hosted com?
2. What is the relationship between COM and the operating system?
3. What is the connection between COM and DLL or EXE?
4. What are the similarities and differences between COM and general platform APIs?
5. In the. NET environment, what should I do if I need to reference COM components and make calls based on dynamic information?
I don't know if these problems seem boring. What should I do if I can call them normally? Maybe! However, I was driven by curiosity. I used C # to perform some tests on Com calling. For details, see C # And com sample, which contains the source code and PPT. If not, please send me a letter.