Jeff Johnson wrote:
> I use scctext.prg to convert classes, forms, etc. to text files.  It 
> converts my classes to .vca.  That works fine except I came across a 
> problem lately.  One of my .vcx files is creating a text file with 
> CHR(0) in it.  VSS recognizes any file with CHR(0) in it as binary.  I 
> could redo all of my text and modify scctext.prg to write something 
> other than a CHR(0), but it is rendering my VSS copies of these text 
> files useless for version control.
> 
> I can't see how to tell VSS to recognize this as text.  Or get VSS to 
> compare binaries.
> 
> Any ideas?
> 
> Thanks,
> 
> Jeff
> 
> [EMAIL PROTECTED]
> 

Since I was up against a time constraint, I dug into this myself.  I 
modified my prg to replace all CHR(0) with CHR(32).  This worked fine, 
but I was still getting the "binary files differ".  So I deleted the 
file from VSS and added an old version of the class with the CHR(0)'s 
removed.  I then did checking out and in until I got to the current 
version.  Everything works now.  It appears that once VSS recognizes the 
file as binary (not because of the extension, but because the text file 
has a CHR(0) - or NULL - in it) it always thinks it is a binary.

Jeff


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to