Search found 12 matches

by sbishop61
31 May 2022 13:49
Forum: Visual Prolog
Topic: Non-determ predicates implimented in foreign code
Replies: 1
Views: 1552

Non-determ predicates implimented in foreign code

Is there a way to impliment non-determ predicates in foreign languages?

I imagine it would need some way of informing the foreign languages of Initial call, Redo call and Terminate call; or similar.
by sbishop61
31 May 2022 13:22
Forum: Visual Prolog
Topic: IDE/Linker changing path
Replies: 2
Views: 1738

Re: IDE/Linker changing path

Thank you Thomas.
My project is x64. I think I get it - apart fom the <dll> example you gave, which looks the best solution for me. Please would you clarify the decalarion in the code and awhere/how the <dll> directory or the .lib file is added to the project.
by sbishop61
27 May 2022 17:40
Forum: Visual Prolog
Topic: IDE/Linker changing path
Replies: 2
Views: 1738

IDE/Linker changing path

I am trying to use a foreign DLL (rust in this case) I add the .lib file to the project. File Name: callrust\rustdll.dll.lib Name: rustdll.dll.lib Path: D:\VIP\rust_Direst\callrust\ When I build, the IDE seems to change the path by adding 64 to the subdirectory. fatal error lnk2506 : : Cannot open f...
by sbishop61
30 Sep 2021 18:02
Forum: Visual Prolog
Topic: RDF/OWL
Replies: 2
Views: 4899

Re: RDF/OWL

Thomas,
Thank you. I know of the JSON class in PFC. It was RDF and OWL part that I was looking for.
Regards,
Stephen
by sbishop61
30 Sep 2021 13:18
Forum: Visual Prolog
Topic: RDF/OWL
Replies: 2
Views: 4899

RDF/OWL

I would like to experiment with OWL schemas and RDF schemas and triples etc.
Before I try building from scratch I though I would ask whether anyone either has a VIP package/library, or whether PDC plan on anything (in CE PFC) that might assist, perhaps JSON-LD RDF serialization.

regards,
Stephen
by sbishop61
2 Sep 2021 8:01
Forum: Visual Prolog
Topic: DeRegistering before a Windows 10 reset
Replies: 4
Views: 4607

Re: DeRegistering before a Windows 10 reset

When upgrading within a release: 1000ce to 1002ce, which says I have to deinstall before installing the 'upgrade'; should I also deregister and reregister?

Regards,
Stephen
by sbishop61
29 Jun 2021 22:17
Forum: Visual Prolog
Topic: Com Creation
Replies: 1
Views: 20244

Com Creation

I have used the comWrapper tool to create class and interfaces for an comDispInterface (automation) server. The wrapped classes have zero arity constructors. One of the classes returns an iDispatch object of the second class type. How do I create the class object from the iDispatch object? class DVD...
by sbishop61
11 Jun 2021 10:35
Forum: Visual Prolog
Topic: Prodoc error
Replies: 1
Views: 9476

Prodoc error

I am trying to use prodoc.exe to build documentation of the PIE project in the examples. The @filename, PIE10Doc.txt, contains: -2 -d "C:\Users\steph\Documents\Visual Prolog 10CE Examples\pie" -c *.png -r -o sab -e prodoc-err.log -v -db sab.dba -b sab\pie_cl.htm -y *.cl *.i and the result ...
by sbishop61
29 May 2021 15:36
Forum: Visual Prolog
Topic: An Object 'pointer' - how to store references to objects
Replies: 1
Views: 2415

An Object 'pointer' - how to store references to objects

I am sorry to ask such a basic question, but I have tied myself in knots over this. I would like to have an object that has a reference (pointer) to another object, not an embedded copy of the object. In fact a list of pointers to objects something like tuple(classname, objectref)* I probably haven'...
by sbishop61
18 May 2021 9:54
Forum: Visual Prolog
Topic: IDE: intellisense autocomplete PFC classes
Replies: 1
Views: 2430

IDE: intellisense autocomplete PFC classes

I am probably making a basic mistake, but I was hoping that the IDE would provide autocomplete popups with PFC classes etc. For example I add the Web/json package to the project and build. That adds in all of the required packages. In the editor in a .pro file I type in JSON = jsonObject:: and it do...
by sbishop61
9 May 2021 10:02
Forum: Visual Prolog
Topic: Using generated LALRGen parser as Scilexer
Replies: 2
Views: 2790

Using generated LALRGen parser as Scilexer

HI,
coming back to VIP after many years Vip6CE.
I was wondering whether/how you can use a generated parser as a Scilexer for the edit control?
I would like to use a generated parser:
  • Parse text in editor window with error reporting
    Colour/format text in window
    Both on opening a file and on a change