CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002
    Location
    Vienna, Austria
    Posts
    47

    propput null pointer

    Hi!

    I have following property providing a get/put function for settings an interface:

    [propget, id(1)] HRESULT Type([out, retval] IMyType **pVal);
    [propput, id(1)] HRESULT Type([in] IMyType *pVal);

    getting the interface and setting a new interface works fine from the client side, but how can I set the null-pointer in JScript ?

    something like "myObj.type=null;" makes a "Type mismatch" error.
    Any ideas ?

    TIA

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: propput null pointer

    [ moved ]
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured