Translate directly it's very dificult. I made for my use a web server machine with works with fivewin programs that it can be compiled for windows and web (two diferents exe files withe the same prg files), I have an administrative program (sales, inventory, payroll, etc) compiled like this, but really needs many touches in the code for can use the same code, perhaps not in the structure, but in the places that you need indicating the program could made a pause (form, alert messages, confirm messages, etc). It coud work with xailer, minigui and oohg, because I made some little test, but I don't worked until finish it. The mine problem is all messages the program has. By example, if you have a message every time that you block a record.
function myRLock()
local lock = rlock()
if lock()
alert( "No blocked")
endIf
return lock
You could have a puse in the web if the record isn't blocked, but not if is blocked and decide if shows one or other page. More or less is the idea, then every rlock() you need touch your program.
Other big problem that I foud was ssl. I can´t until now work with ssl in my harbour servers. I need to build a bridge between php and my server. I can work without problems with
http://mypages but not with
https://mypages,
This is my experience with the topic.