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?
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.
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
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"