FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Windows .rc files and auto_build_number

 
Post new topic   Reply to topic     Forum Index -> Build
View previous topic :: View next topic  
Author Message
Vladimir



Joined: 09 Apr 2006
Posts: 13
Location: Moscow, Russia

PostPosted: Thu Jun 22, 2006 1:10 am    Post subject: Windows .rc files and auto_build_number Reply with quote

Is it possible to somehow inject build number into windows .rc file?

Code:
module main;
private import main_bn;
version(build) { pragma(build, "main.rc"); }


Code:
1 VERSIONINFO
..
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "041904e4"
        BEGIN
            VALUE "Build", ??????
        END
    END
END


Vladimir
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Thu Jun 22, 2006 1:37 am    Post subject: Re: Windows .rc files and auto_build_number Reply with quote

Vladimir wrote:
Is it possible to somehow inject build number into windows .rc file?

Code:
module main;
private import main_bn;
version(build) { pragma(build, "main.rc"); }


Code:
1 VERSIONINFO
..
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "041904e4"
        BEGIN
            VALUE "Build", ??????
        END
    END
END



Let me think about this one.
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Build All times are GMT - 6 Hours
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 phpBB © 2001, 2005 phpBB Group