Page 1 of 1

VFP under harbour

Posted: Wed Oct 28, 2020 12:26 pm
by Auge_Ohr
hi,

it is not Xbase++ but it can work same like VFP shown in this Video
https://www.youtube.com/watch?v=N72UmodtOvo

i work since 1 Year with harbour and now i know it is not a Dream to use Xbase++ Code under harbour

Re: VFP under harbour

Posted: Mon Nov 02, 2020 10:27 am
by skiman
Hi Jimmy,

Why would you use Harbour for Xbase++ code?

Re: VFP under harbour

Posted: Mon Nov 02, 2020 12:08 pm
by Auge_Ohr
hi,
skiman wrote: Mon Nov 02, 2020 10:27 am Why would you use Harbour for Xbase++ code?
Xbase++ is "just" are a small Part of big xBase World.

harbour is "just" a Transpiler to generate C-Code ( NOT C++ ) from xBase Syntax.
it need a C-Compiler and Linker like Borland BCC or MinGW with LIBs

---

C-Code does run much quicker than Xbase++ Code.
32 / 64 Bit
full Unicode Support
ALL RDD Driver for DBF and SQL
Codepage for DBF

VM to use multi CPU Core
and you can direct include C-Code into *.PRG

btw. C-Code can run on every OS which have a C-Compiler

---

when want use use Xbase++ Syntax you need the "right" Way and LIB
this Video show a Way under VFP

for Xbase++ i found other Way based on QT LIB from Nokia.
have a look at this Tutorial http://www.elektrosoft.it/tutorials/hbqt/hbqt.asp

QT was Release 1990 while Xbase++ 1997 but Syntax look so similar ...

---

there is a Constribution hbXBP include in QTcontribs
https://groups.google.com/forum/?oldui= ... qtcontribs

have a look at \hbXBP Source and you will find EVERY CLASS of Xbase++ with all Methode, Property and Events :!:
hbXBP is a "Wrapper" for QT LIB and "just" a little Part on which Pritpal Bedi and other are working on.

so if you think about Future of xBase than it seems me a good Way.
i try to build own Contribution using "only" hbXBP

p.s. under Express++ it is "just" need to change SUPER CLASS and Syntax of DLLcall ( DLL_STDCALL => DLL_OSAPI )

Re: VFP under harbour

Posted: Tue Nov 03, 2020 5:45 am
by unixkd
Hi Jimmy

Is it possible to call harbour functions with Xbase++ application ?
If YES how ?

Thanks

Joe

Re: VFP under harbour

Posted: Tue Nov 03, 2020 6:33 am
by unixkd
Hi Jimmy

It will be great to write the wrappers for FastReport VCL 6 for Xbase++ community just like Xailer did for harbour

Joe

Re: VFP under harbour

Posted: Tue Nov 03, 2020 4:47 pm
by Auge_Ohr
hi,

Xbase++ can use a C-DLL.

you can generate DLL by harbour but DLL is "one-Way".
this is ok when call a Function to get a Return Value.
but if you want to "communicate" you need ActiveX.

but both must be dome with "pure" C-Code ...
xBase Dialect is just used as Wrapper for C-API so it "contain nothing"

no Difference to other C-Language to build a COM Interface

---

Open-Source does not use commercial Product like *.OCX or *.VCL
harbour have ActiveX which all most all Contribution / Distribution support.

as i say harbour is "just" a Transpiler and have some "Core-LIBs" but no GUI Controls and its Event handling

you need a GUI Contribution / Distribution which include "Core-Function" e.g. handle Events or Notify Message.
Link of Video above show Solution for VFP ... i´m working on a Solution for Xbase++

write me a Email when you want more Info.