You are not logged in.
Pages: 1
Hello,
I'm currently trying to get the CME-API to work with Vericut 6.2.2 (64) :?
I've used the example files in the cmeapi folder but it doesn't work. I always get the following errors:
Error 1 error LNK2019: unresolved external symbol __imp_cmeapi_send referenced in function cms_UserCheckSpindle example1.obj Vericut_CME
Error 2 error LNK2019: unresolved external symbol __imp_cmeapi_get_c_numeric_vars referenced in function cms_UserCheckSpindle example1.obj Vericut_CME
Error 3 error LNK2019: unresolved external symbol __imp_cmeapi_get_c_text_vars referenced in function cms_UserCheckSpindle example1.obj Vericut_CME
Error 4 error LNK2019: unresolved external symbol __imp_cmeapi_register_macro referenced in function cmeapi_init example1.obj Vericut_CME
Error 5 fatal error LNK1120: 4 unresolved externals E:\Visual Studio 2008\Projects\Vericut_CME\x64\Debug\Vericut_CME.dll Vericut_CME
32bit version works well.
Has anyone a solution for this problem?
Best regards,
Thomas
Offline
Did you add the link to CGTech.lib?
(Linker > Input > Additional Dependencies > CGTech.lib)
Mustapha
Offline
I've added the correct link.
I tried 4 different CGTech.lib files (32bit from 6.2.2, 64bit from 6.2.2, 32bit from 7.0b1, 64bit from 7.0b1). All others compile correctly, but also the 64bit from 7.0b1 can't be loaded in Vericut (6.2.2 and 7.0b1).
Offline
You probably need to modify the compilation to be 64bits (Build->Configuration Manager…, change "Active solution platform" to "x64")
Mustapha
Offline
I've also changed the target platform.
Do you have a working example of a visual studio project for 64bit version which you could probably send me?
Thanks,
Thomas
Offline
I am new to CME-API's but i have working exp in developing CAD based tools in NX using C#. Can you please help by sharing any documents or examples on how to customize Vericut with the help of CME-API's and what all i need to start with.
Thanks in advance!!
Offline
All documentation is in Help > Development Tools
Tony
Offline
Thanks Tony for the reply. I will go through the development tools in the Help.
Offline
Hi,
I have created my own dll using CME-API's & it is running as expected.
My question here is, can i call this dll through a customized button in the Vericut through customized ribbon?
I have created a new tab using this & given dll path under executable but it is not working.
Any help is really appreciated.
Thanks in advance!!
Regards,
Indira
Offline
Pages: 1