CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 1999
    Posts
    2

    Reg SetFuncAndParamNames Errors

    Hello Codegurus,

    I have a problem while building my Component DLL. I got an error whose discription is as following:

    midl\oleaut32.dll : error MIDL2020 : error generating type library : SetFuncAndParamNames failed : get_FA_NUMBER

    I do not understand what could be the possible cause for this error. MIDL2020 error in MSDN online says that the possible
    cause for this error is specifying a path to the IDL file that is longer than 126 characters, but this is not the case with me.

    Can you please throw some light on this.

    Thanking you in advance.

    Regards,
    Ravi


  2. #2
    Join Date
    May 1999
    Posts
    18

    Re: Reg SetFuncAndParamNames Errors

    This is an old thread, but in researching this error earlier in the week, I found that it's among the first results returned by Bing for the MIDL2020 keyword. Thus, I'd like to update it with my finding that assigning different [id(X)] attributes to the getter and setter of the same property will cause this error.

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