Search found 77 matches

by Jan de Lint
18 Apr 2014 8:21
Forum: Visual Prolog
Topic: VPcURL package on 64 bit
Replies: 24
Views: 12877

You can find the downloads here This will lead you to for instance: zip Replace the dlls in your installation with the ones you can find in the dll directory of the zip. The dlls should go in the same directory as your applications exe. Version 7.36 is a level far beyond the one I use. If this doesn...
by Jan de Lint
17 Apr 2014 18:28
Forum: Visual Prolog
Topic: VPcURL package on 64 bit
Replies: 24
Views: 12877

Hi Tonton, I work with 64 bits windows all the time. You mean windows 7? Before I switched to 8 it worked there as well. Haven't updated the curl dll for quite some time though. I use libcurl/7.20.1 OpenSSL/0.9.8n zlib/1.2.5 This reminds me that perhaps OpenSSL needs to be updated? Heartbleed??? I d...
by Jan de Lint
4 Feb 2014 9:00
Forum: Visual Prolog
Topic: Sending HTML mails with pictures
Replies: 4
Views: 3008

Indeed, thanks!
]an
by Jan de Lint
27 Apr 2011 20:25
Forum: Visual Prolog Tips & Samples
Topic: VPcURL revised
Replies: 6
Views: 8828

stdIO::write("\nHttp responsecode: ", ResultCode), should be replaced by something like: write_to_ui("\nHttp responsecode: ", ResultCode), Where write_to_ui is as follows: class predicates write_to_ui : (...). % the ellipsis are real! clauses write_to_ui(...) :- applicationwindow::get():postaction(...
by Jan de Lint
22 Feb 2011 20:42
Forum: Visual Prolog Tips & Samples
Topic: VPcURL package.
Replies: 6
Views: 14542

by Jan de Lint
13 Oct 2010 11:25
Forum: Visual Prolog Tips & Samples
Topic: VPcURL revised
Replies: 6
Views: 8828

Housekeeping

The following Curl commands are now given automatically: curl_easy_init() curl_easy_cleanup() curl_formfree() % free a previously built form POST curl_slist_free_all() % frees a whole curl_slist as made with curl_slist_append() They have been removed from the VPcURL interface. Also, do NOT use any o...
by Jan de Lint
10 Oct 2010 10:38
Forum: Visual Prolog Tips & Samples
Topic: VPcURL revised
Replies: 6
Views: 8828

callback

Callback. All constructors need a callback. The callback is performed after Curl has made a transfer to/from the URL. The function domain of a callback is connectionReturnHandlerP = (curlcode Returncode, vPcURL Connection) procedure. The returncode lets you decide whether you want to trust the resul...
by Jan de Lint
7 Oct 2010 19:28
Forum: Visual Prolog Tips & Samples
Topic: VPcURL revised
Replies: 6
Views: 8828

Constructors and URL's

There are four types of constructors: Conn = vPcURL::new(http_download_next) % get result in memory Conn = vPcURL::new("tkal2009.css", http_download_next) % get result in a file Conn = vPcURLforeground::new(http_download_next) % get result in memory Conn = vPcURLforeground::new("tkal2009.css", http_...
by Jan de Lint
6 Oct 2010 19:28
Forum: Visual Prolog Tips & Samples
Topic: VPcURL revised
Replies: 6
Views: 8828

VPcURL revised

class predicates http_simple_next : vPcURL::connectionReturnHandlerP. clauses http_simple() :- % http simple download C1 = vPcURL::new(http_simple_next), C1:curl_easy_setopt(cURLOPT_URL, s("http://192.168.178.24/tkal2009.css")), C1:curl_easy_perform(). http_simple_next(_Returncode, Conn) :- Content...
by Jan de Lint
19 Sep 2009 12:45
Forum: Visual Prolog Tips & Samples
Topic: VPcURL package.
Replies: 6
Views: 14542

Fixed broken Http post functions (broken since 7.2). Http post housekeepingand curl_formadd interface simplified. Unfortunately libcurl and other dll's are not included due to lack of space. You can however use one of the Windows Curl dll's available from the Curl download page. A lib file is not re...
by Jan de Lint
11 Sep 2009 10:32
Forum: Visual Prolog
Topic: Creating a simple graph
Replies: 6
Views: 4741

I just learned about the QGoogleVisualizationAPI
Perhaps even more fun!
If succesful I'll extend the examples in the VPcURL package.
]an
by Jan de Lint
11 Sep 2009 7:58
Forum: Visual Prolog
Topic: Creating a simple graph
Replies: 6
Views: 4741

Hi Paul,
this was not fun, but it is improving :-)
Thanks,
]an
by Jan de Lint
10 Sep 2009 9:28
Forum: Visual Prolog
Topic: Creating a simple graph
Replies: 6
Views: 4741

Thanks Kari, I'll try to explore the possibilities along the lines you suggest. The VIP picturedraw example provides the opposite from what I need. The example assumes BMP and JPG files on disk and displays them on the screen. OpenGL and the likes seem to be a bit heavy for my purpose, to use an und...
by Jan de Lint
9 Sep 2009 15:52
Forum: Visual Prolog
Topic: Creating a simple graph
Replies: 6
Views: 4741

Creating a simple graph

Dear all,
how does one create a simple graph in BMP or PNG format?
GDI+?
Can a metafile.emf simply be converted?
I need to output some performance characteristics graphically.
Thanks,
]an
by Jan de Lint
12 Apr 2008 19:22
Forum: Visual Prolog Tips & Samples
Topic: custom control : scintilla editor
Replies: 9
Views: 14251

I don't get this error but then I'm on 7103 CE.
The improvements from 7.0 to 7.1 are very slick.
I use scintilla for the line-wrap feature. As far as I know this is not availble with the standard controls.
]an