Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. looking for panacea....how invoke method of Server in a Container

looking for panacea....how invoke method of Server in a Container

Scheduled Pinned Locked Moved C / C++ / MFC
questionsysadmindockertestingtools
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ahmad99
    wrote on last edited by
    #1

    About Server Application ......................... The server is a full server with automation support. Server Applcation name is "TestServer" About Container Application Container Application name is "CONTAIN" I am embedding server application in container by using following code CCONTAINCntrItem* pCntrItem; CCONTAINDoc* pDoc = GetDocument(); pCntrItem= new CCONTAINCntrItem(pDoc); CLSID clsid; CLSIDFromProgID(L"TestServer.document",&clsid); pCntrItem->CreateNewItem(clsid); pCntrItem->DoVerb(OLEIVERB_SHOW, this); It works well. Now What is the problem? ---------------- i want to provide some information to the "TestServer" before embedding. so how i provide this information from "CONTAIN" to "TestServer". One way is that "TestServer" should have a method like SendData(CString strData), but how i invoke this method in "CONTAIN".

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups