Search found 212 matches

by samsam598
Fri Sep 20, 2013 6:23 am
Forum: eC Language
Topic: SearchString.matchWord to UTF16(Chinese characters)
Replies: 2
Views: 26199

SearchString.matchWord to UTF16(Chinese characters)

Times again I did a small practice program on SearchString,it works fine.But till recent I found it does not work as expected to Chinese characters when the matchWord's set or not. Given below program,matchWord works fine when the source string and the string been found are English characters.But wh...
by samsam598
Wed Sep 18, 2013 11:48 pm
Forum: GUI Toolkit & 2D Graphics
Topic: SmartOpenFile issue [OP]EditBox.HasXXScroll issue
Replies: 16
Views: 132050

Re: SmartOpenFile issue [OP]EditBox.HasXXScroll issue

Appreciated.SmartFileOpen actually's done a great job.Even using some down and dirty c libs ,it can't be better as I far as I tested regarding the different locale or encoding issue.Per my experience on C/C++with WxWidgets,D,Lazaurs,eC provided the best crossplatfrom compatiblity.In eC I can talk wi...
by samsam598
Wed Sep 18, 2013 11:20 pm
Forum: eC Language
Topic: Multi inheritance or interface in eC
Replies: 10
Views: 62625

Re: Multi inheritance or interface in eC

Could you please consider not adding new key word implements which is sort of VB.net verbos style.In c/c++/eC I prefer : and . pairs.

Code: Select all

 
interface Race{}
class Dog:Animal,Race{}
 
by samsam598
Wed Aug 28, 2013 4:24 am
Forum: C/C++
Topic: Using a C library in eC (Both static and dll's)
Replies: 6
Views: 98493

Re: Using a C library in eC (Both static and dll's)

www.taobao.com: <!doctype html> <html> <head> <meta charset="gbk" /> www.hao123.com: <!DOCTYPE html><!--[if lt IE 7 ]><html class="ie6"><![endif]--><!--[if IE 7 ]><html class="ie7"><![endif]--><!--[if IE 8 ]><html class="ie8"><![endif]--><!--[if IE 9 ]><html c...
by samsam598
Wed Aug 28, 2013 3:52 am
Forum: GUI Toolkit & 2D Graphics
Topic: Splash class
Replies: 11
Views: 110459

Re: Splash class

Thanks for letting me know.Yes the Splash class is from this thread and I simply want to test what it looks like.Noted that it still has issue.
by samsam598
Wed Aug 28, 2013 3:49 am
Forum: C/C++
Topic: Using a C library in eC (Both static and dll's)
Replies: 6
Views: 98493

Re: Using a C library in eC (Both static and dll's)

Sorry for my carelessness! CURL_DISABLE_TYPECHECK does matter!!With this preprocessor my code works! BTW,just for your reference:for http://taobao.com and http://hao123.com things worked very differently: http://taobao.com worked perfect in curl+ecere or curl+codeblocks+mingw,Chinese characters show...
by samsam598
Wed Aug 28, 2013 3:18 am
Forum: GUI Toolkit & 2D Graphics
Topic: Splash class
Replies: 11
Views: 110459

Re: Splash class

Hi to all again. ... The file you would need to include in your project in order to use splash screen is the "splash.ec". The file "form1.ec" and "MySplash.epj" serve only as an example of how it would look. I hope that you like them. Best Wishes to all, D.Bane The tes...
by samsam598
Wed Aug 28, 2013 12:59 am
Forum: C/C++
Topic: Using a C library in eC (Both static and dll's)
Replies: 6
Views: 98493

Re: Using a C library in eC (Both static and dll's)

It is the second time I encountered the same issue when using a C lib in eC project (both static and dll).Last time was to build a c container library,this time is to make use of curl lib.The issue is the same:when I tested both sample codes in pure c workspace (Code::Blocks +mingw for example),ever...
by samsam598
Tue Aug 27, 2013 8:44 am
Forum: GUI Toolkit & 2D Graphics
Topic: Drawing
Replies: 1
Views: 32909

Drawing

Greetings! I recalled I've asked whether there is a 2D Drawing class to let me draw some 2D stuffs,like pie,ellipse ,rounded rectangle,brushes,regions etc,something MS called device context or GDI+ drawing.Possibly I describled my question in a wrong way. What I acually want to do is just with whate...
by samsam598
Tue Aug 27, 2013 5:21 am
Forum: GUI Toolkit & 2D Graphics
Topic: SmartOpenFile issue [OP]EditBox.HasXXScroll issue
Replies: 16
Views: 132050

Re: EditBox.HasXXScroll issue

Just found it.Please see comments in the source.     File file=SmartFileOpen("http://www.yahoo.com");//works perfect File file=SmartFileOpen("https://www.yahoo.com");//crashed File file =SmartFileOpen("//www.yahoo.com");//crashed; File file=SmartFileOpen("www.yahoo...