FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour UT v2.0 - Open Souce project
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
UT v2.0 - Open Souce project
Posted: Fri Jan 24, 2025 05: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/

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
Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: UT v2.0 - Open Souce project
Posted: Sun Feb 09, 2025 06:07 PM

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 . . .

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: UT v2.0 - Open Souce project
Posted: Sun Feb 09, 2025 08:38 PM

Try linking hbwin.lib.

Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: UT v2.0 - Open Souce project
Posted: Mon Feb 10, 2025 04:11 PM

Thanks,

link successful now.

Posts: 9
Joined: Tue Nov 12, 2024 01:30 PM
Re: UT v2.0 - Open Souce project
Posted: Sat Jul 19, 2025 11:59 AM

Carles,

Thank you for providing the environment. I can finally compile the MSVC test program.

Great job!!

Posts: 253
Joined: Wed May 25, 2016 01:04 AM
Re: UT v2.0 - Open Souce project
Posted: Mon Jul 28, 2025 12:22 PM
Carles wrote: 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/

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!

Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: UT v2.0 - Open Souce project
Posted: Sun Aug 03, 2025 06:27 PM
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

Continue the discussion