Discussions related to Visual Prolog
User avatar
Tonton Luc
VIP Member
Posts: 204
Joined: 16 Oct 2001 23:01

Unread post by Tonton Luc »

Hi,

My libcurl application works fine on XP machine but not on Seven 64 bits : do I need to install something else before to use libcurl.dll on Seven ?
User avatar
Jan de Lint
VIP Member
Posts: 83
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint »

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 don't use SSL myself. So perhaps you should accuire a new set of dlls from curl?
Which levels do you use?

]an
User avatar
Tonton Luc
VIP Member
Posts: 204
Joined: 16 Oct 2001 23:01

Unread post by Tonton Luc »

Hi Jan,

Yes I mean Windows 7.

Can you explain me what I need to install in my machine please ?
User avatar
Jan de Lint
VIP Member
Posts: 83
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint »

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't work install the command line version (the msi package) and try that first.
]an
User avatar
Tonton Luc
VIP Member
Posts: 204
Joined: 16 Oct 2001 23:01

Unread post by Tonton Luc »

Hi Jan,


I put the dLL from your zip in the same folder of my application and I've always the same error :

Code: Select all

clauses     curl_global_init() :-         global_initialized = false,         _ = curl_api::curl_global_init(3),  %!!! HERE !!! VPcURL.pro(97)         global_initialized := true, !.     curl_global_init().
What's wrong ?
User avatar
Jan de Lint
VIP Member
Posts: 83
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint »

This is typically a warning that a dll is missing.

I think you need to copy all dlls:
libcurl.dll
libssl32.dll
libeay32.dll
zlib1.dll
msvcr120.dll
ssleay32.dll

Regards,
]an
User avatar
Tonton Luc
VIP Member
Posts: 204
Joined: 16 Oct 2001 23:01

Unread post by Tonton Luc »

Hi,

I've copying all dll in the same folder of my application + in C:\Windows\System32 + in C:\Windows\SysWoW64 but I've always the same error.
:shock:

And when I try to make a regsvr32, I've a message : "entry point DLLRegisterServer is not found".
User avatar
Jan de Lint
VIP Member
Posts: 83
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint »

I think they should only be in your apps exe folder.
That is how it works in my case.

]an
User avatar
Jan de Lint
VIP Member
Posts: 83
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint »

Here the dlls I use currently in a zip of 32 bit dlls
]an
Last edited by Jan de Lint on 21 Apr 2014 8:32, edited 1 time in total.
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

If you run a 32bit program the DLL's must also be 32bit and if you run a 64bit program the DLL's must also be 64bit. Unfortunately, there is no simple way to determine whether a program or DLL is 32bit or 64bit.
Regards Thomas Linder Puls
PDC
User avatar
Jan de Lint
VIP Member
Posts: 83
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint »

Vpicurl stems from the pre 64 bit area. Haven't explored the 64 bit possibilities at all.
I run 32 bit vpi and 32 bit curl dlls in 64 bit windows.
If you would like to make 64 bit vpicurl you are on your own - it should be possible though.
The curl dll download page clearly marks the dlls 32 bit or 64 bit.
]an
User avatar
Tonton Luc
VIP Member
Posts: 204
Joined: 16 Oct 2001 23:01

Unread post by Tonton Luc »

Hi,

Sorry but I don't understand what I do.
You said :
I run 32 bit vpi and 32 bit curl dlls in 64 bit windows
: why my VP7.2 application + 32 bits cURL dLLs doesn't works on my Windows Seven 64 bits machine ?

I've tried to recompil my VP7.2 application on my 64 bits machine + cURL dLLs 64 bits on the same folder => and I've always the same error message (like in my previous post).

Does a VP 7.2 project installed in a 64 bits machine generate a 64 bits applications inevitably ? ...or do I need to switch something in my VDE ?
User avatar
Jan de Lint
VIP Member
Posts: 83
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint »

Hi Tonton
There is no need to change anything according to my experience. No 64 bit compilation no 64 bit dll's, no nothing.
My guess is that you have a dll missing.
However I'm on 7.4 perhaps that could be a difference????
As I recall I had to change things from 7.2 through 7.4 in the code!
Regards,
]an
User avatar
Tonton Luc
VIP Member
Posts: 204
Joined: 16 Oct 2001 23:01

Unread post by Tonton Luc »

Hi Jan,

Can you send me one of your little 32 bits application + curl dLLs 32 bits to test in my 64 bits machine please ? ...because I really don't understand whats wrong.
User avatar
Jan de Lint
VIP Member
Posts: 83
Joined: 6 Mar 2000 0:01

Unread post by Jan de Lint »

Could you send me your source and I will make it work.
In VIP 7.4 that is.
]an
Post Reply