Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 updating to new version of QCChart2DNet
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Zardoz

2 Posts

Posted - 11 Jun 2008 :  01:15:04  Show Profile  Reply with Quote
I recently started work re-activating a project that's been dormant for a few years. The project was developed using Visual Studio C++ .Net 2003, and it uses an older version of QCChart2DNet.

When I try to use that part of the program which draws charts, I get a message complaining that my 30-day license has expired. 9I also get a run-time crash complaining about an index being out of range, but that may not be related.)

So, for US$150 I purchased the latest version of QCChart2DNet, which comes with an indefinite license. My question is, how do I rebuild the project so that it recognises the new version of QCChart2DNet? I have copied the new QCChart2DNet.dll file into the relevant location, but that hasn't worked.

Any suggestions?

Steve Gardner

I'm not very good at self-deprecation.

quinncurtis

1164 Posts

Posted - 11 Jun 2008 :  08:43:05  Show Profile  Reply with Quote
The first thing you should do is run our example programs from the standard installation examples folder.

Do you get the same error/warning about your license being expired ?

If you don't get the warning, then you must have multiple copies of our DLL, with different revisions, on your computer. Search your computer for every instance of the QCChart2DNet.DLL, delete them all except for the one in the Quinn-Curtis\DotNet\lib folder. That one should show version 1.7.x.x. Once that is done, copy the QCChart2DNet.DLL to wherever your program needs it.
Go to Top of Page

Zardoz

2 Posts

Posted - 17 Jun 2008 :  20:46:07  Show Profile  Reply with Quote
Actually I'm not able to run the example programs for a different reason: they are C# projects, and I'm using Visual Studio C++ .Net 2003. VS tries to convert the project files, but fails. I'm not sure if that's a fundamental C#/C++ problem, or if a later version of VS C++ .Net (2005, or 2008) would be able successfully to convert the project files. Anyway, I'm hoping that the QCChart2DNet.dll file will still work.

I had already copied it into the location where I thought my project was looking for it (and I renamed the old .dll file), and rebuilding the project, but that had no effect on the license message. Is it possible the project is using more than one copy of the .dll file? I guess I'll have to try and find out. In the meantine, any other suggestions are appreciated.

--

Steve Gardner
I'm not very good at self-deprecation.

Edited by - Zardoz on 17 Jun 2008 20:47:06
Go to Top of Page

quinncurtis

1164 Posts

Posted - 17 Jun 2008 :  21:46:42  Show Profile  Reply with Quote
First, you should be able to load and run the example programs. We have never had an issue with the example programs not loading and compiling with VS 2003 .net over the last 5 years. The actual format of the project files is VS .Net 2002, and they should convert to VS 2003 without a problem. We would have to recommend that you delete the Quinn-Curtis folder and reinstall the software making sure to use the default directory setup. Then immediately try and load, recompile and run the example programs.

Second, you have a real problem, because our QCChart2D software NEVER worked with regular VS C++, and we have never supported it. That's why there are no C++ example programs, or documentation about using our software with C++. C++ uses a completely different memory management system (unmanaged memory), incompatible with .Net managed memory. Our QCChart2D libraires are written using C# and utilize .Net managed memory.

There is a very remote possibility that your C++ program uses Managed C++ (MCPP), which can be made compatible with .Net libraries. But you would know that, because it requires all sorts of special gyrations when allocating memory, not found in classic C++ programs. Is your C++ program a Managed C++ program?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07