Page 1 of 1
UT v2.0 - Open Souce project
Posted: Fri Jan 24, 2025 5:08 pm
by Carles
Hi,
I have uploaded all the sources of the UT v.2.0 project to the repository, and it is now released as an MIT project. The time had come, and it was something I had wanted to do for a long time, but the number of pieces to handle and reorganize made me wait for the right moment.
This project is not just a class, a function, or a simple piece of code, but a tool that will help you work on the web in an easy yet highly effective way. We started 5 years ago with mod_harbour in search of that solution, and everything has been changing, evolving, adapting... I believe more than one person will put it to good use.
It is now open for anyone who wants to contribute, modify, recompile, or improve it...
https://carles9000.github.io/

Re: UT v2.0 - Open Souce project
Posted: Sun Feb 09, 2025 6:07 pm
by Taavi
Hello Carles,
any ideas what can cause this link error?
Taavi
D:\carles\ut.samples\demo>rem @echo off
D:\carles\ut.samples\demo>set hbdir=d:\carles\ut.harbour
D:\carles\ut.samples\demo>set include=d:\carles\ut.harbour\include
D:\carles\ut.samples\demo>set lib=d:\carles\ut.harbour\lib
D:\carles\ut.samples\demo>rem path c:\windows\system32;c:\windows;d:\carles\ut.harbour;d:\carles\ut.harbour\bin;\bin;
D:\carles\ut.samples\demo>if exist "D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" call "D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.12.4
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
hbmk2: Linking... app.exe
hbmk2: Error: Referenced, missing, but unknown function(s):
WAPI_OUTPUTDEBUGSTRING()
*** Error
Press any key to continue . . .
Re: UT v2.0 - Open Souce project
Posted: Sun Feb 09, 2025 8:38 pm
by Enrico Maria Giordano
Try linking hbwin.lib.
Re: UT v2.0 - Open Souce project
Posted: Mon Feb 10, 2025 4:11 pm
by Taavi
Thanks,
link successful now.
Re: UT v2.0 - Open Souce project
Posted: Sat Jul 19, 2025 11:59 am
by TomH
Carles,
Thank you for providing the environment. I can finally compile the MSVC test program.
Great job!!
Re: UT v2.0 - Open Souce project
Posted: Mon Jul 28, 2025 12:22 pm
by wartiaga
Carles wrote: Fri Jan 24, 2025 5:08 pm
Hi,
I have uploaded all the sources of the UT v.2.0 project to the repository, and it is now released as an MIT project. The time had come, and it was something I had wanted to do for a long time, but the number of pieces to handle and reorganize made me wait for the right moment.
This project is not just a class, a function, or a simple piece of code, but a tool that will help you work on the web in an easy yet highly effective way. We started 5 years ago with mod_harbour in search of that solution, and everything has been changing, evolving, adapting... I believe more than one person will put it to good use.
It is now open for anyone who wants to contribute, modify, recompile, or improve it...
https://carles9000.github.io/
Hi Carles,
I'm testing UT and it gives me the following error when using the following example:
<html>
<h1>Welcome to UT</h1>
Report at {{ time() }}
<hr>
<?prg
local cHtml := ''
local cAlias := 'ALIAS' + ltrim(Str(hb_milliseconds()))
local nI
use 'data/test.dbf' shared new alias (cAlias) ////<============== Error Line
for nI := 1 to 10
DbGoto( hb_random( 1, 10 ) )
cHtml += '<br>' + FIELD->first + ' ' + FIELD->last + ', ' + FIELD->STREET
next
DbCloseAll()
retu cHtml
?>
Any sugestion? Thanks!

Re: UT v2.0 - Open Souce project
Posted: Sun Aug 03, 2025 6:27 pm
by Carles