Download ObjectARX 2013 and trying to compile with Visual Studio 2010 SP1.
Noticed that acrxProductKey() is missing from ObjectARX 2013 *.h file
Anyone else have this issue?
-----------
.File.cpp(4): error C3861: 'acrxProductKey': identifier not found
-----------
In ObjectARX 2012 - it was located in rxregsvc.h
// Return a const string containing the product name and the product version
// to use in writing to the Registry
const ACHAR * acrxProductKey();
-----------
Solved! Go to Solution.
Solved by Alexander.Rivilis. Go to Solution.
Instead of acrxProductKey() function you can use one of:
AcDbHostApplicationServices::getMachineProductRegistryRootKey(); AcDbHostApplicationServices::getUserProductRegistryRootKey();
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"
Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Thank you - that solved the issue.
Surprised that this was not added to migrtion.h
#define acrxProductKey acdbHostApplicationServices()->getMachineRegistryProductRootKey