Tell a friend
Link to us
Bookmark Us
Total Members
      Members: 87081
Sitemap Forum Chat
 
C++ Home
C++ Members (4396)
C++ Member Articles ( 19 )
C++ Discussion (116)
C++ Q & A ( 4 )
- C++ Ask Question
- C++ Questions
- C++ Unanswered Questions
C++ Resources
C++ Source Code (98)
C++ Articles (82)
C++ Blogs (0)
C++ Jobs (0)
C++ Components (11)
C++ Books (2)
C++ Websites (45)
C++ News (49)

 
Resource Directory
ODBC (0)
Source Code (0)

 
GROUP INFO
Members: 4396
Access Type: Anyone can join

 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.NET Development Tips
ASP.Net Security,Internationalisation And Deployment
ASP.NET Server Controls Tips
ASP.NET Tutorial
C Sharp Tutorial
LINQ Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Javascript Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Grails Tutorial
Hibernate Tutorial
Java 1.6 Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Service-Oriented Architecture (SOA) Tutorial For Managers
Spring Tutorial
Struts Tutorial
Tomcat Tutorial

RESOURCES
Q & A (531 )
Source Code (3276 )
Articles (365 )
Books (373 )
Components (1647 )
News (898 )
Websites (1208 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Authors
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Feedback
Tell a Friend
Advertise

 

Home > C++ > Member Articles > Algorithms >
 

Licensed Controls In A C++ Managed Code Project


  Author : krausor
  Date Published : 07/21/2005
  Rating No Rating
  Accessed : 9028
   krausor
If you try to use TX Text Control .NET in a C++ managed Windows Forms project, you will get a license exception. C++ in Visual Studio 2003 does not provideas much support for the .NET component licensing process as C# or VB.NET. In fact, the licenses file for a licensed control and binding it to the executable is not supported. You have to do this yourself. Below are the steps you should take:

1. Open a Visual Studio 2003 command prompt

2. Change directory to your project folder (licenses.licx must be in this folder)

3. Run the following command to generate the licenses file:

lc /target:[your exe filename.exe] /complist:licenses.licx /i:[your TX Text Control installation folder]TXTextControl.dll

4. This generates a file called .licenses in the project folder

5. In Visual Studio, right click on the project in the Solution Explorer and select Properties > Linker > Input > Embed Managed Resource File and enter the filename of the .licenses file.

When you rebuild the solution the .licenses file will be embedded in the .exe manifest and the component should be able to read it at runtime.



 
   Add Comment  Printer Friendly
   View All Comments  Email to a friend
   Add to my Favourites  Report Bad Submissions  Submit Feedback
   Rating Download PDF version
 
                 Click each image to add
this page to each site.
 
Related Articles of C++
Previous Article    -     Random Articles    -     Next Article
 
 
 
Comments Available

    No comment available at the moment.Be the first one to make a comment

 
 
 
 
 
Welcome Guest Signup
Member's Panel
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!

SEARCH
 



 
 
 
 
 


Home | Login | About Us | Contact Us | Privacy Policy | Advertising | Feedback Please

Warning: Unknown(): write failed: Disk quota exceeded (122) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0