Does anyone know if the DIFF program shipped with CW is an executable (vs. a .dll). I would like to make it my diff program directly from winCVS if possible.
I posted a VBS that can do this to codewarrior.windows a while back. Here's the source, save this to "compare_cw.vbs", and you can use this as the external diff program in WinCVS.
------------
' ----------------------------------------------------------------------------------
' For the scripts to work, you would need to install Windows Script Host(WSH).
' WSH can be downloaded from Microsoft's website
' http://msdn.microsoft.com/scripting/default.htm?/scripting/windowshost/beta/doc/wsIntro.htm
' More documentation on WSH 2.0 and VBScript 5.0 can also be found at above-mentioned URL.
'
' This script lets external programs use the IDE's file compare engine
'
' ----------------------------------------------------------------------------------
' Declaration Section Option Explicit Dim theCodeWarriorApp Dim theCompareEngine Dim theArguments
'Create automation app object
Set theCodeWarriorApp = CreateObject("CodeWarrior.CodeWarriorApp")
Set theCompareEngine = theCodeWarriorApp.CompareInterface
Set theArguments = WScript.ArgumentstheCompareEngine.CompareFiles theArguments(0), theArguments(1), false, false
'End of script
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
