15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Syntax and semantics of CLW file

Carsten Schwartz -- csn@dhi.dk
Monday, November 18, 1996


Environment: Windows NT 4.0, VC++ 4.2b

VC cannot handle the connection between dialogs and their corresponding
classes in an errrorless way. How is the syntacs and symantics of the
CLW file which defines this connection ? When VC is unable to handle
the connections properly, it must be done by hand/ manually.

The presence of language resources seem to mess up the CLW/Resource
connection....
_____________________________________________________
Carsten Schwartz            Email : csn@dhi.dk
Software Engineer           www   : http://www.dhi.dk
Danish Hydraulic Institute  Tel.  : +45 45 76 95 55
Agern Alle 5                Fax.  : +45 45 76 25 67
2970 Horsholm
Denmark

And they shall know no fear...
_____________________________________________________




IK 23 -- Cunningham@tgd.swissptt.ch
Tuesday, November 19, 1996

[Mini-digest: 4 responses]

AFAIK the clw file is generated by parsing the source file. It sounds
like your problem with the resources is that the resources have  been
generated for a different language than the one that you want to work
in. ie check what the language setting of your resources is. In my case
I normally generate for German and then go thru the resources doing an
insert copy to my real language which is swiss german then I can see the
resources in classwizard.
hth
Graham Cunningham
00 41 31 338 0633

>----------
>From: 	csn@dhi.dk[SMTP:csn@dhi.dk]
>Sent: 	Montag, 18. November 1996 13:54
>To: 	mfc-l@netcom.com
>Subject: 	Syntax and semantics of CLW file
>
>
>Environment: Windows NT 4.0, VC++ 4.2b
>
>VC cannot handle the connection between dialogs and their corresponding
>classes in an errrorless way. How is the syntacs and symantics of the
>CLW file which defines this connection ? When VC is unable to handle
>the connections properly, it must be done by hand/ manually.
>
>The presence of language resources seem to mess up the CLW/Resource
>connection....
>_____________________________________________________
>Carsten Schwartz            Email : csn@dhi.dk
>Software Engineer           www   : http://www.dhi.dk
>Danish Hydraulic Institute  Tel.  : +45 45 76 95 55
>Agern Alle 5                Fax.  : +45 45 76 25 67
>2970 Horsholm
>Denmark
>
>And they shall know no fear...
>_____________________________________________________
>
>
-----From: "Claus Michelsen" 

The trick to using international resources with the classwizard is to use
the country setting in the Control Panel. This classwizard will use this
language setting for choosing from international resource.

You can of course always have VC recreate the clw file and thereby build an
up-to-date version. Delete the old clw file, and open up class wizard. It
will then recreate the file based on your source files.

I don't know the syntax of the clw file, but I hope that this can help you.


Best Regards
Claus Michelsen
Software Engineer
CRI A/S, Denmark


-----From: Mike Blaszczak 

At 12:54 11/18/96 +0000, Carsten Schwartz wrote:

>Environment: Windows NT 4.0, VC++ 4.2b

>VC cannot handle the connection between dialogs and their corresponding
>classes in an errrorless way. How is the syntacs and symantics of the
>CLW file which defines this connection?

The syntax of the CLW file is undocumented and will probably remain so. 
If you don't like that, please write to msvc@microsoft.com and express
your opinion.

.B ekiM
http://www.nwlink.com/~mikeblas/
I'm afraid I've become some sort of speed freak.
These words are my own. I do not speak on behalf of Microsoft.

-----From: "Charles N. Johnson" 

Carsten:

I can't tell from your post just what you intended to say, but I have built
and used several
language .dlls, and everything in class wizard proceeds quite well. There
is a rather complete introduction to this in the book "Visual C++4.0 How
To" by Stanfield and Arvensen.

Cheers--
Charles




| Вернуться в корень Архива |