ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AcDbDatabaseReactor

5 REPLIES 5
Reply
Message 1 of 6
varadan01
739 Views, 5 Replies

AcDbDatabaseReactor

Please provide me a sample code with EntryPoint to invoke and implement AcDbDatabaseReactor functions.

With Regards,
GVaradarajan
5 REPLIES 5
Message 2 of 6

ObjectARX SDK:

1) samples\editor\mfcsamps\modeless

2) samples\reactors\dbreact_dg

 

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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
Expert Elite Member

Message 3 of 6

while trying to implement DbReact.sln from ObjectARX SDK in a new ObjectARXSolution in visual studio 2008,the following errors occuring:       

Error    1    error LNK2005: "class AsdkAppDocGlobals * gpAsdkAppDocGlobals" (?gpAsdkAppDocGlobals@@3PAVAsdkAppDocGlobals@@A) already defined in acrxEntryPoint.obj    DbReact.obj    React
Error    2    fatal error LNK1169: one or more multiply defined symbols found    E:\vani_august\React\Win32\Debug\AsdkReact.arx    React

 

I herewith attached the files in that solution as a text file for your reference. please provide any solutions to fix the above errors.

 

With Regards,
GVaradarajan
Message 4 of 6

You instantiate gpAsdkAppDocGlobals in DbReact.h which included twice: from DbReact.cpp and acrxEntryPoint.cpp

 

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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
Expert Elite Member

Message 5 of 6

After fixing the above issue, my code is as in the text file attached below; and this code is successfully compiled but when try apploading its ".arx" file to AutoCAD 2012,its throwing a below error in command prompt: Command: appload 捡硲湅牴偹楯瑮 not found in asdkreact.arx AcRxDynamicLinker failed to load 'e:\vani\react\win32\debug\asdkreact.arx' C:\Program Files\Autodesk\AutoCAD 2012 - English\acad.exeUnable to load AsdkReact.arx file. Please provide a solution to fix the above issue and to load ".arx' file and debug the code successfully.

With Regards,
GVaradarajan
Message 6 of 6

Comment (or delete) class CReactApp.

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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
Expert Elite Member

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost