UT v2.0 - Open Souce project

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
User avatar
Carles
Posts: 1298
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

UT v2.0 - Open Souce project

Post 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. :D

It is now open for anyone who wants to contribute, modify, recompile, or improve it...

https://carles9000.github.io/

Image
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Taavi
Posts: 97
Joined: Mon Nov 21, 2005 10:29 am

Re: UT v2.0 - Open Souce project

Post 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 . . .
Taavi
Posts: 97
Joined: Mon Nov 21, 2005 10:29 am

Re: UT v2.0 - Open Souce project

Post by Taavi »

Thanks,
link successful now.
TomH
Posts: 10
Joined: Tue Nov 12, 2024 1:30 pm

Re: UT v2.0 - Open Souce project

Post by TomH »

Carles,

Thank you for providing the environment. I can finally compile the MSVC test program.
Great job!!
wartiaga
Posts: 254
Joined: Wed May 25, 2016 1:04 am

Re: UT v2.0 - Open Souce project

Post 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. :D

It is now open for anyone who wants to contribute, modify, recompile, or improve it...

https://carles9000.github.io/

Image
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!

Image
User avatar
Carles
Posts: 1298
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: UT v2.0 - Open Souce project

Post by Carles »

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Post Reply