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

[VB.NET] AcedPostCommand 2013

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
AdriDicri
1413 Views, 2 Replies

[VB.NET] AcedPostCommand 2013

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

2 REPLIES 2
Message 2 of 3

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
Expert Elite Member

Message 3 of 3

Thanks !

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost