Search found 1245 matches

by Thomas Linder Puls
19 Jul 2021 8:22
Forum: Visual Prolog
Topic: webView2Demo
Replies: 5
Views: 10008

Re: webView2Demo

I am not sure if I understand the problem, but maybe this will help. To show your web form (from your taskWindow ), you will have to make a call like this: WebForm = web::display(This) In the default code a messageForm is displayed in the show-listener, and the aboutdialog is displayed in a menu han...
by Thomas Linder Puls
16 Jul 2021 10:47
Forum: Visual Prolog
Topic: webView2Demo
Replies: 5
Views: 10008

Re: webView2Demo

In an SDI application (with a mainForm ) the "main" code looks like this: clauses run() :- _ = mainForm::display(gui::getScreenWindow()), messageLoop::run(). In an MDI application (with a taskWindow ) then main code looks like this: clauses run() :- TaskWindow = taskWindow::new(), TaskWind...
by Thomas Linder Puls
9 Jul 2021 8:12
Forum: Visual Prolog
Topic: Unifying domains?
Replies: 4
Views: 797

Re: Unifying domains?

Yes, the answer is "No". I took a while to write this mail, so the descriptions matches your first setup (but I still think it is relevant). I fear your are heading in a bad direction overall. The problem is that I believe that a model (being friendly or enemy ) has a lot of other properti...
by Thomas Linder Puls
2 Jul 2021 13:29
Forum: Visual Prolog
Topic: library is corrupt when calling predicates from C/C++ on both 64bit platforms
Replies: 1
Views: 580

Re: library is corrupt when calling predicates from C/C++ on both 64bit platforms

This is a know issue, which we are examining, but don't yet have a solution for. You can however load the DLL dynamically using LoadLibrary in C++, but the details about this must be found in a C++ documentation. Notice that your C++ declaration must have __stdcall modifier (it will not solve this p...
by Thomas Linder Puls
1 Jul 2021 8:26
Forum: Visual Prolog
Topic: Presenters, Symbols, Grammars (WAS: Variables Pending in Debugger Window)
Replies: 3
Views: 636

Re: Presenters, Symbols, Grammars (WAS: Variables Pending in Debugger Window)

I agree that there is nothing wrong with your presenters. And as said I am not sure how much this influences the debugger. This kind of problem has a higher probability to happen in a multithreaded program. I appreciate that speed is your main concern. And I believe that using a canonical object rep...
by Thomas Linder Puls
30 Jun 2021 9:48
Forum: Visual Prolog
Topic: Com Creation
Replies: 1
Views: 553

Re: Com Creation

Given that the object you "really" want is an iDVDoc object this is the safest code for your task:

Code: Select all

        IDisp = App:getDVDoc(Idx),         IDVDoc = comInterface::getFromUnknown(iDVDoc::iid, IDisp),         IDisp:release(),
by Thomas Linder Puls
30 Jun 2021 9:16
Forum: Visual Prolog
Topic: Bit Operations
Replies: 1
Views: 649

Re: Bit Operations

Thank you. We will look at it. The calculation in 64bit is clearly wrong.
by Thomas Linder Puls
30 Jun 2021 8:38
Forum: Visual Prolog
Topic: Presenters, Symbols, Grammars (WAS: Variables Pending in Debugger Window)
Replies: 3
Views: 636

Re: Presenters, Symbols, Grammars (WAS: Variables Pending in Debugger Window)

Very interesting. I am not sure how much of this that has direct influence on the debugger. However we strongly recommend that presenters doesn't have side effects (like asserting facts and the like). The problem is that presenters are called during debugging in any number of times in any order and ...
by Thomas Linder Puls
29 Jun 2021 14:44
Forum: Visual Prolog
Topic: Custom Control Issue with workaround -- Build 1000
Replies: 1
Views: 539

Re: Custom Control Issue with workaround -- Build 1000

What is VPC? Do you mean VIP? (rhetorical questions :-)). Thank you for the feedback. The problem arises because the customControl sets the Container after calling generatedInitialize . clauses new(Parent) :- new(), % call to generatedInitialize setContainer(Parent). It will work, if you remove the ...
by Thomas Linder Puls
29 Jun 2021 13:41
Forum: Visual Prolog
Topic: Variables Pending in Debugger Window
Replies: 7
Views: 947

Re: Variables Pending in Debugger Window

Thank you, we will look at it.
by Thomas Linder Puls
29 Jun 2021 8:17
Forum: Visual Prolog
Topic: Variables Pending in Debugger Window
Replies: 7
Views: 947

Re: Variables Pending in Debugger Window

Hi, Martin. It has to do with a locked critical section. It is an unfortunate possibility after we have switched to "presenters". The debugger needs access to this critical section, but it can be locked by your program (which is unfortunately also braked). We use certain "tricks"...
by Thomas Linder Puls
25 Jun 2021 8:34
Forum: Visual Prolog
Topic: Cannot use Windows Explorer to ZIP a VIP project using "Object Expressions"
Replies: 4
Views: 800

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

Well, I don't have that problem (not for send to compressed folder either).

Moreover, there is normally no reason to zip these files, so I think we will keep them.
by Thomas Linder Puls
25 Jun 2021 8:27
Forum: Visual Prolog
Topic: Shift Operator in Build 1001
Replies: 1
Views: 595

Re: Shift Operator in Build 1001

I did solve this problem, but the solution has mistakenly been reverted. I have solved it again.

As a workaround use:

Code: Select all

U64 = hasDomain(unsigned64, 1) << N,
by Thomas Linder Puls
17 Jun 2021 11:27
Forum: Visual Prolog
Topic: Cannot use Windows Explorer to ZIP a VIP project using "Object Expressions"
Replies: 4
Views: 800

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

Strange my Windows does not have any problems with such file names.

How do you zip the files (what actions)?

Which Windows version are you using?