CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2005
    Posts
    19

    Getting compilation error in VC++

    Hi All,

    I am using IBM client access toolkit with VC++ and i am getting error in the "cwb.h" file.

    typedef ULONG_PTR cwb_Handle;
    typedef cwb_Handle cwbSV_ErrHandle;

    in these lines i am getting compilation error.

    Does anyone has solution form my problem?

  2. #2
    Join Date
    May 2006
    Location
    Indonesia & Japan
    Posts
    399

    Re: Getting compilation error in VC++

    If you don't specify what kind of error you got, nobody can help you.
    You need to specify and if necessary attach the error message.

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: Getting compilation error in VC++

    Multiple threads asking the same question is regarded as bad form.

    http://www.codeguru.com/forum/showthread.php?t=432836

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    Re: Getting compilation error in VC++

    Quote Originally Posted by vatsa
    Hi All,

    I am using IBM client access toolkit with VC++ and i am getting error in the "cwb.h" file.

    typedef ULONG_PTR cwb_Handle;
    typedef cwb_Handle cwbSV_ErrHandle;

    in these lines i am getting compilation error.

    Does anyone has solution form my problem?
    In fact, I cannot see any possibility to fail to compile this two lines except being having no ULONG_PTR defined before. Well, you have to include windows.h before cwb.h, I hope this will help.

    PS. Purists may suggest the following
    Code:
    #define ULONG_PTR  unsigned long
    #include "cwb.h"
    Best regards,
    Igor

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