OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Peter Partch (peterpartchPMCONSULT.COM)
Date: Sat Aug 04 2001 - 01:14:19 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Registered? But is it registered within the COM+ catalog??

    Peter

    ----- Original Message -----
    From: "Mr Sunil Pandey" <bsahabYAHOO.COM>
    To: <DCOMDISCUSS.MICROSOFT.COM>
    Sent: Friday, August 03, 2001 10:33 PM
    Subject: Re: GetContextObject() Fails

    > Yes my component is registered
    > --- Vinay_Balasubramaniam
    > <Vinay_BalasubramaniamSATYAM.COM> wrote:
    > > hi sunil
    > > Just a check
    > > have u registered ur component?
    > >
    > > vinay
    > >
    > > -----Original Message-----
    > > From: Mr Sunil Pandey [mailto:bsahabYAHOO.COM]
    > > Sent: Friday, August 03, 2001 11:54 PM
    > > To: DCOMDISCUSS.MICROSOFT.COM
    > > Subject: Re: GetContextObject() Fails
    > >
    > >
    > > I created an MTS COM Object which I am creating from
    > > an MFC application. I am trying to create this
    > > object
    > > by calling CreateInstance methid of IObjectContext
    > > interface. When I call GetObjectContext() it returns
    > > NULL.
    > > Here is the piece of code that I am calling from the
    > > MFC application
    > >
    > > IObjectContext* pObjectContext = NULL;
    > > ILALicenseGenerator* p_LicGenerator = NULL;
    > > HRESULT hr;
    > >
    > > // Get the object's ObjectContext.
    > > hr = GetObjectContext(&pObjectContext);
    > > hr =
    > >
    > pObjectContext->CreateInstance(CLSID_LicenseGenerator,
    > > IID_ILALicenseGenerator,
    > > (void**)&p_LicGenerator);
    > >
    > > GetObjectContext() function Fails and the returned
    > > pointer is eual to NULL.
    > > I tried CoCreateInstance but GetObjectContext inside
    > > a
    > > method in my COM class also fails.
    > >
    > > --- Vinay_Balasubramaniam
    > > <Vinay_BalasubramaniamSATYAM.COM> wrote:
    > > > Hi Sunil
    > > > Ur question is not very clear.
    > > >
    > > > Anyway with whatever i know, have u given MTS
    > > > support to ur component?
    > > > One of the reson why the GetObjectContext()can
    > > > fail.
    > > >
    > > > regards
    > > > vinay
    > > >
    > > > -----Original Message-----
    > > > From: Mr Sunil Pandey [mailto:bsahabYAHOO.COM]
    > > > Sent: Friday, August 03, 2001 4:54 AM
    > > > To: DCOMDISCUSS.MICROSOFT.COM
    > > > Subject: GetContextObject() Fails
    > > >
    > > >
    > > > Hi,
    > > > I am new to MTS so don't know how to fix the
    > > > following
    > > > problem:
    > > > When I call GetObjectContext() from MTS Client it
    > > > returns an unknown error. The pointer to
    > > > ObjectContext
    > > > interface is null after the call returns. Same
    > > thing
    > > > happens if i make the same call inside the MTS
    > > > server.
    > > > MTS is already installed on my machine (Win NT
    > > 4.0).
    > > > PLease help
    > > > TIA
    > > > SB
    > > >
    > > > __________________________________________________
    > > > Do You Yahoo!?
    > > > Make international calls for as low as $.04/minute
    > > > with Yahoo! Messenger
    > > > http://phonecard.yahoo.com/
    > > >
    > > >
    > >
    > ----------------------------------------------------------------
    > > > Users Guide
    > > > http://discuss.microsoft.com/archives/mailfaq.asp
    > > > contains important info. Save time, search the
    > > > archives at
    > > > http://discuss.microsoft.com/archives/index.html .
    > > > To unsubscribe,
    > > > mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM
    > > >
    > > >
    > >
    > ----------------------------------------------------------------
    > > > Users Guide
    > > > http://discuss.microsoft.com/archives/mailfaq.asp
    > > > contains important info. Save time, search the
    > > > archives at
    > > > http://discuss.microsoft.com/archives/index.html .
    > > > To unsubscribe,
    > > mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM
    > >
    > >
    > > __________________________________________________
    > > Do You Yahoo!?
    > > Make international calls for as low as $.04/minute
    > > with Yahoo! Messenger
    > > http://phonecard.yahoo.com/
    > >
    > >
    > ----------------------------------------------------------------
    > > Users Guide
    > > http://discuss.microsoft.com/archives/mailfaq.asp
    > > contains important info. Save time, search the
    > > archives at
    > > http://discuss.microsoft.com/archives/index.html .
    > > To unsubscribe,
    > > mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM
    > >
    > >
    > ----------------------------------------------------------------
    > > Users Guide
    > > http://discuss.microsoft.com/archives/mailfaq.asp
    > > contains important info. Save time, search the
    > > archives at
    > > http://discuss.microsoft.com/archives/index.html .
    > > To unsubscribe,
    > mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM
    >
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Make international calls for as low as $.04/minute with Yahoo! Messenger
    > http://phonecard.yahoo.com/
    >
    > ----------------------------------------------------------------
    > Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    > contains important info. Save time, search the archives at
    > http://discuss.microsoft.com/archives/index.html .
    > To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

    ----------------------------------------------------------------
    Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM