Thanks for new version.
I have a question:
Using choosenim (versione .0.8.4) with: choosenim 2.0.8
it has downloaded nim-2.0.8_x32.zip
I am on Windows 11 (x64).
Wasn't the file supposed to be nim-2.0.8_x64.zip?
@ggibson
sorry if I mention you again but I don't understand how I should replace this
code:
proc freeConnection*(con: ODBCConnection) =
con.disconnect
if con.envHandle != nil:
freeEnvHandle(con.envHandle, con.reporting)
Run
to have destroy ho
Hi,
I'm updating a package that has
new(result, freeConnection)
Run
and the same warning
How should I replace the line to no longer have the warning?
Thanks
Hi,
I'm developing a module which is an interface for an API.
This API is running on an old virtual server Windows 2008.
Calling api with http protocol is all ok.
With the default setting of openssl in Nim, when I use https, there is a
problem in handshaking phase.
Using httpclient the soluti
Thanks for your precise explanation.
Now I have to understand how to adapt example 15 to what I have to do.
Thanks for your reply and your suggestion.
I modified my code and so it works perfectly
I'm trying to use threads because I want to write messages in textArea and
these messages are generated by a proc called by click a button:
import nigui
import std/strformat
import os
var ch: Channel[string]
proc messaggiInTextArea(primoMsg: string) {.thread
My debugging attempt continues:
I add **segfaults module** and now I have this message in console:
Traceback (most recent call last)
C:\Users\mauro_s1nn2ps\.choosenim\toolchains\nim-2.0.2\lib\pure\net.nim(732)
firstRunDigitalisoNim
C:\Users\mauro_s1nn2ps\.choosenim\toolcha
I think that the problem is on this line:
let jsonNode: JsonNode = parseJson(readFile("dns_qsanet.json"))
Run
It is the first line below imports.
I have developed a simple CLI program that, given a URL as an argument, returns
the response time to me.
Since I have to call up sites that are on old servers (windows server 2008 r2),
I had to use an sslContext with CipherSuitesOld.
I compiled it with the -d:ssl -d:openssl10 and -d:release par
Thanks janAkali.
It seemed so strange to me that it didn't work with **CiphersIntermediate**
that it didn't occur to me to try **CiphersOld**.
With `CiphersOld`, it works perfectly
Sorry to bother you, but not finding a solution, I try to ask:
it is correct that if I write:
let client = newHttpClient(sslContext = newContext(protVersion =
protSSLv23, cipherList=CiphersIntermediate, ciphersuites=CiphersIntermediate))
Run
I am setting to use the in
Hi to all.
I add new tests done and now the problem is clearer but I still don't have a
solution:
In my code, as suggested by @janAkali
let client = newHttpClient(sslContext = newContext(protVersion =
protSSLv23))
Run
and compiled with this command:
nim c -d:ssl -d
Yes Mabon, I already compile with -d:ssl
Thanks to reply
I tried protTLSv1 and flag -d:openssl10
I have a curious exception: **No error reported.**
I also tried other combinations between protVersion and flag but in the tested
cases I always got the initial exception.
I definitely need to understand the openssl flag better
Hi to all,
I have this simple code
import std/httpclient, strformat, times
import std/cmdline
let client = newHttpClient()
proc startDigitaliso(url: string) =
let time_start = epochTime()
let msgNonRisponde = "non risponde"
try:
va
Thanks to reply. Now I try to convert from version httpCliet to yahttp.
Hello. If I use yahttp in a project, then should I compile it with -d:ssl?
And it needs to be distributed with library libssl and cacert.pem?
I think so, but I would like to confirm.
Thanks for the great work
Thanks to all. I tried using 2 files (one per window) but to no avail. The
problem is given to me by app.init() which there must only be one and in any
case it must be present when the window is created. Thanks again for the
examples.
Hello, I'm using the NiGUI library.
Does anyone know if there is a way to show a second window by clicking on a
button in the main window?
Do you have any examples to show me to perform this operation?
In the examples present in the project on Github I don't think there is any of
this.
20 matches
Mail list logo