x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

libsynce on modern linux

Karpour Page Icon Posted 2022-02-01 10:45 PM
#
Avatar image of Karpour
Subscribers
H/PC Philosopher

Posts:
439
Location:
Austria
Status:
Out of curiosity, I downloaded SynCE from https://sourceforge.net/projects/synce/ and attempted to build libsynce, a library replication a lot of what rapi.dll would do on windows.

Surprisingly enough, it worked fine. For anyone who wants to repeat the build:

libsynce is in the core/ folder.
On Ubuntu, the following packages were required:
sudo apt install libtool libglib2.0-dev libdbus-1-dev

Then I ran

./autogen.sh 
make
It worked and I guess the library is now ready to be included in other projects. How that really works I still have to figure out, I'm new to all this C stuff

Edited by Karpour 2022-02-01 11:25 PM
 Top of the page
stingraze Page Icon Posted 2022-02-01 11:13 PM
#
Avatar image of stingraze
H/PC Vanguard

Posts:
3,656
Location:
Japan
Status:
cool!

does this enable C programs to communicate with Windows CE devices? (Remote debug?)
 Top of the page
Karpour Page Icon Posted 2022-02-01 11:24 PM
#
Avatar image of Karpour
Subscribers
H/PC Philosopher

Posts:
439
Location:
Austria
Status:
Exactly, there are all kinds of tools that are based on this, so things like modifying and listing processes, installing cabs, modifying registry, upload/download files, etc can all be done through rapi calls!

While eVC++ can do all these things, it's kind of a pain on modern machines, so being able to use this on modern Linux (or Windows, via WSL) would be neat!
 Top of the page
stingraze Page Icon Posted 2022-02-01 11:42 PM
#
Avatar image of stingraze
H/PC Vanguard

Posts:
3,656
Location:
Japan
Status:
Wow, that will be useful.

Maybe someday someone can make a Windows CE file explorer / debugger with these. (Activesync replacement?) haha
 Top of the page
Karpour Page Icon Posted 2022-02-02 10:54 AM
#
Avatar image of Karpour
Subscribers
H/PC Philosopher

Posts:
439
Location:
Austria
Status:
A lot of this exists, apparently people have been busy creating Linux/Unix tools to sync with CE in the past a lot, see http://cetoys.sourceforge.net/doc/index.html
Ideally I'd be able to compile these for modern Linux, but it will take a while to figure out how, since you can't just apt install most of these packages anymore!

SynCE was last updated in 2018, so I sent a message to the dev!
 Top of the page
stingraze Page Icon Posted 2022-02-03 12:36 AM
#
Avatar image of stingraze
H/PC Vanguard

Posts:
3,656
Location:
Japan
Status:
Thank you for the explanation. It is good to know Windows CE devices are popular (well, a bit) with Linux users. Good luck on your dev journey.
 Top of the page
Karpour Page Icon Posted 2022-02-04 1:44 PM
#
Avatar image of Karpour
Subscribers
H/PC Philosopher

Posts:
439
Location:
Austria
Status:
I put a mirror of the synce project on the HPC:Factor GitHub (which the license permits, of course) for easier browsing, will add some notes in the readme as it's very light on documentation.

https://github.com/HPC-Factor/synce
 Top of the page
Mjolnir Page Icon Posted 2022-02-04 8:15 PM
#
Avatar image of Mjolnir
Factorite (Elite)

Posts:
210
Location:
United States
Status:
@Karpour Thank you.
 Top of the page
stingraze Page Icon Posted 2022-02-06 1:32 AM
#
Avatar image of stingraze
H/PC Vanguard

Posts:
3,656
Location:
Japan
Status:
Thanks, I also saw some more open source projects on HPC:Factor team on GitHub. Thank you for that as well.
-stingraze

Edited by stingraze 2022-02-06 2:09 AM
 Top of the page
Jump to forum:
Seconds to generate: 0.171 - Cached queries : 48 - Executed queries : 28