Hello everyone !
I'm trying to migrate my autocad2012 addon to 2013, but i've got a problem with the AcedPostCommand.
Here's my code in 2012 :
Declare Auto Function acedPostCommand Lib "acad.exe" _
Alias "?acedPostCommand@@YAHPB_W@Z" _
(ByVal strExpr As String) As Integer
but in the 2013 it doesn't work. Autocad says :
"System.EntryPointNotFoundException: Impossible de trouver le point d'entrée '?acedPostCommand@@YAHPB_W@Z' dans la DLL 'acad.exe'."
Can someone help me?
Thanks !
Adri DiCri
ps : sorry for my english, french is my mother tongue
Solved! Go to Solution.
Solved by Alexander.Rivilis. Go to Solution.
Try to change "acad.exe" with "accore.dll" in your's declaration.
Also for AutoCAD x64 Alias is "?acedPostCommand@@YAHPEB_W@Z" and for AutoCAD x86 Alias is "?acedPostCommand@@YAHPB_W@Z"
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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