可以用Ecere实现这样的功能吗?

来自中国的朋友,欢迎您在本版面使用中文讨论问题。请注意,如果您想得到不懂中文的人的帮助,请同时提供英文译文。
Help and discussions in Chinese.
Post Reply
nowind_lee
Posts: 29
Joined: Tue Jul 06, 2010 4:11 am

可以用Ecere实现这样的功能吗?

Post by nowind_lee »

我想用Ecere做一个小的桌面程序,实现这样的功能:

1. 运行后可以截取屏幕上的画面,保存在内存中
2. 可以把截取的图片上传到一个ftp服务器或者通过http上传到某个网站

用Ecere可以做出来吗?麻烦吗?如果打包成可执行文件,体积大吗?

Can Ecece do such things?
I want to create an GUI application, which will:
1. capture a part of the screen, hold it in memory
2. then upload to a ftp server, or some website via http protocol

Can we do it easily with Ecere? If I package the code as an executable file, is the size big?
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: 可以用Ecere实现这样的功能吗?

Post by jerome »

1. Screen Capture

There is a desktop screen capture sample in the samples directory: sdk/guiAndGfx/screenShot

2. Upload

Although only HTTP download is implemented in the Ecere runtime, you can use the Socket classes to implement your ftp and/or http upload code.

Certainly Ecere can do all this easily enough.
Ecere applications executable size is quite small, and Ecere can also be linked statically and unused portions of Ecere (e.g. the 3D engine, graphical file formats support, etc.) can be omitted for an even smaller size. You can fit everything in a 700k executable, with no external dependencies.'

Now the only worry I have, does this have malicious intent? What you want to do has a spyware tone to it :shock:
nowind_lee
Posts: 29
Joined: Tue Jul 06, 2010 4:11 am

Re: 可以用Ecere实现这样的功能吗?

Post by nowind_lee »

:D :D

Of course not. I'm planning to create an application to let people easily capture screen and upload to his blog orforum.
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: 可以用Ecere实现这样的功能吗?

Post by jerome »

I feel reassured :D

I would hate that the only few Ecere apps out there are spyware :D
Post Reply