Here is a beeter example.
// erelvl.prg
#include "fivewin.ch"
PROCEDURE Main()
LOCAL nErr
nErr := WaitRun("tst2.exe")
MSGInfo(nErr)
MSGInfo(errorlevel()) // returns 0
RETURN
// tst2.prg
? "hello to you"
errorlevel(1)
inkey ...
Search found 37 matches
- Tue May 16, 2006 2:36 pm
- Forum: FiveWin for CA-Clipper
- Topic: Catching errorlevel from old dos app
- Replies: 3
- Views: 1317
- Tue May 16, 2006 1:54 pm
- Forum: FiveWin for CA-Clipper
- Topic: Catching errorlevel from old dos app
- Replies: 3
- Views: 1317
Catching errorlevel from old dos app
Hello all
How can I determine what error code a dos app returns. I’m using the blat command line mailer. When the email doesn’t get sent the app returns an non zero errorlevel code. Is there a way to get that code without writing a second app to trap it and pass it along to the main app through a ...
How can I determine what error code a dos app returns. I’m using the blat command line mailer. When the email doesn’t get sent the app returns an non zero errorlevel code. Is there a way to get that code without writing a second app to trap it and pass it along to the main app through a ...
- Tue Mar 28, 2006 10:04 pm
- Forum: FiveWin for CA-Clipper
- Topic: Fivewin/3 error
- Replies: 7
- Views: 4170
- Tue Mar 28, 2006 12:19 pm
- Forum: FiveWin for CA-Clipper
- Topic: Fivewin/3 error
- Replies: 7
- Views: 4170
No it’s not a Borland bwcc error. But you did give me an idea. I use the fwctrls.dll with workshop (install it from file->Install Control Library) in that lib are predefined FiveWin objects. I tried loading the bwcc.dll but no dice. When I loaded the fwctrls.dll bingo the app works. Now can some ...
- Sun Mar 26, 2006 9:34 pm
- Forum: FiveWin for CA-Clipper
- Topic: Fivewin/3 error
- Replies: 7
- Views: 4170
- Sun Mar 26, 2006 1:52 pm
- Forum: FiveWin for CA-Clipper
- Topic: Fivewin/3 error
- Replies: 7
- Views: 4170
Fivewin/3 error
Ok I’ve encountered a little problem. While trying to run my app I get Fivewin error/3 Can not create dialog.
The strange part of this error is when I have workshop running with the DLL loaded and run the app ther is no error. When I close workshop the error is there again.
#include "FIVEWIN. ...
The strange part of this error is when I have workshop running with the DLL loaded and run the app ther is no error. When I close workshop the error is there again.
#include "FIVEWIN. ...
- Thu Mar 23, 2006 11:07 pm
- Forum: FiveWin for CA-Clipper
- Topic: Folder scrolling pages
- Replies: 1
- Views: 1055
Folder scrolling pages
Hello to all
Is it possible to have a scrolling page that is part of a folder object. The child dialog has more objects on it and the dialog is lager than the folder’s window display size. I’ve enabled the vertical scroll bar on the child dialog but no scrolling is don when I click on it. The scroll ...
Is it possible to have a scrolling page that is part of a folder object. The child dialog has more objects on it and the dialog is lager than the folder’s window display size. I’ve enabled the vertical scroll bar on the child dialog but no scrolling is don when I click on it. The scroll ...
- Fri Jan 06, 2006 2:36 pm
- Forum: FiveWin for CA-Clipper
- Topic: GPF in ALLOC_TEXT
- Replies: 4
- Views: 1972
- Wed Jan 04, 2006 10:45 pm
- Forum: FiveWin for CA-Clipper
- Topic: error base\1004 and base\1005
- Replies: 3
- Views: 1935
- Wed Jan 04, 2006 2:01 pm
- Forum: FiveWin for CA-Clipper
- Topic: GPF in ALLOC_TEXT
- Replies: 4
- Views: 1972
GPF in ALLOC_TEXT
Hello to all. I’m getting a GPF from one of my apps. The GPF accurse while indexing the main DBF for the first time. When I delete the CDX file and restart the app there is no GPF. From the MAP file the GPF address is somewhere in ALLOC_TEXT (0010:412F)
0010:3E04 00692H ALLOC_TEXT CODE
This ...
0010:3E04 00692H ALLOC_TEXT CODE
This ...
- Thu Dec 08, 2005 3:12 pm
- Forum: FiveWin for CA-Clipper
- Topic: Error message in ? lang
- Replies: 4
- Views: 1584
- Wed Dec 07, 2005 3:58 pm
- Forum: FiveWin for CA-Clipper
- Topic: Error message in ? lang
- Replies: 4
- Views: 1584
- Tue Dec 06, 2005 11:06 pm
- Forum: FiveWin for CA-Clipper
- Topic: Error message in ? lang
- Replies: 4
- Views: 1584
Error message in ? lang
While testing (playing around) with FW I got this and this error dialogs. My question is what can I change to make the text be readable to my users (and me). I can understand the buttons they're in greek but the text, my guess, might be greek in a diffrent code page.
I have made my owe error ...
I have made my owe error ...
- Sat Nov 26, 2005 12:56 pm
- Forum: FiveWin for CA-Clipper
- Topic: Icon not showing up
- Replies: 5
- Views: 2846
- Fri Nov 25, 2005 1:22 pm
- Forum: FiveWin for CA-Clipper
- Topic: Icon not showing up
- Replies: 5
- Views: 2846
No dice the @@@ thing is still a no show.
I can see it fine in workshop. I renamed it, I deleted and reinserted it from the same ICO file that the RC script uses.
I'm now only using one DLL (merged them together) there are no double names or odd things in there. Can FW handle the VERSION tag that is ...
I can see it fine in workshop. I renamed it, I deleted and reinserted it from the same ICO file that the RC script uses.
I'm now only using one DLL (merged them together) there are no double names or odd things in there. Can FW handle the VERSION tag that is ...