VFP under harbour

Xbase++ forum for Visual FoxPro developers
Post Reply
Message
Author
User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

VFP under harbour

#1 Post 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
greetings by OHR
Jimmy

skiman
Posts: 1198
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: VFP under harbour

#2 Post by skiman »

Hi Jimmy,

Why would you use Harbour for Xbase++ code?
Best regards,

Chris.
www.aboservice.be

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: VFP under harbour

#3 Post 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 )
greetings by OHR
Jimmy

User avatar
unixkd
Posts: 576
Joined: Thu Feb 11, 2010 1:39 pm

Re: VFP under harbour

#4 Post by unixkd »

Hi Jimmy

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

Thanks

Joe

User avatar
unixkd
Posts: 576
Joined: Thu Feb 11, 2010 1:39 pm

Re: VFP under harbour

#5 Post 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

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: VFP under harbour

#6 Post 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.
greetings by OHR
Jimmy

Post Reply