CreateFromInstance fails

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • michael.cumming@gmail.com

    #1

    CreateFromInstance fails

    Hi all,


    The following call


    hr = appDomain->CreateInstance From_3(
    assembly,type,

    VARIANT_TRUE,Bi ndingFlags_Defa ult,NULL,args,N ULL,
    NULL,NULL,&obje ctHandle);


    is fails on some machines we are developing on. This is our first
    foray into .NET and we are unsure on how to proceed to determine why
    the call is failing.


    The code is from here



    Any pointers on how to determine why this is failing would be greatly
    appreciated.


    Thanks,


    Mike

  • Mattias Sjögren

    #2
    Re: CreateFromInsta nce fails

    [color=blue]
    >is fails on some machines we are developing on.[/color]

    What's the value of hr after the call?


    Mattias

    --
    Mattias Sjögren [C# MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    Working...