Re: [Harbour] SF.net SVN: harbour-project:[14524] trunk/harbour

2010-05-18 Thread WenSheng
> Log Message: > --- > 2010-15-18 15:12 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) Oh!My God! Year, 15 months :D ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mail

[Harbour] about program file encode.

2010-02-25 Thread WenSheng
Hi!! Can we have a function to direct program code(.prg) as ANSI or UTF8? ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Question: about source code(.prg) and unicode

2010-02-24 Thread WenSheng
Hi Harbour-project!! I have a question to ask. Do you have plans to support unicode of the original code(.prg)? Now, harbour can compiler .prg of utf8. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lis

Re: [Harbour] win - making UNICODE the default

2010-02-15 Thread 網緹資訊‧廖文勝(WenSheng)
In Asia, we are very needed him. > +1 UNICODE mode for window build > What steep for give harbour "full unicode support"? > > 2010/2/15 Viktor Szak嫢s > > > Hi All, > > > > I'd like to gather opinions on switching default Harbour > > Windows builds to UNICODE mode in next major release. > > > >

Re: [Harbour] about xharbour compact.

2010-01-05 Thread WenSheng
But, I have read Clipper 5.3 Guide and show: AT(, ) --> nPosition The original function of only two parameters. Why do we have to custom order it? > > > I have a function 'AT()' can not be compiler, > > I use 'nPos := At( ';', cPrinters, nStart )', > > If I have not joined a custom function,

[Harbour] about xharbour compact.

2010-01-04 Thread WenSheng
Hi all; I have a function 'AT()' can not be compiler, I use 'nPos := At( ';', cPrinters, nStart )', If I have not joined a custom function, I will be unable to successfully compile the code. #xtranslate At(,) => hb_At(,) Who can I ask this grammar by adding "hbcompat.ch" do?

Re: [Harbour] Harbour 2.0.0: Released

2009-12-27 Thread WenSheng
Wow ~ great! Now I can use the BCC5 complete compilation Harbour, And do not modify any code in. Thank you very much for great help. > Hi, > > >> Did you try the -CP437 switch? With what results/outputs? > > > > Sorry~~ I don't know how to config -CP437, can you teach me? > > It was in the or

Re: [Harbour] Harbour 2.0.0: Released

2009-12-27 Thread WenSheng
> > > > What does that mean? > > Did you try the -CP437 switch? With what results/outputs? Sorry~~ I don't know how to config -CP437, can you teach me? > > The old code can be modified to solve the problem. > > > However, the new harbour could not follow a set pattern. > > > > Before we modif

Re: [Harbour] Harbour 2.0.0: Released

2009-12-27 Thread WenSheng
-- > Begin forwarded message: > > > From: Phil Krylov > > Date: 2009 March 18 21:43:17 CET > > To: "Harbour Project Main Developer List." > > Subject: Re: [Harbour] compiler error > > Reply-To: "Harbour Project Main Developer List." &

Re: [Harbour] Harbour 2.0.0: Released

2009-12-25 Thread WenSheng
Hi. OK, Thank your suggest and I delete all svn and update all then build harbour, but I still get error message like this: bcc32.exe -I. -I../../../../../include -q -tWM -w -w-sig- -Q -d -6 -O2 -OS -Ov -Oi -Oc -I"d:\bcc55\bin\..\Include" -ocpbg866.obj

Re: [Harbour] Harbour 2.0.0: Released

2009-12-24 Thread WenSheng
> > > hbcdpreg.h file define have bug: > > I do not see any bugs in this file. > > >static HB_CODEPAGE s_codePage = > >{ > > HB_MACRO2STRING( HB_CP_ID ), > > HB_CP_INFO, > > HB_CP_UNITB, > > s_flags, > > s_upper, > > s_lower, > > s_sort, > >

Re: [Harbour] Harbour 2.0.0: Released

2009-12-24 Thread WenSheng
hbcdpreg.h file define have bug: static HB_CODEPAGE s_codePage = { HB_MACRO2STRING( HB_CP_ID ), HB_CP_INFO, HB_CP_UNITB, s_flags, s_upper, s_lower, s_sort, NULL, HB_CDP_ACSORT_NONE, 0, 0, NULL, NULL, NULL,

Re: [Harbour] UPPER error iwith some CP-s

2009-10-06 Thread WenSheng
Hi!! Do you have to think about 'TransForm()' ? This is difficult function!! > > Fine though if we plan to add also other ASCII oriented functions > for LOWER, ISALPHA, ISUPPER, ISLOWER, ISDIGIT operations then IMO > using hb_ascii*() prefix will be better to keep names aligned. > Just like n

Re: [Harbour] about NETIO

2009-09-14 Thread WenSheng
Thank You! Yes, I had change prg code to view change of memory and it's up/down, I have another question. How can I stop server listen ? like code: //- do while .t. pConnectionSocket := NETIO_ACCEPT( pListenSocket ) ? 'Have one connect...', pConnectionSocket, m

[Harbour] about NETIO

2009-09-13 Thread WenSheng
Hi~ I test netio function, at server side use: --- pListenSocket := NETIO_LISTEN( PORT, IP, DRIVER ) do while .t. pConnectionSocket := NETIO_ACCEPT( pListenSocket ) ? 'Have one connect...', pConnectionSocket NETIO_SERVER( pConnectionSocket ) enddo

Re: [Harbour] SF.net SVN: harbour-project:[11654] trunk/harbour

2009-07-07 Thread WenSheng
> > Plase also note that you can use ... more then once and ,mix with other > > arguments, f.e.: > > > >FUNC F1( V1, V2, ... ) > >F( { V1, V2 }, "P1", ..., "->", { ..., ..., {...} }, ... ) > > > > Wow, I did not know this syantax has such capability. > I will test it today and will chang

Re: [Harbour] for QT QTextDecodec class.

2009-06-23 Thread (WenSheng)
etc( hbqt_par_QObject( 1 )->tr( (char *) hb_parcx(2) > ).toLatin1().data() ); > } > > Regards > Pritpal Bedi > > > (WenSheng) wrote: > > > > demo.prg > > oQTC := QTextCodec():New() > > pPtr := oQTC:codecForName( 'Big5-ETen&

Re: [Harbour] for QT QTextDecodec class.

2009-06-22 Thread (WenSheng)
Thank you! Title is error, it's 'QTextCodec' not 'QTextDecodec', sorry!! and modify again: hbqt_qtextcodec.cpp /**/ HB_FUNC( QT_QTEXTCODEC_CODECFORNAME ) { hb_retptr( (QTextCodec *) hbqt_par_QTextCodec( 1 )->codecForName( (const char *)hb_parcx(2)) ); } HB_FUNC( QT_QTEXTCO

[Harbour] for QT QTextDecodec class.

2009-06-22 Thread (WenSheng)
Hi!! Please add some function into: hbqt_qtextcodec.cpp /* - */ HB_FUNC( QT_QTEXTCODEC_CODECFORNAME ) { hb_retptr( (QTextCodec *) hbqt_par_QTextCodec( 1 )->codecForName( (const char *)hb_parcx(2) )); } HB_FUNC( QT_QTEXTCODEC_SETCODECFORCSTRINGS ) { hbqt_par_QTextCodec

Re: [Harbour] SF.net SVN: harbour-project:[10812] trunk/harbour

2009-04-08 Thread WenSheng
I add to some step: ps. harbour is install on e:\harbour qt is install on e:\qt step 1: make file 'qt.bat' into \harbour\ -- set path=e:\qt\mingw\bin;e:\harbour\bin;%path% set HB_COMPILER=mingw set HB_INSTALL_PREFIX=e:\harbour set HB_WITH_QT=yes set HB_QTDIR=e:\qt\qt set

Re: [Harbour] SF.net SVN: harbour-project:[10812] trunk/harbour

2009-04-07 Thread WenSheng
Hi... I try use these step and can create hbqtgen.exe and demoqt.exe, but no any action when I run demoqt.exe. > > Hi > > > Angel Pais wrote: > > > > Could you guide me on how to build libhbqt.a ? > > Maybe I could be good to put a little howto in > > C:\harbour\contrib\hbqt\tests > > > > -

Re: [Harbour] compiler error

2009-03-18 Thread 網緹資訊‧廖文勝(WenSheng)
>Maybe you should try with BCC582 (also free) to see if they've fixed it. > If have more time I will try... Thank your suggest. > > >Probably a complete list of Harbour build errors could help to > >make a better judgement here, as I doubt cpbg866.c is the only one > >file with problems. msgbg866

Re: [Harbour] compiler error

2009-03-18 Thread WenSheng
> Thank you, so I understand this is the _only_ such error while building > complete Harbour? No!! is BCC5. > > Can you make tests using MSVC or MinGW compiler? (both free) I just test MinGW(gcc 4.3.3) and can compiler lang & codepage *.c ps. don't ask me to change MingW from BCC55. _

Re: [Harbour] compiler error

2009-03-17 Thread 網緹資訊‧廖文勝(WenSheng)
> > If this is a BCC problem, it may be one. > > You seem to have ignored my requests, so probably > that's all I can do to help on this matter for now. > > Anyhow if someone has -i compilation results for BCC > and possibly for MinGW/MSVC in Chinese systems, > I'd like to see them. sorry!! t

Re: [Harbour] compiler error

2009-03-17 Thread WenSheng
  > I would, but I have no idea how to fix this for Chinese OS.One idea is to > replace chars with hexadecimal notation,   This is a good idea to solution the problem!! use 0x?? to replace word.   > but we need to know what we're doing, since a) other parts may > also need a fix b) maybe this

Re: [Harbour] compiler error

2009-03-17 Thread WenSheng
  > Try: > set path=d:\mingw-make\bin;d:\bcc55\bin;%path% > set HB_COMPILER=bcc > set HB_INSTALL_PREFIX=d:\harbour > make_gnu.bat install > > Vailton Renato   The problem is not 'install' is from 'compiler'. diffent 'language' & 'codepage' can't exact read .c like msgzhb5.c is exact:   msgbg86

[Harbour] compiler error

2009-03-16 Thread WenSheng
my OS compiler environment is: Windows XP SP3 / Borland C++ 5.51 / mingw-make 3.81 / Chinese Language I have config dos environment: d:\>set path=d:\mingw-make\bin;d:\bcc55\bin;%path% d:\>set HB_COMPILER= d:\>set HB_INSTALL_PREFIX=d:\harbour d:\>make_gnu.bat install everytime copmpiler harbour

Re: [Harbour] RE: about function AT()

2008-11-20 Thread WenSheng
> > > I add switch -DHB_EXTENSION to compile my AP, still occur error message > > You need to re-compile *Harbour* itself with that switch, not your > application. > I had reCompiler Harbour and still can't compiler my AP. ___ Harbour mailing list Ha

Re: [Harbour] Re: about function AT()

2008-11-19 Thread WenSheng
> > I'm try use AT() function like: > > AT( cChar, cString, nStart, nEnd ) > > but occur error when compiler my AP > > To be compatible with Clipper the function is defined as: > AT( cChar, cString ) --> nPos > > You should use HB_AT which defined as: > HB_AT( cChar, cString, [nStart], [nEnd] )

[Harbour] about function AT()

2008-11-19 Thread WenSheng
Hi~ all I'm try use AT() function like: AT( cChar, cString, nStart, nEnd ) but occur error when compiler my AP, Please, How to build harbour or my AP? What switch is need ? ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbo

Re: [Harbour] Higher Level Classes to Manage Consoles

2008-11-03 Thread 網緹資訊‧廖文勝(WenSheng)
> > http://www.vouch.info/downloads/demowvg_ax.zip Thank you, But I had get error: Called from HB_AX_SETUPCONNECTIONPOINT(0) Called from HB_ACTIVEX:ADVISEEVENTS(87) Called from HB_ACTIVEX:NEW(79) Called from EXEACTIVEX(2249) in demowvg.prg Called from EXECUTEACTIVEX(2203) in demowvg.prg Called f

[Harbour] about hash() of xHarbour

2008-09-29 Thread WenSheng
Hi!! I'm user of xHarbour, I hope can trans to harbour, but use many hash(), somebody can help me how to use is at harbour ? ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Why your are using harbour ?

2008-06-09 Thread WenSheng
May be add one: Why your want cancel Harbour? ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Harbour & Unicode

2008-06-02 Thread ���{���T�E������(WenSheng)
We are ASIA country, We need unicode support, Who can help us? ps.At M$ is not Linux. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Experiences with sqlite?

2008-01-15 Thread WenSheng
> > I do understand your point, it could be usefull on a browse, but I think that > it could be better to write a browse which queries rows while user moves > inside it instead of doing a full select at start and then browse the full > answer. > > Hope this clarifies a little my point. Yes, This

Re: [Harbour] Experiences with sqlite?

2008-01-14 Thread WenSheng
> > I have to say that I don't like the idea to get the query result and put it > into a .dbf file (like sqlite3 for xharbour does); and given the ability of > sqlite to step through the query it could be possible to handle a big result > without creating a huge array (or a huge .dbf). > > My 2c

[Harbour] Does harbour can compiler unicode source code?

2007-12-18 Thread WenSheng
as Title ? Now can't compiler it. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] GTWVG - UNICODE Compliant

2007-12-06 Thread ���{���T�E������(WenSheng)
Hi!! I had try compiler hbgtwvg and demowvg.prg and to create demowvg.exe But occur error message 'Unrecoverable error 10001: It's not a window GUI program.' when I run demowvg.exe. Somebody can help me? BCC551/Harbour(Last CVS)/WinXP > > GTWVG is now fully UNICODE compliant, thanks Przem