Search found 209 matches

by mainhatten
Wed Sep 24, 2025 6:55 pm
Forum: Visual FoxPro
Topic: Execscript support, Runtime compilation or razor templates?
Replies: 10
Views: 15309

Re: Execscript support, Runtime compilation or razor templates?

Brian,
I have posted my take on missing "base vfp DNA" in other thread here in vfp forum.
Perhaps you should offer a prioritized list of features xSharp must support for your programs.

regards
thomas
by mainhatten
Wed Sep 24, 2025 6:46 pm
Forum: Visual FoxPro
Topic: Chances for some small optimizations of vfp runtime?
Replies: 8
Views: 31108

Re: Chances for some small optimizations of vfp runtime?

Kevin,

my guess is xSharp implementation was started without detailed analysis which vfp features would be needed for how large a percentage of current vfp apps. More a kind of "Which syntax do we need to support, so that VO programs can be built with Vfp syntax" and not "How and why are vfp ...
by mainhatten
Wed Aug 20, 2025 12:59 pm
Forum: Visual FoxPro
Topic: Chances for some small optimizations of vfp runtime?
Replies: 8
Views: 31108

Re: Chances for some small optimizations of vfp runtime?

Hi Chris,


but I think you believe that using the NeedsAccessToLocals ... so probably is not something to really worry about.

Mostly correct, I thought that before the call local would be collected and then injected - but viewed that as "time between calling line, wanted Macro expansion and ...
by mainhatten
Wed Aug 20, 2025 10:23 am
Forum: Visual FoxPro
Topic: Chances for some small optimizations of vfp runtime?
Replies: 8
Views: 31108

Re: Chances for some small optimizations of vfp runtime?

Hi Robert,
thx for the detailed explanation - esp. last paragraph - makes clear, how xSharp handles 1st parameter array modification or creation in the cases like aDir, aFields or aMembers, where an existing array is modified (even when called without @ on calling source line) or created inside the ...
by mainhatten
Mon Aug 18, 2025 2:12 pm
Forum: Visual FoxPro
Topic: Chances for some small optimizations of vfp runtime?
Replies: 8
Views: 31108

Chances for some small optimizations of vfp runtime?

Hi Robert, Chris & Fabrice,
I read a bit in the sources, trying to get my footing back in Dotnet and xSharp.

a) If I am not mistaken, the code for the vfp "evaluate()" is in
/Runtime/XSharp.RT/Functions/Macro.Prg
as it has the NeedsAccessToLocals(TRUE) qualifier Robert mentioned when discussing non ...
by mainhatten
Sat Aug 16, 2025 1:56 pm
Forum: Chit-Chat
Topic: vfpodbc.dll / DBMigration by fish
Replies: 3
Views: 8247

Re: vfpodbc.dll / DBMigration by fish

Hi Karl,
From Vfp POV VfpODBC is old - not venerable, but out of time, as it only supports up to vfp6, no Autoincrement, no index BINARY and so on. If it works for your dbf structure, fine. Then I'd reinstall it (several ways listed on VfpX, with files for runtimes or standalone).
Differences in ...
by mainhatten
Sat Aug 02, 2025 7:22 am
Forum: Visual FoxPro
Topic: Foxtools functions
Replies: 3
Views: 6915

Re: Foxtools functions

As you mention yourself to be rusty in vfp:
AFAIR RegFN tries to register into the DOS 16 bit runtimes, the 32 bit equivalent was called RegFN32. It was used to call into Fll/Dll created by 16 or 32 bit compiler especially for Vfp3 or found on the DOS or NT based OS, as MS allowed via "thunking" to ...
by mainhatten
Sat Apr 12, 2025 6:46 pm
Forum: Visual FoxPro
Topic: ADO.NET is probably the best solution for data processing in X# as of today.
Replies: 1
Views: 4456

Re: ADO.NET is probably the best solution for data processing in X# as of today.

Hi Xinje,

you are absolutely correct. The vfp programs I still see make heavy use of buffering - the whole context of GetNextModified(), Get/SetFieldState() TableUpdate(), TableRevert() is/was the special sauce in vfp, as it caches part of the (nowadays remote server) tables as Selects on the local ...
by mainhatten
Sat Apr 12, 2025 6:12 pm
Forum: Visual FoxPro
Topic: Is it possible to add the “Thisform” keyword to the foxpro dialect of X#?
Replies: 10
Views: 12053

Re: Is it possible to add the “Thisform” keyword to the foxpro dialect of X#?

Hi,

ThisFormSet is automatically created when you are porting FoxProWIndows or older Forms.
I did that 3 times: 2 times I later cut complex classes out of the formset for ongoing maintainance.
Once the forms were used "as is" via adding a special handler object - very special circumstances, not ...
by mainhatten
Mon Apr 08, 2024 10:28 am
Forum: Deutsches Forum
Topic: Migration xBase-Datenbanken zu SQL
Replies: 25
Views: 35183

Re: Migration xBase-Datenbanken zu SQL

Hi Jörg,

zu beachten sind Blank Felder, insbesonders bei Date/DateTime Feldern.
SQL mag die so gar nicht -Abhilfe spezifisches Datum oder .null., wenn .null. sonst nicht verwendet.
IMO am besten explizit vorab unter xBase Wert weit in der Zukunft zuweisen und Code
hierzu erst einmal anpassen mit ...