Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #7550 > unrolled thread

CA-Vo and Unicode

Started by"Valery N." <mustangsoftcom@gmail.com>
First post2014-11-29 13:02 -0800
Last post2014-12-11 00:24 -0800
Articles 9 — 5 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  CA-Vo and Unicode "Valery N." <mustangsoftcom@gmail.com> - 2014-11-29 13:02 -0800
    Re: CA-Vo and Unicode D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2014-12-01 19:19 +0100
      Re: CA-Vo and Unicode "Wolfgang Riedmann" <wriedmann@gmail.com> - 2014-12-02 07:53 +0100
        Re: CA-Vo and Unicode D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2014-12-02 18:10 +0100
          Re: CA-Vo and Unicode "Willie Moore" <williem@wmconsulting.com> - 2014-12-04 06:41 -0600
      Re: CA-Vo and Unicode "Valery N." <mustangsoftcom@gmail.com> - 2014-12-05 04:10 -0800
        Re: CA-Vo and Unicode "Willie Moore" <williem@wmconsulting.com> - 2014-12-05 10:50 -0600
        Re: CA-Vo and Unicode "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2014-12-10 21:56 +0100
          Re: CA-Vo and Unicode "Valery N." <mustangsoftcom@gmail.com> - 2014-12-11 00:24 -0800

#7550 — CA-Vo and Unicode

From"Valery N." <mustangsoftcom@gmail.com>
Date2014-11-29 13:02 -0800
SubjectCA-Vo and Unicode
Message-ID<921d4bba-629d-49af-bf55-20f4365037af@googlegroups.com>
Last week we had a senseless discussion about CA-Vo. At us speak so: correctly asked question - is a half of the response.

One of colleagues wrote that CA-Vo has no prospects because Win32 API died. Another wrote that a problem because we were left by our companions. The third complain that there are no beginners.

I will answer that I think. And then I will ask my question.

Win32 API didn't die and will live for a long time. The basis for such announcement is Win10 which will be in two options 32bit and 64bit. In it there will be a support of Win32 API (C/C ++). There is only a question of compatibility of functions in case of their possible upgrade.

Besides, CA-Vo can use functions from third-party .dll-files. And it means that always there is an opportunity to write a missing code or to take ready option from other related language. I often take some slices from Delphi.

Why many programmers ceased to use CA-Vo? This question silly. The bad relation of CA and GrafxSoft to users. They worked slowly and insufficiently qualitatively. If someone wants them to protect, I suggest to look at Delphi. And to answer a question: why the project which started later and in the worst conditions - made great progress? And still it is always necessary to consider that the market always changes. Projects always become to order. And our users aren't wanted to be heard about our problems. They are interested in a product with the given qualities.
"Old men" leave us (since 2004), and beginners don't come.

Why there are no beginners? All know the response. Long time of CA-Vo it was expensive. On this programming language still there is no good and available literature. Practice shows that for serious projects of the CA-Vo tools isn't enough. For operation we need third-party products. It turns out that, without assistance the beginner will look at CA-Vo and will start using other programming language. And if he learns about problems CA-Vo?.. Besides, there are such factors as fashion, advertizing...

Why I continue to work with CA-Vo? At my clients often costs WinXP. While there is WinXP - the option with WinAPI is actual (.NET FrameWork can be disconnected and removed). I have old projects. It is difficult to transfer the project from one programming language to another. It is sometimes simpler to write a new code.

I don't wait for gifts from CA or GrafxSoft. Here it was much told about difficulties. I will tell so, the output always is. There are successful third-party products. The company could talk to their owners and let out special CA-Vo Plus a Package. It can help beginners. It can become advertizing for third-party programmers, reduce the price and allow the company to concentrate on development of a new product, and in the old - it is simple to correct errors.

Now the most important for me the question is a support of Unicode. You have offers or decisions? It is very interesting to me to listen to you and to look at your examples.

Thanks!

[toc] | [next] | [standalone]


#7561

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2014-12-01 19:19 +0100
Message-ID<j8cp7a5am65rbn3a9clhakm3m59ov1s30a@4ax.com>
In reply to#7550
On Sat, 29 Nov 2014 13:02:03 -0800 (PST), "Valery N."
<mustangsoftcom@gmail.com> wrote:

Hello Valery,

>Now the most important for me the question is a support of Unicode. You have offers or decisions? 
>It is very interesting to me to listen to you and to look at your examples.
>


Cavo & Unicode gives you quite a few replies with workarounds. If you
don't want workarounds, Vulcan is the only way. There will be no VO
with Unicode unless you'd be willing to fully finance it <g>. 

Vulcan programs run on .Net but in any case, the DBF format won't help
you unless you store in memofields and use controls like the rtf
control. Use SQL or MySQL.

For use of Unicode (which you do not need for Russian if I am correct)
I found the following tricks (back to the year 2000) on this ng:

1. Replace CAVO's source code editor with another one which can handle
Unicode. If you are on WinNT, then even Notepad can do that.

2 . Use resource strings to store Unicode characters.
RESOURCE RussianTexts STRINGTABLE
Language LANG_RUSSIAN, SUBLANG_DEFAULT
BEGIN
..
.
END

3. Display those strings using LoadResString(). (don't forget using
Unicode
font - Lucida Sans Unicode is usually installed).

and also from Ginny:

I have Str2Unicode and Unicode2Str functions that I use when I need
Unicode support for WinAPI functions

Dick

[toc] | [prev] | [next] | [standalone]


#7564

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2014-12-02 07:53 +0100
Message-ID<ce55ueFqn7kU1@mid.individual.net>
In reply to#7561
Hi Dick,

> > Now the most important for me the question is a support of Unicode.
> > You have offers or decisions?  It is very interesting to me to
> > listen to you and to look at your examples.
> 
> Cavo & Unicode gives you quite a few replies with workarounds. If you
> don't want workarounds, Vulcan is the only way. There will be no VO
> with Unicode unless you'd be willing to fully finance it <g>. 

Robert v.d. Hulst has done also some Unicode samples - it should be
possible to find these.

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#7565

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2014-12-02 18:10 +0100
Message-ID<59sr7a5n0jjk10ko33hc0frsoggbe3kc1l@4ax.com>
In reply to#7564
On Tue, 2 Dec 2014 07:53:03 +0100, "Wolfgang Riedmann"
<wriedmann@gmail.com> wrote:

Hello Wolfgang,

>Robert v.d. Hulst has done also some Unicode samples - it should be
>possible to find these.
>
That's true; he once presented it on a conference I visited in 2007.
It was an amazing piece of work based on a trick: enabling controls to
be filled with Unicode by manipulating the methods which draw the
texts and using an unassigned byte in a dbf to tell Unicode is stored
instead of single byte codepage ANSI. 

The program we could download strangely enough didn't work however and
on a last contact in 2008 with Robert about this, he advised me that
when I needed to do anything with Unicode, to use Vulcan instead. 

So I think it was never really finished.

Dick

[toc] | [prev] | [next] | [standalone]


#7572

From"Willie Moore" <williem@wmconsulting.com>
Date2014-12-04 06:41 -0600
Message-ID<m5pkp9$n5g$1@speranza.aioe.org>
In reply to#7565
Dick,

You are correct that Vulcan is the only way forward with unicode in a VO 
language. I also saw Robert's sessions on unicode.

Regards,
Willie
Vulcan VIP

[toc] | [prev] | [next] | [standalone]


#7581

From"Valery N." <mustangsoftcom@gmail.com>
Date2014-12-05 04:10 -0800
Message-ID<77279f65-5cfb-4dc6-97e9-d7e043c323e2@googlegroups.com>
In reply to#7561
I ask forgiveness for my behavior. I wrote the message, and then disappeared from a forum. On it I had important reasons.

I am grateful to all responded. I know the told modes of work with Unicode. Also I know about conference (I wasn't there) where mode of work with DBF was shown.

I am able to work with MySQL (I wrote the library). By default, the standard for MySQL is utf8. It is also necessary to be able to work with text files and reports which use utf8. I want to receive (or to make) tools (libraries, classes), to use these opportunities a direct method, without special settings and conversion of data.

I had an acquaintance who told me that he made by means of ClassMate the GUI for operation with Unicode. I know that in CA-Vo it is possible to create the variables. I know and I am able to work with API functions which require Unicode (as well as you, I worked with external devices). I know that in Win32 there are "double" functions. For example: DrawTextW (Unicode) and DrawTextA (ANSI) etc.

Question: somebody tried to create the controls working with Unicode?

[toc] | [prev] | [next] | [standalone]


#7586

From"Willie Moore" <williem@wmconsulting.com>
Date2014-12-05 10:50 -0600
Message-ID<m5snoc$7md$1@speranza.aioe.org>
In reply to#7581
Valery,

Robert did the most work with VO and unicode. You might ask him if he will 
share the sources from his presentations on it. That would give you a start. 
I use Vulcan and it supports unicode out of the box

Regards,
Willie
Vulcan VIP

"Valery N."  wrote in message 
news:77279f65-5cfb-4dc6-97e9-d7e043c323e2@googlegroups.com...

I ask forgiveness for my behavior. I wrote the message, and then disappeared 
from a forum. On it I had important reasons.

I am grateful to all responded. I know the told modes of work with Unicode. 
Also I know about conference (I wasn't there) where mode of work with DBF 
was shown.

I am able to work with MySQL (I wrote the library). By default, the standard 
for MySQL is utf8. It is also necessary to be able to work with text files 
and reports which use utf8. I want to receive (or to make) tools (libraries, 
classes), to use these opportunities a direct method, without special 
settings and conversion of data.

I had an acquaintance who told me that he made by means of ClassMate the GUI 
for operation with Unicode. I know that in CA-Vo it is possible to create 
the variables. I know and I am able to work with API functions which require 
Unicode (as well as you, I worked with external devices). I know that in 
Win32 there are "double" functions. For example: DrawTextW (Unicode) and 
DrawTextA (ANSI) etc.

Question: somebody tried to create the controls working with Unicode? 

[toc] | [prev] | [next] | [standalone]


#7608

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2014-12-10 21:56 +0100
Message-ID<m6ac0k$sn6$1@dont-email.me>
In reply to#7581
Hi Valery,

I have made a program that is partially working in Unicode. Please send me 
your email address (is it mustangsoftcom@gmail.com ?) and I can send you an 
article and some code.

The input control I use for Unicode is the RTF control in the text mode as a 
substitution for single line edit and multilineedit. Adding some code to the 
browser allows also displaying unicode columns.
What took much time was to find a possibilitiy to transfer data to and from 
the database (in our case Oracle) via ODBC. As Report designer we are using 
Crystal Reports that supports Unicode.

Additional we are using HTML texts that support unicode characters by 
default.

Unicode can be stored in normal string variables and conversions can be made 
between ANSI, Unicode UTF16, UTF8.

So it is possible to use Unicode but it is much work.

Arne Ortlinghaus
ACS Data Systems

[toc] | [prev] | [next] | [standalone]


#7611

From"Valery N." <mustangsoftcom@gmail.com>
Date2014-12-11 00:24 -0800
Message-ID<b0630769-6f35-4d54-a16f-90beb919a3fc@googlegroups.com>
In reply to#7608
Good afternoon, Arne!
Thanks, it of what I thought. The postal address which you specified, correct. I will be very grateful for your help. I have to you such question: if I develop further this subject and I will want to write article, whether I can refer to you and use pieces of your code in the text?

Valery N.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web