Search found 212 matches

by samsam598
Tue Aug 27, 2013 5:09 am
Forum: GUI Toolkit & 2D Graphics
Topic: [Solved]Unresolved identifier
Replies: 2
Views: 34226

Re: Unresolved identifier

Hi redj,

It really helps...and the issue's fixed.Thank you!

Cheers,
Sam
by samsam598
Tue Aug 27, 2013 2:36 am
Forum: GUI Toolkit & 2D Graphics
Topic: [Solved]Unresolved identifier
Replies: 2
Views: 34226

[Solved]Unresolved identifier

Greetings! Sorry...but why? Compiling... form1.ec form1.ec:53:10: error: unresolved identifier txtWebContent form1.ec:53:10: error: member operator on non-structure type expression txtWebContent.Clear form1.ec:58:10: error: unresolved identifier txtWeb form1.ec:58:10: error: member operator on non-s...
by samsam598
Fri Aug 23, 2013 7:15 am
Forum: eC Language
Topic: Can I define my own template functions?
Replies: 13
Views: 66875

Re: Can I define my own template functions?

Hi Jerome,

You mentioned that at some extend class template has some limitations at that moment.I am wondering whether there is any improvement or new features in recent updates .Thanks.

Regards,
Sam
by samsam598
Fri Aug 23, 2013 7:06 am
Forum: eC Language
Topic: XMLsample use for ?
Replies: 3
Views: 28043

Re: XMLsample use for ?

Hi Jerome, It was a big loss to me that I overlooked that thread (http://www.ecere.com/forums/viewtopic.php?f=1&t=208&p=857&hilit=xml#p849) .It worked perfect!I love it,forget expat at the moment! I think with the two thread I can dive into your xml parser and study it.One more thing,bas...
by samsam598
Thu Aug 22, 2013 11:00 pm
Forum: eC Language
Topic: XMLsample use for ?
Replies: 3
Views: 28043

XMLsample use for ?

Greetings! I compiled and tried to run the net\XMLsample but nothing happened after it is running.What's the sample used for ,could you please briefing?What I tried to do is in eC to read and write XML files from outside resources.How to do in eC?Appreciated. Yes I knew once you've recommended me to...
by samsam598
Wed Dec 19, 2012 3:33 am
Forum: eC Language
Topic: DynamicString
Replies: 1
Views: 23452

DynamicString

Greetings, Just curious when did DynamicString added in SDK? I like ecString or just string more than DynamicString,but string is hard to use as it is everywere in source code,I may typedef DynamcString to ecString in my own projects :D And I think it great to move(at least copy) those string functi...
by samsam598
Wed Dec 05, 2012 10:09 pm
Forum: eC Language
Topic: Fetch all recordset from ODBC
Replies: 10
Views: 56247

Re: Fetch all recordset from ODBC

Jerome, Sorry we don't know the total NumRows until reach the end of the loop(but we know numCols before the loop):   int numRows=0; int numCols=0; ... retcode=SQLNumResultCols(hstmt,&numCols); ... while(true) { ... char* pszBuf; ... char** rowData=new char*[numCols+1]; if(SQLFetch(hstmt)==SQL_N...
by samsam598
Wed Dec 05, 2012 9:02 pm
Forum: eC Language
Topic: Fetch all recordset from ODBC
Replies: 10
Views: 56247

Re: Fetch all recordset from ODBC

Hi Sam, I don't have any ODBC connection to test with though... Could you explain in more details what is going on what you think is the problem? Hi Jerome, My main problem is not knowing exactly how to write a function which return an array of array of String,the data is from a SQL record set,and ...
by samsam598
Wed Dec 05, 2012 4:41 am
Forum: eC Language
Topic: Fetch all recordset from ODBC
Replies: 10
Views: 56247

Re: Fetch all recordset from ODBC

Hi Jerome, Thanks for the reply.I hope I can implemented in an eC way using the EDA technology but I am sorry I can't fully understand it at this moment.At the very first step I just tried to write a simple but workable wrapper to test the basic coding needed,like dynamic array etc,and trying to mak...
by samsam598
Wed Dec 05, 2012 3:09 am
Forum: eC Language
Topic: Fetch all recordset from ODBC
Replies: 10
Views: 56247

Fetch all recordset from ODBC

Greetings! I am writing an ODBC wrapper class to read and write with MS Access Database file.Below function is to retrieve all record set from query.However it turned out it does not work properly.I think the main problem is I did something wrong with Array<String*> and dynamic array of array of cha...