Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCA to scx/sct VCA to vcx/vct? scctext.prg versions
Message
From
16/11/2006 14:42:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Source Safe Control
Title:
SCA to scx/sct VCA to vcx/vct? scctext.prg versions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01170431
Message ID:
01170431
Views:
288
I cannot lcoate a single version which has '2' for:

#DEFINE SCC_VCX_SUPPORT 1
#DEFINE SCC_FORM_SUPPORT 1

I have a few copies of scctext.prg Each has different people making different mods along the way. No copy of what I have seems to include any of the mods of the others though:



scctext.prg (1)
*	History:	17-Aug-95	sherrike	written
*				20-Nov-95	sherrike	use smart defaults for single filename
*				02-Dec-95	sherrike	return values for merge support
*               18-Jan-01   M.Winhard	implemented modifications of Mark Wilden as published
*										in FoxPro Advisor Oct.97, further improved it by:
*										+ finally fixed sort order for method names in class
*										+ dramatically improved performance with large VCX's
*										  (see SccTextEngine::SortMethods())
*										+ fixed sort order for classes in VCX
*										+ changed all PARAMETERS() to PCOUNT()
*										+ made sure SET COMPATIBLE is OFF as needed by FSIZE()
*										  to work the intended way
*				01-Feb-01	M.Winhard	auto-localizing for german users
*										(other localized VFP versions get english strings,
*										feel free to extend ;-) )
*				13-Aug-01	F.Camp		so I did. :-)
*										Fixed/Extend it to sort all the methods, objects 
*										and properties.
*										Fixed second parameter in FGETS() calls.
*										In VFP7 it uses the Case-Insensitive Sort Order
*				15-Aug-01	M.Winhard	sort SCX like VCX
*				09-Aug-02	M.Winhard	allow creation of SCA files for FP2x screens
*				29-Oct-02	M.Winhard	VFP 7 and above: case insensitive sorting of methods
*										and properties is now optional; thus by default
*										VFP's standard methods and properties will be first,
*										not mixed with custom methods and properties

scctext.prg (2)
*	History:	17-Aug-95	sherrike	written
*				20-Nov-95	sherrike	use smart defaults for single filename
*				02-Dec-95	sherrike	return values for merge support
*				16-Oct-02	bethm		write methods in alphabetical order

scctext.prg (3)
*	History:	17-Aug-95	sherrike	written
*				20-Nov-95	sherrike	use smart defaults for single filename
*				02-Dec-95	sherrike	return values for merge support
*               18-Jan-01   M.Winhard	implemented modifications of Mark Wilden as published
*										in FoxPro Advisor Oct.97, further improved it by:
*										+ finally fixed sort order for method names in class
*										+ dramatically improved performance with large VCX's
*										  (see SccTextEngine::SortMethods())
*										+ fixed sort order for classes in VCX
*										+ changed all PARAMETERS() to PCOUNT()
*										+ made sure SET COMPATIBLE is OFF as needed by FSIZE()
*										  to work the intended way
*				01-Feb-01	M.Winhard	auto-localizing for german users
*										(other localized VFP versions get english strings,
*										feel free to extend ;-) )
*				13-Aug-01	F.Camp		so I did. :-)
*										Fixed/Extend it to sort all the methods, objects
*										and properties.
*										Fixed second parameter in FGETS() calls.
*										In VFP7 it uses the Case-Insensitive Sort Order
*				15-Aug-01	M.Winhard	sort SCX like VCX
*				09-Aug-02	M.Winhard	allow creation of SCA files for FP2x screens
*				29-Oct-02	M.Winhard	VFP 7 and above: case insensitive sorting of methods
*										and properties is now optional; thus by default
*										VFP's standard methods and properties will be first,
*										not mixed with custom methods and properties
*				30-Oct-02	BethM		Fixed a Problem in Routine SortMethods()
*				31-Oct-02	wOOdy		changed all this.JUST*, this.ADDBS, this.FORCEEXT 
*										functions to the VFP internal routines; revised 
*										Thermometer code to use two container instead of nine
*										shapes; Reworked the HexStr2BinStr function for faster 
*										and cleaner code. Overall Code cleanups (removed 
*										unnecessary "m.", sorted and indented code,  etc), 
*										fixed SCC_DBC_MEMO define error.
*				01-Nov-02	wOOdy		Spotted the cause for the "BugBug" workarounds in 
*										proc "CreateTable"; Killed bug, cleaned code and got 
*										rid of proc "GetReportStructure"
*				12-Nov-02	M.Winhard	Changed #defines for DBC file extensions to DC*;
*										added #defines for DBF file extensions as DB*
*				31-Nov-02	F.Camp		Fixed the sort order of contained objects in VCX and SCX 
*										files so that they are created straight after the parent.
*										Header files will be created first, then the other controls
*										in a column of a grid

Even though (3) seems to be the most thorough, it doesn't allow for taking an .sca and creating the scx and sct from it... By the way, my goal is to recreate a form and a visual class from the historical files created by SourceGear Vault. They used Scctext.prg version 4.0.0.2 to create the backup text files stored in sqlserver.
That is what SourceGear Vault does when you rollback so it must be possible. I'd like to do it manually (automate it from a prg) so I can do a visual comparison between the working copy and the historical copy in GKK Compare.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Next
Reply
Map
View

Click here to load this message in the networking platform