Search found 35 matches

by choibakk
29 Jun 2021 2:12
Forum: Visual Prolog
Topic: Custom Control Issue with workaround -- Build 1000
Replies: 1
Views: 389

Custom Control Issue with workaround -- Build 1000

Hello Thomas, The Problem: Add a "textControl" to a custom control, and place the custom control on a main form (formWindow). set the "ForegroundColor" property of the textControl (I use red in my example below). When the custom control's "generatedInitialize()" predica...
by choibakk
17 Jun 2021 16:52
Forum: Visual Prolog
Topic: Cannot use Windows Explorer to ZIP a VIP project using "Object Expressions"
Replies: 4
Views: 610

Re: Cannot use Windows Explorer to ZIP a VIP project using "Object Expressions"

Hi Thomas, I am using Windows 10 Home, Version 10.0.19041. I don't have an 3rd party ZIP tools installed that I am aware of. In Windows Explorer I perform the following tasks: 1. Right-click on the top level project folder (Named "NadyaChess" in my case). 2. On the popup menu, I select &qu...
by choibakk
17 Jun 2021 1:20
Forum: Visual Prolog
Topic: Cannot use Windows Explorer to ZIP a VIP project using "Object Expressions"
Replies: 4
Views: 610

Cannot use Windows Explorer to ZIP a VIP project using "Object Expressions"

Its sounds bazaar, but it is true--at least for my project. When trying to ZIP up a VIP project (mine being 64-bit) from Windows explorer with a project that uses "Object Expressions" (I believe caused by Object Expressions), because the file names generated at compile time in the "de...
by choibakk
14 Jun 2021 1:08
Forum: Visual Prolog
Topic: Problem with gdiplus fontCollection:families property (with workaround code)
Replies: 1
Views: 1014

Problem with gdiplus fontCollection:families property (with workaround code)

PDC, I wanted to use a free TTF windows font to display the chess clock in the GUI display of NADYA3 Chess using an LCD font, and have it loading the font as a private font collection. During the process I found what I believe to be a bug in VIP, but I'll let you decide because I still often times f...
by choibakk
20 May 2021 1:27
Forum: Visual Prolog
Topic: VIP10 - Compiler Core Dump
Replies: 1
Views: 630

VIP10 - Compiler Core Dump

I'm making use of "Object expressions". I ran into the following which causes a compiler core dump. I don't know if this information will be enough. It will take me a bit to isolate this into a separate simple example if it is needed since "movelist_" is a custom highspeed vector...
by choibakk
26 Apr 2021 1:04
Forum: Visual Prolog
Topic: VIP 10 - Linker Message
Replies: 3
Views: 925

Re: VIP 10 - Linker Message

Ty Thomas, and PDC. VP 10 is long awaited and well worth the results.
by choibakk
24 Apr 2021 23:08
Forum: Visual Prolog
Topic: VIP 10 - Linker Message
Replies: 3
Views: 925

Re: VIP 10 - Linker Message

Follow up (04.24.2021) - and edited...

This may be as simple as removing/adding a predicate from an existing *interface* (and implementation) and trying to recompile (assuming the project compiled successfully prior to modifying the interface).

C. Hoibakk
by choibakk
24 Apr 2021 0:29
Forum: Visual Prolog
Topic: VIP 10 - Linker Message
Replies: 3
Views: 925

VIP 10 - Linker Message

In my 64-bit application, I am receiving this linker error every so often: Visual Prolog Linker Version 10 for Windows 32; Build 2021-03-31 12:51:18 Copyright (c) 1997-2021 PDC Internal fatal error 2503: comparePDATA: same RVA in different .pdata Total build time: 0.410 sec Project not built. Perfor...
by choibakk
22 Apr 2021 21:42
Forum: Visual Prolog
Topic: Domain range checking for bitwise operators
Replies: 2
Views: 730

Re: Domain range checking for bitwise operators

Martin,

I had stepped through to see the domain change and the FFFFFF in the upper bytes. Thanks for the clarification on the documentation--I had completely overlooked that line. I hope in the future unsigned8 will be supported as well.

Thanks,
choibakk
by choibakk
22 Apr 2021 1:20
Forum: Visual Prolog
Topic: Domain range checking for bitwise operators
Replies: 2
Views: 730

Domain range checking for bitwise operators

I ran into an issue using the "~~" operator that I have distilled into a simple example question (VP10-64 bit): In C++, I can do something like this: int main() { unsigned char v1 = 0xff; unsigned char v2 = ~v1 + 0x1; printf("%d\n", v2); } In prolog I'm wondering if the following...
by choibakk
21 Apr 2021 21:07
Forum: Visual Prolog
Topic: Vis Prolog 10: problem with isSome
Replies: 2
Views: 769

Re: Vis Prolog 10: problem with isSome

The new version is using some "syntactic sugaring".

You can change your code to:

Code: Select all

        if ErrorMessage = CP:parse():isSome() then
Cheers,
choibakk
by choibakk
18 Apr 2021 19:12
Forum: Visual Prolog
Topic: VIP Version 10!
Replies: 1
Views: 798

VIP Version 10!

Yesterday, I saw VP 10 was available. I purchased the upgrade, and ported NADYA2.1 Chess to VIP10 to test the 64-bit intrinsic bit-wise operators (and memory profiler which is now fixed). I ran my "perft" test suit (a standard algorithm in chess engines) and have processed the correct move...
by choibakk
3 Mar 2021 3:05
Forum: Visual Prolog
Topic: stringFormat can crash application on shutdown
Replies: 3
Views: 996

Re: stringFormat can crash application on shutdown

Thomas, Thanks for the update. Based on what you reported, I reintroduced my code into NADYA3.0 Chess to test if my results were different than yours, and I had your exact same results. If I run the executable outside of the debugger I do not receive the Access Violation. Nothing to worry about. Tha...
by choibakk
25 Feb 2021 21:27
Forum: Visual Prolog
Topic: stringFormat can crash application on shutdown
Replies: 3
Views: 996

stringFormat can crash application on shutdown

CAVEAT: I'm on build 904 due to some of the 64-bit issues on build 906, so will say I have not tried this on build 906. Just reporting the strangest issue I ran into in NADYA3 chess, but can reproduce easily enough in a fresh SDI GUI application. I wanted to reuse the same "stringFormat" i...
by choibakk
26 Jan 2021 20:30
Forum: Visual Prolog
Topic: Memory Questions
Replies: 2
Views: 1091

Re: Memory Questions

Thanks Thomas, The "class facts" was only written that way in the sample, to emphasize the first question. I wrote a vector class that shares some of the code but has no "class" facts. This sample was only used for testing this kind of "direct" memory access for perform...