.NET

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

[VB.NET] AcedPostCommand 2013

669 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,432
Registered: ‎04-09-2008
Message 2 of 3 (665 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 (640 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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.