|
-
August 31st, 2007, 02:47 AM
#1
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?
-
August 31st, 2007, 05:58 AM
#2
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.
-
August 31st, 2007, 06:51 AM
#3
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
-
August 31st, 2007, 07:02 AM
#4
Re: Getting compilation error in VC++
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|