Reminds me of the old days when DOS and DBase were disappearing - now it seems to be happening to Foxpro and Windows."
MS Windows disappearing? It is too nice to be true.
I did not read the whole discussion above for I am not good in english, but maybe you can use
EXTERNAL ARRAY ... in your function/method handling array?
* You can use WMI, for example close all Calculator instances
oWMI = GETOBJECT('winmgmts://')
cQuery = "select * from win32_process where name='calc.exe'"
oResult = oWMI.ExecQuery(cQuery)
? oResult.Count
FOR EACH oProcess IN oResult
? oProcess.Name...
Bryan, I am sorry you have troubles with it, but my code works O.K. Imaginecorp is right - chr(0) is not needed. My test prg:
-------
set talk OFF
clear
DECLARE INTEGER CopyFile IN KERNEL32 STRING @lpExistingFileName, STRING @lpNewFileName, INTEGER
lcSrc="c:\usr\tmp\xYz.tXt"...
Fullscreen: just press Alt+Enter while running your app to switch between fullscreen x window mode.
You can set it up also by right-clicking small icon on left of title bar of your app and setting properties there.
To set environment variables for Clipper or my own application I use the batchfile launching my app. Advantage is that it has influence only for this app (process):
1. step - release unused variables from memory to gain enough space for my own variables
...
set PROCESSOR_ARCHITECTURE=
set...
I run both development env. and compiled applications of FPD 2.0, 2.5 and 2.6 on Win2K/XP without any problems. The only settings I have done were FILES=80 in CONFIG.NT and changing fontsize in DOSBOX window of apps. None of default memory settings I have touched.
Do you launch your FPD directly...
There are not problems to run a Clipper EXE in XP environment. I do so every day. The only thing you have to do is to edit the CONFIG.NT in directory /Windows/system32 to add/change the line FILES=.. to FILES=120.
Other properties (to run app in fullscreen or window mode, fontsize etc.) you...
Manully: thru Clipboard:
1. copy an URL from Address bar in browser (both Firefox and IE: rightclick+context menu) into clipboard
2. RighClick Event on your table field:
REPLACE fieldname WITH _CLIPTEXT
Programmatically: see Mike
> I think I can get constants for type library from the Object Browser. I was talking about constants that accompany most Windows API functions....
so do I: You can extract with GetConstants constants from any type-library (dll, olb, tlb, ocx, exe ..) that contains it and save them into ready...
Blinker 1.0 and Exospace were bundled with Clipper 5.3. Blinker supports overlaying, EXOSPACE using of extended memory.
Here is my batchfile I used to compile, link and execute any simple clipper program:
------
@ECHO OFF
call c:\dos\clp\bin\_SetEnv.bat
clipper %1 /m /n > %1.err
if errorlevel 1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.