.NET

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

[VB.NET] AcedPostCommand 2013

534 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,346
Registered: ‎04-09-2008
Message 2 of 3 (530 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 (505 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
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

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

Ask the Community