Jump to content
Software FX Community

Couldn't get run time license


User (Legacy)

Recommended Posts

Hi.  I've been working on a product that uses ChartFX and it's been working

fine for a year or so until I just updated the ChartFX DLLs from build 1486

(1/26/2004) to build 1859 (2/2/2005). Now it appears I need to have the

license embedded in my EXE file where I did not before. I have successfully

upgraded my test app which is a C# .Net app to embed the license and it now

works fine with the new DLLs.

My main app is written in C++ and uses a .Net DLL which we created which, in

turn, uses ChartFX. Per instructions in article Q6101010, I successfully

created a MyApp.exe.licenses file using LC.EXE and attempted to embed this

in my C++ application EXE file. This is done using the Linker Input

property "Embed Managed Resource File" which modifies the linker command

line with the /ASSEMBLYRESOURCE option.

As near as I can tell, this linker option does nothing at all. A binary

compare between MyApp.exe with the resource option and one without shows the

files to differ by only 2 bytes in the EXE header which (I'm quite certain)

have nothing whatsoever to do with embedded resources - these two bytes

change every time the EXE is built.

The name "ASSEMBLYRESOURCE" and the documentation imply that this option

applies to Assemblies. This application is not a .Net assembly - it's

regular old Win32 program. If this linker option, in fact, doesn't work in

this context, how am I going to be able to use ChartFX in my product? Any

suggestions?

Thanks,

Craig

Link to comment
Share on other sites

> Now it appears I need to have the

> license embedded in my EXE file where I did not before

This has always been the case. That's the way licensing work in .NET nothing

particular about Chart FX.

> My main app is written in C++ and uses a .Net DLL

If it is unmanaged C++, then the license stuff won't work.

A flaw was fixed in version 1859. This flaw allowed unmanaged EXE's to

include Chart FX without a license through a wrapper DLL, this seems to be

your case.

Please contact Software FX licensing/sales, you are going to need a special

license key to make this work. I'm copying them with this so that they know

about it when you contact them.

--

FP

Software FX

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...