cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
dushyant
Enthusiast

addon.apx not a valid win32 application

Hello,
On trying to compile an addon on visual-studio-2017, I get the error: "addonName.apx is not a valid win32 application".. What's the problem here? (I have compiled this addon earlier and it worked.)

Thanks.
1 Solution

Accepted Solutions
dushyant wrote:
Can you please tell where exactly is this path to be set in Visual Studio?
In the project Properties, under the section Configuration Properties > Debugging > Command
Just set a path to the target version of Archicad
Ralph Wessel BArch
Central Innovation

Go to post

7 Replies 7
In what context did you see this error? In a sense, the report is correct - an add-on is not an application.
Ralph Wessel BArch
Central Innovation
dushyant
Enthusiast
I get this error while trying to build the addon from the Visual-Studio-Solution..
I assume this was when you tried to debug or run the add-on? If so, you need to set the executable path for debugging to the Archicad application.
Ralph Wessel BArch
Central Innovation
dushyant
Enthusiast
Can you please tell where exactly is this path to be set in Visual Studio?
Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
APX Add-Ons are dynamic librarys (DLL) on Windows platform so those cannot be executed.
The executable is the ARCHICAD.exe, that will load your Add-On, so you should set the path of ARCHICAD.exe.
After ARCHICAD was opened, you can load your Add-On from the Add-On Manager dialog (if it wasn't loaded yet).
dushyant wrote:
Can you please tell where exactly is this path to be set in Visual Studio?
In the project Properties, under the section Configuration Properties > Debugging > Command
Just set a path to the target version of Archicad
Ralph Wessel BArch
Central Innovation
dushyant
Enthusiast
Thanks a lot!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!