Search found 572 matches

by JCV
Thu Mar 27, 2025 9:04 am
Forum: Announcement
Topic: Solis Hybrid Inverter S6 (via modbus rs485)
Replies: 1
Views: 1910

Solis Hybrid Inverter S6 (via modbus rs485)

Here's my working code to read the Solis Hybrid Inverter S6 data.
I tested on S6-EH1P6K-L-PRO connected via modbus RS485 serial connection.

; Supports Solis Hybrid Inverter S6
; Connecting to hybrid inverter via port RS485 modbus
; Not tested on other models but probably needs changing the ...
by JCV
Tue May 18, 2021 12:03 pm
Forum: Off Topic
Topic: Black Forum Theme
Replies: 6
Views: 6024

Re: Black Forum Theme

I'm using Dark Reader plugin. It works ok for almost all sites.
https://darkreader.org/
by JCV
Thu Oct 24, 2019 7:32 am
Forum: General Discussion
Topic: SpiderBasic
Replies: 15
Views: 9147

Re: SpiderBasic

Not sure where to put this (if in the wrong place, then mods, feel free to move it!) but I wonder: how many people do use PureBasic AND SpiderBasic?

(I am actually considering dabbling a bit in SpiderBasic, so I'd like find out the experience of other PureBasic / SpiderBasic combo users...)


Hi ...
by JCV
Mon Oct 05, 2015 9:38 pm
Forum: Coding Questions
Topic: Why won't the PB executable run?
Replies: 13
Views: 3557

Re: Why won't the PB executable run?

I always send apps in outlook but I compress it first using winrar in "rar" format.
If the app fails to run it might be the antivirus that prevents it or any other security software.
by JCV
Thu Oct 01, 2015 9:12 am
Forum: Applications - Feedback and Discussion
Topic: zBin Packer SDK - Crossplattform
Replies: 23
Views: 19710

Re: zBin Packer SDK - Crossplattform

Thanks DK5UR! It did the trick.
by JCV
Thu Sep 24, 2015 7:31 am
Forum: Applications - Feedback and Discussion
Topic: zBin Packer SDK - Crossplattform
Replies: 23
Views: 19710

Re: zBin Packer SDK - Crossplattform

Hi Thomas, its still crc error. It only happens when reading *.ico files in zbin. I'm testing the gui unpacker code.
\FileInfo(Number-1)\crc
negative value when reading *.ico in zBinUnpack_CatchFile. Reading png is ok.
by JCV
Wed Sep 23, 2015 8:52 pm
Forum: Applications - Feedback and Discussion
Topic: zBin Packer SDK - Crossplattform
Replies: 23
Views: 19710

Re: zBin Packer SDK - Crossplattform

I tried to update the code to PB 5.4 Beta but I'm getting crc error when reading *.ico files but ok with png in zbin file. Any idea?

UseMD5Fingerprint()
;If MD5Fingerprint(*keybuffer, #zBin_HASH_Size) <> PeekS(@\Header\HASH[0], -1, #PB_Ascii)
If Fingerprint(*keybuffer, #zBin_HASH_Size, #PB_Cipher ...
by JCV
Fri Sep 18, 2015 10:01 am
Forum: Tricks 'n' Tips
Topic: Pushbullet
Replies: 11
Views: 8558

Re: Pushbullet

Your code is fine, do you make a version without curl with PureBasic 5.40?
Hi, i used the static curl library used by https feature of PB 5.4 beta. No curl program or dll needed.
My 5.4 version is not yet complete but you can easily improve. Check my above post.
http://www.purebasic.fr/english ...
by JCV
Thu Sep 17, 2015 5:12 am
Forum: Tricks 'n' Tips
Topic: Pushbullet
Replies: 11
Views: 8558

Re: Pushbullet

@Kiffi
Here's my partial code I made. .

@dige
sorry i didn't notice your reply. There are many uses for pushbullet. I used it for my programs running in server and send commands on all of it.
Eg. In pushbullet app in your mobile phone, you can send command to shutdown all of them or run certain ...
by JCV
Wed Sep 16, 2015 10:17 am
Forum: Announcement
Topic: PureBasic 5.40 LTS beta 10 is out !
Replies: 213
Views: 93160

Re: PureBasic 5.40 LTS beta 3 is out !

Just wondering which library has increased in size. Maybe he used http library that now uses curl?
I'm using before curl dll but now no need. 200kb is small compared to added feature.

http://www.purebasic.fr/english/viewtop ... 36#p470736
by JCV
Sun Sep 06, 2015 5:25 am
Forum: Feature Requests and Wishlists
Topic: *buffer = cURL(params.s)
Replies: 9
Views: 5829

Re: *buffer = cURL(params.s)

Hi RichAlgeni, i was referring to the statically linked curl in PB Beta so we don't need to bundle the dll.

After adding this line polink error is gone.
CompilerSelect #PB_Compiler_OS
CompilerCase #PB_OS_Windows
ImportC "ws2_32.lib"
EndImport
CompilerEndSelect


Here's the full code its now ...
by JCV
Sat Sep 05, 2015 9:09 pm
Forum: Feature Requests and Wishlists
Topic: *buffer = cURL(params.s)
Replies: 9
Views: 5829

Re: *buffer = cURL(params.s)

How do you do it in windows?
Im getting Polink errors.
by JCV
Mon Jul 20, 2015 7:08 am
Forum: Off Topic
Topic: PB is fun
Replies: 2
Views: 2526

Re: PB is fun

I was looking for a simple image matching library and I found opencv template matching. I saw many questions in stackoverflow about opencv template matching regarding many false detection for transparent images but failed to find a simple solution which doesn't require some additional image ...
by JCV
Sun Jul 19, 2015 7:12 pm
Forum: Off Topic
Topic: PB is fun
Replies: 2
Views: 2526

PB is fun

Besides using PB for most of our utilities in construction like generating scripts for autocad, analysing xlsx files to database, automated tools, etc..
I have a lot of spare time during Ramadan so I created something which interest me and at the same time learning how image recognition works.
I ...
by JCV
Tue May 19, 2015 9:09 pm
Forum: Coding Questions
Topic: Best Way to sendkeys and mouse click, rightclick, etc ?
Replies: 4
Views: 3223

Re: Best Way to sendkeys and mouse click, rightclick, etc ?

This is what I use to send left mouse click to a window by coordinates.


Macro MAKELPARAM(x, y)
(y<<16) | x
EndMacro

Procedure Click(x, y, times = 1, speed = 0)
If times > 1
times - 1
For i = 0 To times
If hWnd
Debug "click (" + Str(x) + "," + Str(y) + ") : " + Str(i)
PostMessage_(hWnd ...