| Home | About FairCom | Products | Support | Sales | Contact Info | Site Map | Download | Newsletter |

Company Overview
History
Our Customers
Success Stories
Contact Information
Why FairCom
FairCom Logos
Press Releases
Customer Quotes
Site Map
Read the Dr. Dobb's Journal article on cross-platform database Programming
Read HP WORLD's article on the c-tree Server
Read the Linux Journal review on c-tree Plus
FairCom Brochure
 
 

Building Your Application-Specific c-tree Plus for .NET Assembly

Build it Your Way!

c-tree Plus for .NET has been a popular addition to the c-tree Plus API roundup. Multiple .NET language support combined with Microsoft's advanced Intellisense technology puts you on the leading edge of today's application development. One of our most frequent questions we are asked is "where is the .NET assembly for c-tree Plus in my installation?" Traditionally, c-tree Plus has provided application developers great flexibility in creating a c-tree library optimized for their application. We extend this approach to our c-tree Plus for .NET assembly. This allows you to build the .NET assembly with your exact specifications.

Since our release of c-tree Plus for .NET V8.14, Visual Studio 2005 has made its mark. Keeping with FairCom's tradition of the latest in Visual Studio support, we have recently added full support for VS 2005. If you are on maintenance and have made the move to Visual Studio 2005, please contact us about the availability of this latest technology.

Build Your c-tree Plus for .NET assembly

Navigate to the mtree directory in your c-tree Plus installation which is located at the following path:

FairCom\V8.14\ctreeSDK\ctreeAPI\mtree

The c-tree Plus for .NET assembly is built from C code. With a Visual Studio Command Prompt open in this directory (or the appropriate Visual Studio environment variables set up), run the following command:

>mtmake .net

Follow the mtree prompts and choose the c-tree model of your choice (client, standalone, tranproc, etc.). After your makefile is built, run mk.bat to build the FairCom.CtreeDb.dll which is eventually copied into the following directory.

FairCom\V8.14\ctreeSDK\ctreedotNET

Reference this assembly in your .NET projects and solutions to gain access to full c-tree Plus database functionality.

Keep in mind that our c-tree Plus for .NET assembly is strong signed. You will need to sign your application with the same key file that was used with the assembly. This key file is included in your c-tree Plus installation and located in the same directory as the FairCom.CtreeDb.dll assembly. Please refer to the following documentation on our Web site regarding strong signing your application:

Unlicensed DLL Error.

In VS 2005, you simply select and choose the name of the key file from the file chooser on the 'Signing' tab of your project's properties page.

You can find complete details and tutorial source code using c-tree Plus for .NET in the following location of your c-tree Plus installation:

FairCom\V8.14\ctreeTutorials\ctreedotNET\dotNet0_Intro.pdf


 
I feel bad I have spent so many years using Btrieve with all their limitations. Lots of money I now would have rather spent on FairCom!

Jan Knepper
Smartsoft, LLC

 
WEB COMMENTS
Copyright 2007 FairCom Corporation. All rights reserved.