SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiler or validator has some issues (bug?)

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> Resource Builder
View previous topic :: View next topic  
Author Message
myarmor



Joined: 16 May 2008
Posts: 1

PostPosted: Tue May 20, 2008 9:37 pm    Post subject: Compiler or validator has some issues (bug?) Reply with quote

I use codegears tools, and it seems RB (Resource Builder) can't evaluate expressions such as this:
From sdkddkver.h:
Code:

#define NTDDI_VERSION_FROM_WIN32_WINNT2(ver)    ver##0000
#define NTDDI_VERSION_FROM_WIN32_WINNT(ver)     NTDDI_VERSION_FROM_WIN32_WINNT2(ver)

#define NTDDI_VERSION   NTDDI_VERSION_FROM_WIN32_WINNT(_WIN32_WINNT)


In commctrl.rh:
Code:

#if (NTDDI_VERSION >= NTDDI_LONGHORN)
#define TBS_TRANSPARENTBKGND    0x1000  // Background is painted by the parent via WM_PRINTCLIENT
#endif


Upon evaluation of NTDDI_VERSION the result is:
Number expected but got ver in expression.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Wed May 21, 2008 5:18 am    Post subject: Reply with quote

Hello,

Yes, such complicated defines couldn't be parsed by Resource Builder
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> Resource Builder All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group