Search found 18 matches

by Matthias Greving
19 Aug 2010 12:27
Forum: Visual Prolog
Topic: Sporadic errors 205 and 206 with vip 7.2.02
Replies: 10
Views: 3217

Hello Gildas, no, we don't use 3rd party dll's and we distribute the vip dll's with each distribution and the application checks the CRC sum of the application and the dll's on each start of the application. We only have some calls to shellexecute and some other Windows api functions. There could be...
by Matthias Greving
19 Aug 2010 8:29
Forum: Visual Prolog
Topic: Sporadic errors 205 and 206 with vip 7.2.02
Replies: 10
Views: 3217

Hello Gildas,

thanks for your reply, yes I was looking for other suggestions.

But no, I don't uses threads in that application, there is only the main thread.

My problem is that I can not reproduce the errors the users have.

regards
Matthias
by Matthias Greving
18 Aug 2010 13:20
Forum: Visual Prolog
Topic: Sporadic errors 205 and 206 with vip 7.2.02
Replies: 10
Views: 3217

Hello, thanks for your hints. I did a bit of testing and could provoke the issue with the setFont on the canvas. This is an issue (there has been a post about this before http://discuss.visual-prolog.com/viewtopic.php?t=7716 ) but this produces a different error (6002, at least in our application). ...
by Matthias Greving
13 Aug 2010 8:39
Forum: Visual Prolog
Topic: Sporadic errors 205 and 206 with vip 7.2.02
Replies: 10
Views: 3217

Sporadic errors 205 and 206 with vip 7.2.02

Hello, in the last month I got several messages from users who complain about error messages they see in our Prolog application. I contaced them an asked for specifics, but there is no common pattern I could recognize. They all have an application compiled with Visual Prolog 7.2.02. Since the applic...
by Matthias Greving
8 Jul 2010 15:22
Forum: Visual Prolog
Topic: Vip 7.302 issue with findall and [ || ]
Replies: 5
Views: 1922

Hello Thomas,

thank you, your solution works for me too. It is much more elegant than my workaround.
I use the cut for most predicates, just one of my bad habits.

mfg
Matthias
by Matthias Greving
8 Jul 2010 12:58
Forum: Visual Prolog
Topic: Vip 7.302 issue with findall and [ || ]
Replies: 5
Views: 1922

Vip 7.302 issue with findall and [ || ]

Hello, I have converted an old project into a vip7.3 one and stumbled over this issue. In this case findall and the [ || ] construct only find the first item of a list. Here is an example: facts tt : (string) nondeterm. clauses tt("1"). tt("2"). tt("3"). predicates getTT : () -> string_list. clauses...
by Matthias Greving
2 Feb 2010 16:19
Forum: Visual Prolog
Topic: dump in timeInterval
Replies: 3
Views: 1481

Hello, thanks for your reply. I have a work around for this issue, so it is not urgend, but I thought it would be nice to have it solved in a way that it works like before. I know I could split the value beforhand, it is just more convenient to use huge numbers of seconds because the application I u...
by Matthias Greving
27 Jan 2010 16:30
Forum: Visual Prolog
Topic: dump in timeInterval
Replies: 3
Views: 1481

dump in timeInterval

Hello, today I got a dump in Vip7.2 with this line of code I=timeInterval::new(0,0,0,3600.0), I am aware that 3600 second might be unusual, but this line worked in Vip 7.1. It seems to be related to the integer64 calculation in the local predicate setFields(Days, Hours, Minutes, Seconds) in timeInte...
by Matthias Greving
19 May 2009 14:49
Forum: Visual Prolog
Topic: createAtomic vs. createNonAtomic
Replies: 1
Views: 1590

createAtomic vs. createNonAtomic

Hello,

while converting an application into Prolog 7.2 I had to replace my binary::create statementes with createAtomic or createNonAtomic. That led to the question: is there a gideline or golden rule when to use Atomic and when to use NonAtomic space?

mfg
Matthias
by Matthias Greving
19 May 2009 14:14
Forum: Visual Prolog
Topic: Issue with ODBC bind values in Prolog 7.2
Replies: 4
Views: 3146

Hello Thomas,

I have tested your files, now it works fine. Thank you for your support.

mfg
Matthias
by Matthias Greving
18 May 2009 16:03
Forum: Visual Prolog
Topic: Issue with ODBC bind values in Prolog 7.2
Replies: 4
Views: 3146

Issue with ODBC bind values in Prolog 7.2

Hello, I have a problem with the odbc module of Prolog 7.202. I recompiled a program which I had developed in Prolog 7.103 and it produces a runtime error. I have tracked down the issue to the bind variables for strings (the other data types probably work fine) of the insert statement I use. I could...
by Matthias Greving
4 Feb 2009 17:59
Forum: Visual Prolog
Topic: Vip 7.2 listViewControl
Replies: 5
Views: 3024

Hello Alexander, Roland did a lot of testing and found a way he could reproduce it too. When, in debug mode, the run stack window, the fact window and the disassembly window are opend we are now both able to see the issue. If I close all these windows, it works fine on my PC too. I have added the de...
by Matthias Greving
4 Feb 2009 13:36
Forum: Visual Prolog
Topic: Vip 7.2 listViewControl
Replies: 5
Views: 3024

Hello Alexander, I can reproduce it on my PC in every application where I use the listViewControl, I even tried an empty application an put it into the about dialog. Rolanad did try this on his machine and he can't reproduce it. It looks like a problem with my PC, but in Vip 7.103 I don't have this ...
by Matthias Greving
3 Feb 2009 14:57
Forum: Visual Prolog
Topic: Vip 7.2 listViewControl
Replies: 5
Views: 3024

Vip 7.2 listViewControl

Hallo, an other Vip7.2 issue: if I use a listViewControl in any form or dialog, run the application in debug mode, open the form with the listViewControl in it, close the form, close the application, the application hangs and I can't stop it. A stop form the IDE (shift+F5) does not work, I have to k...
by Matthias Greving
3 Feb 2009 14:06
Forum: Visual Prolog
Topic: Vip 7.2 ; bug in getFileVersionInfo
Replies: 1
Views: 2374

Vip 7.2 ; bug in getFileVersionInfo

Hello, today I tried to use fileVersion::getFileVersionInfo to get the version of a dll and got strange results. After some checks I saw that the function is now using 64 bit numbers and somehow the extraction of the version number does not work. I changed the code of the function in my copy of Vip ...