ComponentOne OLAP for WinForms概述 > 许可常见问题解答 > 常用场景 > 在Visual C++应用中使用已注册组件 |
这是一个在VC++2003中出现的问题:licenses.licx文件在生成过程中被忽略。因此,VC++应用中将不会包含许可信息。
想要解决这个问题,需要采取额外的步骤编译许可资源,并且将它们连接到工程中。注意以下步骤:
c1lc/target:MyApp.exe/complist:licenses.licx
/i:C1.Win.C1FlexGrid.dl
/ASSEMBLYRESOURCE:Debug\MyApp.exe.licenses