Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Resources
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Resources

 Post Reply Post Reply
Author
Message
BastianPL View Drop Down
Groupie
Groupie
Avatar

Joined: 15 April 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote BastianPL Quote  Post ReplyReply Direct Link To This Post Topic: Resources
    Posted: 12 September 2008 at 7:14pm

Hi I am using XTP 12.2 ( after migration from 10.2 ) and I am wodering how now I can use translated resources. Previously in rc2 file I just put

include <XTToolkitPro.rc>

#include <Controls\res\resource_pl.rc>
 
Now when I am duing that i get a compiler error CVT1100 ( resource is used twice / duplicated ) how to resolve this problem ?
 
Kind regards
Sebastian
 
Bastian
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 13 September 2008 at 4:45am
Hi;

Try this

#define _XTP_RESOURCE_LANGUAGE pl
#include "XTToolkitPro.rc"

instead your both includes...

Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
BastianPL View Drop Down
Groupie
Groupie
Avatar

Joined: 15 April 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote BastianPL Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2008 at 5:05pm
Thanks mate. You have helped me a lot.
Bastian
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.032 seconds.