.NET

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

[VB.NET] AcedPostCommand 2013

701 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

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"

Moderator
Alexander.Rivilis
Posts: 1,449
Registered: ‎04-09-2008
Message 2 of 3 (697 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: 34
Registered: ‎09-23-2011
Message 3 of 3 (672 Views)

Re: [VB.NET] AcedPostCommand 2013

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

Thanks !

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!