Search found 114 matches

by sartic
Tue Jul 25, 2023 6:47 am
Forum: Linux
Topic: Debian GNU/Linux 9 (stretch) (x86_64) & FTP
Replies: 3
Views: 1206

Re: Debian GNU/Linux 9 (stretch) (x86_64) & FTP

Thx, I migrate to 64bit project now. It works.
by sartic
Fri Jul 21, 2023 10:51 am
Forum: Linux
Topic: Debian GNU/Linux 9 (stretch) (x86_64) & FTP
Replies: 3
Views: 1206

Debian GNU/Linux 9 (stretch) (x86_64) & FTP

I return to programming on Linux. FTP is not working in Debian GNU/Linux 9 (stretch) (x86_64).
I get error in openftp and sendftp. Code is 32bit and I was using 5.62 x86. Everything else gives me dependency error glibc.
What is solution? Everything in code works except ftp. When I use bash script ...
by sartic
Thu Mar 04, 2021 7:40 pm
Forum: Coding Questions
Topic: How to convert this procedures to unicode PB? (base64)
Replies: 5
Views: 1032

Re: How to convert this procedures to unicode PB? (base64)

if i check with:
https://www.base64encode.org
i get different results
i am stumbled

i just need working code from pb 5.46 that worked in ascii
by sartic
Thu Mar 04, 2021 7:23 pm
Forum: Coding Questions
Topic: How to convert this procedures to unicode PB? (base64)
Replies: 5
Views: 1032

Re: How to convert this procedures to unicode PB? (base64)

This code works in pb 5.46
Fred change something
I cant get it alone.
by sartic
Thu Mar 04, 2021 7:01 pm
Forum: Coding Questions
Topic: How to convert this procedures to unicode PB? (base64)
Replies: 5
Views: 1032

How to convert this procedures to unicode PB? (base64)

Procedure.s to64(str.s)
str=Left(str,512)
Encoded.s=Space(1024)
If Base64Encoder(@str, StringByteLength(str), @Encoded, 1024)
ProcedureReturn Encoded
Else
ProcedureReturn "greska, random broj="+Str(Random(999999999))
EndIf
EndProcedure

Procedure.s from64(str.s)
str=Left(str,512 ...
by sartic
Mon Feb 26, 2018 8:22 pm
Forum: Coding Questions
Topic: How to get version of .exe file ?
Replies: 2
Views: 1489

How to get version of .exe file ?

I am talking about file version and product version when you hit properties/details on .exe file.
by sartic
Sun Dec 18, 2016 7:18 am
Forum: Windows
Topic: invalid memory access on closewindow (not every time) ?
Replies: 9
Views: 5139

Re: invalid memory access on closewindow (not every time) ?

i solved it (i hope :)
only when i add delay before finishhttp error is gone in compile/run and in compiled exe
by sartic
Fri Dec 09, 2016 5:29 pm
Forum: Windows
Topic: how to connect to sql express 2005/2018/2014 ?
Replies: 4
Views: 3874

Re: how to connect to sql express 2005/2018/2014 ?

it is local.i will explore it this weekend if i solve problem with crush in closewindow()
by sartic
Thu Dec 08, 2016 10:39 am
Forum: Windows
Topic: how to connect to sql express 2005/2018/2014 ?
Replies: 4
Views: 3874

how to connect to sql express 2005/2018/2014 ?

please post example. thx
by sartic
Tue Dec 06, 2016 9:01 am
Forum: Windows
Topic: invalid memory access on closewindow (not every time) ?
Replies: 9
Views: 5139

Re: invalid memory access on closewindow (not every time) ?

netmaestro wrote:You have to process window events. Even if you're not going to act on them, there has to be at least a WindowEvent() in there or it'll eventually crash.
no luck, crush on closewindow(again not every time):
[08:55:53] [ERROR] Invalid memory access. (read error at address 4294967295)
by sartic
Mon Dec 05, 2016 11:46 am
Forum: Windows
Topic: invalid memory access on closewindow (not every time) ?
Replies: 9
Views: 5139

Re: invalid memory access on closewindow (not every time) ?

netmaestro wrote:You have to process window events. Even if you're not going to act on them, there has to be at least a WindowEvent() in there or it'll eventually crash.
thx
by sartic
Sun Dec 04, 2016 2:34 pm
Forum: Windows
Topic: invalid memory access on closewindow (not every time) ?
Replies: 9
Views: 5139

Re: invalid memory access on closewindow (not every time) ?

how do you expect anyone to help you, without providing any code? there could be a billion reasons for an invalid memory access.

c ya,
nco2k

Procedure.q ReceiveHTTPFile_(p_url.s,p_file.s)
p_download.q=0
p_width=512
p_height=30
p_progress=0
p_f.f=0
p_size.q=0
p_window=0

If p_size<=0 ...
by sartic
Sun Dec 04, 2016 12:56 pm
Forum: Windows
Topic: invalid memory access on closewindow (not every time) ?
Replies: 9
Views: 5139

Re: invalid memory access on closewindow (not every time) ?

Mistrel wrote:Are you using with threads without enabling the thread safety compiler option?
no threads. code is in procedure.
by sartic
Sun Dec 04, 2016 11:48 am
Forum: Windows
Topic: invalid memory access on closewindow (not every time) ?
Replies: 9
Views: 5139

invalid memory access on closewindow (not every time) ?

code is simple
procedure that downloads file http asynchronous to disk
it shows progress in bar and when download is finished it close window
i am using finishhttp on http success and aborted before closing window

what can be reason? tried 5.43 and 5.44b4 32 bit on win10 64bit

compiled exe doesn't ...
by sartic
Mon Aug 29, 2016 3:57 pm
Forum: Coding Questions
Topic: javascript example plus cgi on server. next step is...
Replies: 0
Views: 1069

javascript example plus cgi on server. next step is...

I learn how to pass parameters to my app on server (test example is server lighttpd with enable cgi support and javascript form in browser).
I can even send binary files (example uploading images to server and resizing before saving in archive).
Next step is pretty output. I have raw text only with ...