Introducing FiveTech's fivedit

User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

------------------------------------ NEW VERSION 25/08/2017 ----------------------------

- Support build with VSC 2017 compiler


Template for this compiler ( save as Fivedit2017.fiv and place file of folder fivedit.exe )
[PREFERENCES]
0=Default Harbour VSC 2017
2=32 bits
41=Microsoft VSC 2017
44=
45=
46=
47=
48=.F.
49=.T.
50=.T.
51=.F.
52=.T.
53=.F.
54=.F.
55=.F.
56=.F.
57=.F.
58=.F.
59=.F.
60=.F.
61=.T.
62=FiveWin
63=C:\Program Files\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\Hostx86\x86\cl.exe
64=C:\Program Files\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\Hostx86\x86\link.exe
65=C:\Program Files (x86)\Windows Kits\8.1\bin\x86\rc.exe
68=.F.
74=C:\Program Files\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\Hostx86\x86\cl.exe
1=c:\fwh
3=
4=c:\Harbour\Harbvsc7
5=Harbour
6=/n /m /w /es1 /gc1
7=
8=C:\Program Files\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503
9=/nologo /subsystem:windows /NODEFAULTLIB:msvcrt /LTCG
10=
34=-TP -W3 -c /GS- /GA
72=-r -d__FLAT__
[USERLIBS]
001=c:\fwh\lib\fiveh32.lib,1
002=c:\fwh\lib\fivehc32.lib,1
003=c:\Fwh\lib\dolphinvs2015.lib,1
004=c:\Fwh\lib\libmysql32.lib,1
005=
006=
007=
[XHARBOURLIBS]
001=c:\Harbour\Harbvsc7\lib\hbwin.lib,1
002=c:\Harbour\Harbvsc7\lib\gtgui.lib,1
003=c:\Harbour\Harbvsc7\lib\hbrtl.lib,1
004=c:\Harbour\Harbvsc7\lib\hbvm.lib,1
005=c:\Harbour\Harbvsc7\lib\hbvmmt.lib,0
006=c:\Harbour\Harbvsc7\lib\hblang.lib,1
007=c:\Harbour\Harbvsc7\lib\hbmacro.lib,1
008=c:\Harbour\Harbvsc7\lib\hbrdd.lib,1
009=c:\Harbour\Harbvsc7\lib\rddntx.lib,1
010=c:\Harbour\Harbvsc7\lib\rddcdx.lib,1
011=c:\Harbour\Harbvsc7\lib\rddfpt.lib,1
012=c:\Harbour\Harbvsc7\lib\hbsix.lib,1
013=c:\Harbour\Harbvsc7\lib\hbdebug.lib,1
014=c:\Harbour\Harbvsc7\lib\hbcommon.lib,1
015=c:\Harbour\Harbvsc7\lib\hbpp.lib,1
016=c:\Harbour\Harbvsc7\lib\hbcpage.lib,1
017=c:\Harbour\Harbvsc7\lib\hbcplr.lib,1
018=c:\Harbour\Harbvsc7\lib\hbct.lib,1
019=c:\Harbour\Harbvsc7\lib\hbpcre.lib,1
020=c:\Harbour\Harbvsc7\lib\xhb.lib,1
021=c:\Harbour\Harbvsc7\lib\hbziparc.lib,1
022=c:\Harbour\Harbvsc7\lib\hbmzip.lib,1
023=c:\Harbour\Harbvsc7\lib\hbzlib.lib,1
024=c:\Harbour\Harbvsc7\lib\minizip.lib,1
025=c:\Harbour\Harbvsc7\lib\png.lib,1
026=c:\Harbour\Harbvsc7\lib\hbcurl.lib,1
027=c:\Harbour\Harbvsc7\lib\hbusrrdd.lib,1
028=c:\Harbour\Harbvsc7\lib\hbtip.lib,1
029=c:\Harbour\Harbvsc7\lib\hbmxml.lib,1
030=c:\Harbour\Harbvsc7\lib\hbmisc.lib,1
[CCOMPLIBS]
001=kernel32.lib,1
002=user32.lib,1
003=gdi32.lib,1
004=winspool.lib,1
005=comctl32.lib,1
006=comdlg32.lib,1
007=advapi32.lib,1
008=shell32.lib,1
009=ole32.lib,1
010=oleaut32.lib,1
011=uuid.lib,1
012=odbc32.lib,1
013=odbccp32.lib,1
014=iphlpapi.lib,1
015=mpr.lib,1
016=version.lib,1
017=wsock32.lib,1
018=msimg32.lib,1
019=oledlg.lib,1
020=psapi.lib,1
021=gdiplus.lib,1
022=winmm.lib,1
023=vfw32.lib,1
024=runtimeobject.lib,1
025=ws2_32.lib,1
026=shlwapi.lib,1
027=imm32.lib,1
028=urlmon.lib,1
029=strmiids.lib,1
[INCLUDES]
001=,0
https://bitbucket.org/fivetech/fivewin- ... ivedit.exe

Pd: few days, next version include Scintilla v376 and build with VSC 2017 libs
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Introducing FiveTech's fivedit

Post by Otto »

Hello Cristobal,

I have a standard installation of FIVEWIN.
Can you give me a ready to go setup for FIVEEDIT.
Thanks in advance
Otto


if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST

ECHO Compiling...

if "%FWDIR%" == "" set FWDIR=.\..\
if "%XHDIR%" == "" set XHDIR=c:\xharbour
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui

set hdir=%XHDIR%
set hdirl=%hdir%\lib
set bcdir=c:\bcc582
set fwh=%FWDIR%
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

Hello Otto

I do not quite understand what you need
But, if you need my help, send me an email and I can connect by TeamViewer
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Introducing FiveTech's fivedit

Post by Otto »

Dear Cristobal,
I would like to open a sample from Fivewin sample Folder and click on RUN without any need to Setup FIVEEDIT myself.
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

Otto wrote:Dear Cristobal,
I would like to open a sample from Fivewin sample Folder and click on RUN without any need to Setup FIVEEDIT myself.
Thanks in advance
Otto
Ah! Ok, now I understand

You should follow these steps in "Preferences":
1) Disable "Use Compilation Fivedit": first screen folder "General"
2) In the Tab (x)Harbour, use gets "Execute tool before compilation" or/and "Execute tool after compilation" and put your file .bat or command

What is the current problem, in which I am working?

It does not allow to put in that command variables that are replaced by values used by Fivedit, for example the name of the current file
For example put: c:\application\mybat.bat %cFileName%, this not run now
And that %cFileName% is replaced by the currently active file
For this feature, you will have to wait a little

But this run ok: c:\application\mybat.bat

Or

This run OK also: c:\application\mybat.bat sample01.prg

I hope I have explained well with my poor English
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

Otto, solved
In next version published now, allow internal variable %CFILENAME% ( please upper ), into command lines tools

Sample: c:\myapplication\mybat.bat %CFILENAME%

This %CFILENAME% is replace for cFilename active

Please, if you or other user need other variable for commands lines, please tell me with complete freedom
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

--------------------------------------------- NEW VERSION 25/08/2017 ------------------------------------

- Minor bug fixed in path compiler of Visual Studio in previous version
- Implemented first internal variable %CFILENAME% into commands lines: "Execute Tool before compilation", "Execute Tool after compilation", in TABS xHarbour and CCompiler in Preferences dialog

https://bitbucket.org/fivetech/fivewin- ... ivedit.exe
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

----------------------------------------------------- NEW VERSION 26/08/2017 --------------------------

Now you can use your compilation script without setting up FivEdit

- Added new internal variable %CFILENOEXT%: is replaced with cFilename active within extension

---------------------------- SPANISH ----------------

Ahora usted puede utilizar su script de compilacion sin necesidad de configurar FivEdit

- Añadida nueva interna variable %CFILENOEXT%: que será sustituída por el nombre del fichero activo sin extension



https://bitbucket.org/fivetech/fivewin- ... ivedit.exe

Image

Image
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Introducing FiveTech's fivedit

Post by Otto »

Hello Cristiobal,
I did what you said.
Now I get following msginfo.
Thanks in advance
Otto

Image

Image

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

A small mistake, excuse me
Solved

Download new version

--------------------------------------------- NEW VERSION 28/08/2017 --------------------------------------

https://bitbucket.org/fivetech/fivewin- ... ivedit.exe
Last edited by cnavarro on Mon Aug 28, 2017 4:10 pm, edited 1 time in total.
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

Otto wrote:Hello Cristiobal,
I did what you said.
Now I get following msginfo.
Thanks in advance
Otto
Please confirm if problem is solved and run OK
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Introducing FiveTech's fivedit

Post by Otto »

Hello Cristobal,
thank you. This is working fine.
How do I setup the editor to see the output window of the compiling process.
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

Otto wrote:Hello Cristobal,
thank you. This is working fine.
How do I setup the editor to see the output window of the compiling process.
Thanks in advance
Otto
Otto, ok
Test new version and look in the bottom folder (compilation results and errors)
I appreciate yours comments

------------------------------------- NEW VERSION 28/08/2017 ------------------------

https://bitbucket.org/fivetech/fivewin- ... ivedit.exe
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Introducing FiveTech's fivedit

Post by Otto »

Hello Cristobal,
thank you.
I only have results but no Folder for Errors/warnings.
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Introducing FiveTech's fivedit

Post by Otto »

Dear Cristobal,

I have some more questions:

Is it possible to compile files with long filenames.
Is it possible to compile files which are not inside the sample folder.
For these situations I always have to make a project but it would be good if
we could compile prg-files inside any folder and also with long filenames.

Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
Post Reply