Page 1 of 1

LC.exe return with -1 errorcode on x64 win7

Posted: Mon Aug 05, 2013 7:19 am
by 14048671
HI,
in Win7 x64, i have install TeeChart for .NET V3.5.3371.26404\TeeChartNET3VSNET2005.exe,with input the correct License number and Password。
in the process of Install ,i meet the error "TeeGofer_H2reg.exe meet error , not work"

when i compile VS2005 project with teachart control.

meet compile error :LC.exe has returned. errorcode is -1;

C:\Users\HZF\Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\Properties\licenses.licx :

Steema.TeeChart.TChart, TeeChart, Version=3.5.3371.26405, Culture=neutral, PublicKeyToken=9c8126276c77bdb7

Re: LC.exe return with -1 errorcode on x64 win7

Posted: Mon Aug 05, 2013 8:07 am
by 15666029
Had the same error this morning :) try this: http://blog.mse-it.de/2009/08/lcexe-exi ... o-fix.html

Re: LC.exe return with -1 errorcode on x64 win7

Posted: Mon Aug 05, 2013 10:29 am
by Marc
Hello,

Thanks for the input gbs ..with respect to the TeeGofer error, that refers to a failure with the registrration of the TeeChart HTML Help v2 as it tries to integrate with the Visual Studio help environment. You can use the TeeChart chm library help (HTML Help v1) as an alternative, to be found under the docs firectory of the TeeChart install.

Regards,
Marc Meumann

Re: LC.exe return with -1 errorcode on x64 win7

Posted: Tue Aug 06, 2013 12:58 am
by 14048671
hi, gbs
thanks for your solution.

if i remove "Steema.TeeChart.TChart, TeeChart, Version=3.5.3371.26405, Culture=neutral, PublicKeyToken=9c8126276c77bdb7" from the licenses.licx. i can compile project successfully,
but i wonder when i release program, the program.exe can run and open the winform with teechart control, without teechart licenses problem??

Re: LC.exe return with -1 errorcode on x64 win7

Posted: Tue Aug 06, 2013 2:07 pm
by 10050769
Hello XQuant,
if i remove "Steema.TeeChart.TChart, TeeChart, Version=3.5.3371.26405, Culture=neutral, PublicKeyToken=9c8126276c77bdb7" from the licenses.licx. i can compile project successfully, but i wonder when i release program, the program.exe can run and open the winform with teechart control, without teechart licenses problem??
I recommend you taking a look in the Tutorial17 - Designtime Runtime and License Requirements where explain exactly what you need do to achieve as you want. On the other hand, you can try to modify the next line Steema.TeeChart.TChart, TeeChart, Version=3.5.3371.26405, Culture=neutral, PublicKeyToken=9c8126276c77bdb7 removing the part of version.

If you have any problems, please let me know.