PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Windows 10 update and Certificate
Windows 10 update and Certificate
Débuté par Sammy Broeders, 22 sep. 2016 15:09 - 17 réponses
Posté le 22 septembre 2016 - 15:09
Hello all,

In my Windev 20 project i use a call with soaprunxml(), it is with a certificate what is installed on the pc. By the call in my app the certificate is shown and the user has to click OK, just like in internet explorere. Works fine, till this morning when a user has the (big) update from Windows 10.
When the certificate should come i have an error 'this program is not working anymore' and it wil close directly.
Is there someone with the same problem?

Thanks,

Sammy
Posté le 22 septembre 2016 - 17:46
This is the error message..
In test modus Windev the same error as by the executable.
[attachment 2163 Knipsel.JPG]
Posté le 22 septembre 2016 - 17:55
By updating my webservice in Windev 20 i get exactly the same error.
[attachment 2164 Knipsel.PNG]
Posté le 23 septembre 2016 - 10:20
Hello Sammy,

Could it be that this certificate is used by another piece off hardware? Something like a card-reader?
Posté le 23 septembre 2016 - 11:18
Hi Frans,

No it is not used by hardware or something.
Just try the code below, than you have this error with the last Windows 10 update.

MyCertificate is Certificate

// Open the certificate picker of Windows
MyCertificate = CertificateSelect()
Posté le 23 septembre 2016 - 14:23
Hi Sammy,

your code works fine here, WD20 and Win10. I get a list of certificates to choose from and the variable is filled with the details as expected.

I'm not sure if I hav the latest Win10 update, or how I can check that, but my laptop did restart a few days ago.
Posté le 23 septembre 2016 - 14:31
Arie,

It is Windows 10, versie 1607
You can see it at the right bottom, there is now an icon as in the picture :xcool:

Thanks,
Sammy
[attachment 2165 Knipsel.JPG]
Posté le 23 septembre 2016 - 14:55
Sammy,

I checked the update centre and 1067 is NOT installed yet. It is scheduled which requires another restart.

Because of the restart (which costs lots of time....) I'm not sure when I will do so. Maybe this weekend and then I will give it another try.
Posté le 23 septembre 2016 - 17:06
Hello Sammy,

We work a lot with certificates. No problem at all.
BUT!!
With the update to w10 1607 wd crashes in testmode
Posté le 23 septembre 2016 - 17:31
Hello Sammy,

In testmode it crashes but when you make the exe it works fine.
Posté le 23 septembre 2016 - 17:39
Frans,

The exe crashes also by me. You use WD20?
Posté le 23 septembre 2016 - 19:15
Sammy,

yes WD20 and I made a new exe to test it.
Posté le 23 septembre 2016 - 19:40
Frans,

The 32 bit exe crashes, even with only this code:

MyCertificate is Certificate

// Open the certificate picker of Windows
MyCertificate = CertificateSelect()
Posté le 23 septembre 2016 - 20:35
Hi Sammy,

Sorry, I have no problem. Just checked it again.
I use : HTTPCertificate(GnCerKeuze)
Posté le 24 septembre 2016 - 10:32
Frans,

This works for me, i have never used this function before!
Thanks!

Sammy
Posté le 27 septembre 2016 - 21:05
Sammy FYI

I have the Windows Anniversary Update installed now and the Certificateselect() function does crash too!!
Posté le 28 septembre 2016 - 08:40
Il se trouve que Arie a formulé :
Sammy FYI

I have the Windows Anniversary Update installed now and the
Certificateselect() function does crash too!!


hello

I'm a french user, please forgive my poor English

Try to associate again the http / https protocol at Internet Explorer
instead of Edge.

Controle Panel / Default Program / Set Default Programs / Internet
Explorer Select / Select the default settings for this program / Tick
the boxes HTTP and HTTPS

--
Cordialement JeAn-PhI
Posté le 28 septembre 2016 - 14:50
As pcsoft is not duplicating back answers made on THEIR forum anymore, I'm copying manually this one, as it may be a solution for your problem:

Sammy FYI

I have the Windows Anniversary Update installed now and the Certificateselect() function does crash too!!


hello

I'm a french user, please forgive my poor English

Try to associate again the http / https protocol at Internet Explorer instead of Edge.

Controle Panel / Default Program / Set Default Programs / Internet Explorer Select / Select the default settings for this program / Tick the boxes HTTP and HTTPS

--
Cordialement JeAn-PhI

------ END OF ANSWER ---

Best regards