Search found 37 matches

by kronos911
Tue May 16, 2006 2:36 pm
Forum: FiveWin for CA-Clipper
Topic: Catching errorlevel from old dos app
Replies: 3
Views: 1190

Here is a beeter example.

Code: Select all

// 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(3)
by kronos911
Tue May 16, 2006 1:54 pm
Forum: FiveWin for CA-Clipper
Topic: Catching errorlevel from old dos app
Replies: 3
Views: 1190

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 fi...
by kronos911
Tue Mar 28, 2006 10:04 pm
Forum: FiveWin for CA-Clipper
Topic: Fivewin/3 error
Replies: 7
Views: 4041

Thanks all Since this is my first app I’ve written since the system format/rebuild it’s also the first one that displayed the error. The other 5 apps I have running there and there are made with workshop and the fwctrls.dll, but I don’t load the dll in any program or have it the client’s pc So I gue...
by kronos911
Tue Mar 28, 2006 12:19 pm
Forum: FiveWin for CA-Clipper
Topic: Fivewin/3 error
Replies: 7
Views: 4041

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 tel...
by kronos911
Sun Mar 26, 2006 9:34 pm
Forum: FiveWin for CA-Clipper
Topic: Fivewin/3 error
Replies: 7
Views: 4041

I think the problem might be the page object inside a folder object. When I quote out the procedures MkPg1() and MkPg2() the program starts normally. When I un quote ether one of those procedures I get the error message.
I’m going to try a folder in a folder instead of a page in a folder approach.
by kronos911
Sun Mar 26, 2006 1:52 pm
Forum: FiveWin for CA-Clipper
Topic: Fivewin/3 error
Replies: 7
Views: 4041

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.CH...
by kronos911
Thu Mar 23, 2006 11:07 pm
Forum: FiveWin for CA-Clipper
Topic: Folder scrolling pages
Replies: 1
Views: 1012

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...
by kronos911
Fri Jan 06, 2006 2:36 pm
Forum: FiveWin for CA-Clipper
Topic: GPF in ALLOC_TEXT
Replies: 4
Views: 1846

My stack size is 9500 and heap is 2048. My lnk file is BLINKER INCREMENTAL OFF BLINKER EXECUTABLE CLIPPER E:4096;F:255;SWAPPATH:'c:\windows\temp\';TEMPPATH:'c:\windows\temp\' BLINKER EXECUTABLE COMPRESS 1 //BLINKER EXECUTABLE EXTENDED VERBOSE 2 OUTPUT .\wADI.EXE MAP= .\WADI1.MAP S,A PACKCODE PACKDAT...
by kronos911
Wed Jan 04, 2006 10:45 pm
Forum: FiveWin for CA-Clipper
Topic: error base\1004 and base\1005
Replies: 3
Views: 1772

Could you supply the error log text and the section of code that is creating the error.
by kronos911
Wed Jan 04, 2006 2:01 pm
Forum: FiveWin for CA-Clipper
Topic: GPF in ALLOC_TEXT
Replies: 4
Views: 1846

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 is stran...
by kronos911
Thu Dec 08, 2005 3:12 pm
Forum: FiveWin for CA-Clipper
Topic: Error message in ? lang
Replies: 4
Views: 1514

Thanks for the repley. I'll look into that address to see what is going on ther. Can these GPF messages be made readable. For example putting an OemToAnsi cal around the message text so that it will be displayed correctly.
Thanks again
by kronos911
Wed Dec 07, 2005 3:58 pm
Forum: FiveWin for CA-Clipper
Topic: Error message in ? lang
Replies: 4
Views: 1514

The sample that I was playing with is the fivegen program from /samples/fivegen dir. I only replased the dbfcdx driver with the six3 driver that I have. You can find the exe hete . So far in my other apps the only strange looking error dialogs where when a dll was missing or when tha system is havei...
by kronos911
Tue Dec 06, 2005 11:06 pm
Forum: FiveWin for CA-Clipper
Topic: Error message in ? lang
Replies: 4
Views: 1514

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 handele...
by kronos911
Sat Nov 26, 2005 12:56 pm
Forum: FiveWin for CA-Clipper
Topic: Icon not showing up
Replies: 5
Views: 2822

Ok now this is great. I moved all the IF checks that are between SetResource() and the IF statement for the security chexk into Main2 and now I get the icon back. What gives?
by kronos911
Fri Nov 25, 2005 1:22 pm
Forum: FiveWin for CA-Clipper
Topic: Icon not showing up
Replies: 5
Views: 2822

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...