Print Page | Close Window

Resources

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12145
Printed Date: 23 June 2025 at 10:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Resources
Posted By: BastianPL
Subject: Resources
Date 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



Replies:
Posted By: mgampi
Date 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


Posted By: BastianPL
Date Posted: 13 October 2008 at 5:05pm
Thanks mate. You have helped me a lot.

-------------
Bastian



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net