Search found 73 matches

by mdosnov2016
10 Nov 2017 16:20
Forum: Visual Prolog
Topic: how do I increase the stack limit
Replies: 21
Views: 6220

Exception 0xC00000FD: Stack Overflow,
at address: 0x1401F03A4 First Chance Continuable
by mdosnov2016
10 Nov 2017 16:13
Forum: Visual Prolog
Topic: how do I increase the stack limit
Replies: 21
Views: 6220

how do I increase the stack limit

I have reached the stack limit (with 64-bit build version!).
How do I increase the stack in VP8 environment?
this is example run that was passing from 5.2 version.
by mdosnov2016
2 Nov 2017 17:14
Forum: Visual Prolog
Topic: error: invalid handle
Replies: 16
Views: 4204

pfc\windowsApi\fileSystem_api\fileSystem_api.pro(455,13)

is not my own code and I don't understand it to find out where it was called from.
by mdosnov2016
31 Oct 2017 21:00
Forum: Visual Prolog
Topic: error: invalid handle
Replies: 16
Views: 4204

---------------------------------------- Internal API function call failed Predicate name = writeFile SourceCursor = pfc\windowsApi\fileSystem_api\fileSystem_api.pro(455,13) userMessage = The handle is invalid. ErrorDescription = The handle is invalid. ErrorCode = 6 ErrorCodeHex = 00000006 API funct...
by mdosnov2016
31 Oct 2017 20:59
Forum: Visual Prolog
Topic: error: invalid handle
Replies: 16
Views: 4204

The system behaves in an unstable way.
The first time I run the exe from the console after build everything is going OK.
Also, when I run it from within the debugger is OK too.
Second and so on times from the console (cmd windows 10) it produces write_file
errors (invalid handle).
by mdosnov2016
31 Oct 2017 9:06
Forum: Visual Prolog
Topic: error: invalid handle
Replies: 16
Views: 4204

Please ignore my previous message, the errors I get from my newest project version are the following: ------------------------------------------------------------------------------ The handle is invalid. ---------------------------------------- Internal API function call failed Predicate name = read...
by mdosnov2016
31 Oct 2017 8:41
Forum: Visual Prolog
Topic: error: invalid handle
Replies: 16
Views: 4204

this is the error I get when I run from console the .exe. ---------------------------------------- The file is not open Predicate name = checkOutputSelector SourceCursor = pfc\5xVIP\5xFile\file5x.pro(332,9) symbolic name = screen fileNotOpen (file5x_exception) in file5x::checkOutputSelector --------...
by mdosnov2016
31 Oct 2017 8:22
Forum: Visual Prolog
Topic: error: invalid handle
Replies: 16
Views: 4204

I 've done all that but no luck still the same cituation (and this is a brand new project, structured exactly like VP8's projects). I 've noticed that "resourceIdentifiers.i" is empty and pfc\\resourceidentifiers.ph doesn't exist. but correcting this didn't help at all either. I am really confused. ...
by mdosnov2016
29 Oct 2017 16:28
Forum: Visual Prolog
Topic: error: invalid handle
Replies: 16
Views: 4204

There must be some problem with the screen predicates.
I set up a brand new project and inserted my code. I get relocation problems.
Shall I segment the code into .cl and .pro files?
Does it matter that I have everything into backend.pack? But that is what I got from migration tool.

Michael
by mdosnov2016
29 Oct 2017 6:35
Forum: Visual Prolog
Topic: error: invalid handle
Replies: 16
Views: 4204

This is part of my top-level code: ----------------------------------------------------- generate_top() :- file5x::writedevice(fileSelector::screen), file5x::write(" backend HLS CCC optimization started, please wait..."), file5x::existfile("ITF_FACT.DBA"), ... run() :- generate_top, ! or console::wr...
by mdosnov2016
28 Oct 2017 21:57
Forum: Visual Prolog
Topic: error: invalid handle
Replies: 16
Views: 4204

error: invalid handle

Hi. I get some error when I run my .exe from the command line: ---------------------------------------- Internal API function call failed Predicate name = readFile SourceCursor = pfc\windowsApi\fileSystem_api\fileSystem_api.pro(432,13) userMessage = The handle is invalid. ErrorDescription = The hand...
by mdosnov2016
28 Oct 2017 21:54
Forum: Visual Prolog
Topic: facts database in vp8
Replies: 24
Views: 6201

I did some restructuring and it seems that consult is working OK now.
thanks,
Michael
by mdosnov2016
25 Oct 2017 8:49
Forum: Visual Prolog
Topic: facts database in vp8
Replies: 24
Views: 6201

Dear Thomas I am doing exactly the same as you, and showBadTerms proceeds ok until the middle of local_object(local_object( facts (it asserts them ok) but then sunddenly it interrupts and issues error: invalid handle. I also tried the same dba file with fullstops (.) at the end of each line, and I g...
by mdosnov2016
24 Oct 2017 7:38
Forum: Visual Prolog
Topic: facts database in vp8
Replies: 24
Views: 6201

the
S = IS:readLine(),

doesn't work,
further down I added:

console::write(" the fact I read is : ", S),

and I get the attached file terminal output:

Michael
by mdosnov2016
24 Oct 2017 7:18
Forum: Visual Prolog
Topic: facts database in vp8
Replies: 24
Views: 6201

thank you, but your code doesn't seem to work.
It gives me the error from the first line of the databse.
I attach here the sample dbase (confidentially).
Michael