info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs with msvc


From: Pascal Bourguignon
Subject: Re: cvs with msvc
Date: Tue, 4 Dec 2001 13:21:33 +0100 (CET)

> Date: Tue, 04 Dec 2001 09:17:37 +1000
> To: address@hidden
> From: Sasha Case <address@hidden>
> Subject: cvs with msvc
> Cc: address@hidden
> 
> G'day,
> 
> We're having a problem with resources in msvc with multiple developers.  We 
> get conflicts all the time in .rc files and files such as resource.h when 
> two people try to add resources.  The problem is that the id numbers 
> allocated automagically by devstudio are the same for both developers, but 
> for different resources.
> 
> There doesn't seem to be a way to allocate a different resource ID offset 
> for different devs.  We have considered an automated update+commit of the 
> appropriate files on every compile, but this is sub-optimal for temporary 
> changes and so on that may break others' code.
> 
> Does anyone know a way to overcome this?
> 
> 
> ---
> Sasha Case
> Development Engineer, Clarity EQ Pty Ltd
> Tel: +61-2-9905-6277, Fax: +61-2-9905-8066
> Public key available at ldap://keyserver.pgp.com (ID: 0xCFADA4B7)


Did they edit the .rc and resource.h files with a TEXT editor?

No? In that  case, I guess you shoud not consider  these files as text
file, even if they're stored as streams of ASCII characters.

You should treat  them as binary files, and avoid  editing them at the
same time than another developer.


One simple way  of avoiding this class of  problems with GUI elements,
is to create them programmatically, in C++ source, instead of with the
interface builder tools. Seems more work, but much less problems.


-- 
__Pascal_Bourguignon__              (o_ Software patents are endangering
()  ASCII ribbon against html email //\ the computer industry all around
/\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++  UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]