Thread: Basic COM function question - Factory or CoCreateInstance?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    209
    Much thanks adey for your reply. I'm pretty sure I got what you meant, I will promptly re-read your reply as much as I have to, to be certain I understood it. Thanks very much for helping

    Edit:

    Think I got it, that particular function is object specific, thus will internally reference a particular specific CLSID to tie to the interface. The more generic function CoCreateInstance is not, so one must provide the CLSID of the object the user wants to create
    Last edited by shrink_tubing; 03-07-2024 at 03:40 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. basic question of using function in C++
    By faisalfn in forum C++ Programming
    Replies: 4
    Last Post: 12-28-2016, 09:30 PM
  2. Basic pointer in function question
    By Origin in forum C Programming
    Replies: 15
    Last Post: 04-01-2010, 10:14 AM
  3. Question about the Factory pattern.
    By h3ro in forum C++ Programming
    Replies: 14
    Last Post: 11-27-2008, 04:55 PM
  4. Function name basic question help
    By kenryuakuma in forum C++ Programming
    Replies: 7
    Last Post: 09-24-2008, 07:48 AM
  5. Stream Factory Interface (Question of Preference)
    By phantomotap in forum C++ Programming
    Replies: 7
    Last Post: 05-02-2008, 03:43 PM

Tags for this Thread