.NET

Reply
Active Contributor
AdriDicri
Posts: 33
Registered: ‎09-23-2011
Message 1 of 3 (609 Views)
Accepted Solution

[VB.NET] AcedPostCommand 2013

609 Views, 2 Replies
06-07-2012 07:27 AM

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

Moderator
Alexander.Rivilis
Posts: 1,398
Registered: ‎04-09-2008
Message 2 of 3 (605 Views)

Re: [VB.NET] AcedPostCommand 2013

06-07-2012 07:53 AM in reply to: AdriDicri

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"


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Active Contributor
AdriDicri
Posts: 33
Registered: ‎09-23-2011
Message 3 of 3 (580 Views)

Re: [VB.NET] AcedPostCommand 2013

06-07-2012 01:33 PM in reply to: Alexander.Rivilis

Thanks !

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community