<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ACAPI_MenuItem_RegisterMenu returned -7003 in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-MenuItem-RegisterMenu-returned-7003/m-p/678271#M10593</link>
    <description>&lt;P&gt;I see. I've posted a possible solution in the other thread.&lt;BR /&gt;Here are some ideas for this problem:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;See if it goes away with a Release build&lt;/LI&gt;
&lt;LI&gt;Make sure the STR resource 32500 is available, set up and processed correctly&lt;/LI&gt;
&lt;LI&gt;Make sure you are also using ACAPI_MenuItem_Initialize in the Initialize function&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 30 Sep 2025 06:23:28 GMT</pubDate>
    <dc:creator>BerndSchwarzenbacher</dc:creator>
    <dc:date>2025-09-30T06:23:28Z</dc:date>
    <item>
      <title>ACAPI_MenuItem_RegisterMenu returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-MenuItem-RegisterMenu-returned-7003/m-p/678190#M10589</link>
      <description>&lt;P&gt;Hello. I have a function&amp;nbsp;ACAPI_MenuItem_RegisterMenu returing code -7003.&lt;BR /&gt;What does it mean?&lt;BR /&gt;There is no description for such error code in the Archicad API documentation.&lt;/P&gt;
&lt;P&gt;Thank you in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 11:22:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-MenuItem-RegisterMenu-returned-7003/m-p/678190#M10589</guid>
      <dc:creator>Emkave</dc:creator>
      <dc:date>2025-09-29T11:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_MenuItem_RegisterMenu returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-MenuItem-RegisterMenu-returned-7003/m-p/678206#M10590</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately it seems to be a very unspecific error. See &lt;STRONG&gt;API Development Kit xx.xxxx\Support\Modules\GSRoot\Definitions.hpp.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;There it says:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;enum ErrorType : GSErrCode {
	ErrRead			=	-19,	// == readErr		on Mac		/*I/O System Errors*/
	ErrDskFul		=	-34,	// == dskFulErr		on Mac		/*disk full*/
	ErrIO			=	-36,	// == ioErr			on Mac
	ErrEof			=	-39,	// == eofErr		on Mac		/*End of file*/
	ErrFnf			=	-43,	// == fnfErr		on Mac		/*File not found*/
	ErrParam		=	-50,	// == paramErr		on Mac
	ErrPerm			=	-54,	// == permErr		on Mac		/*permissions error (on file open)*/
	ErrWrPerm		=	-61,	// == wrPermErr		on Mac		/*write permissions error*/
	ErrMemoryFull	=  -108,	// == memFullErr	on Mac
	ErrNilHandle	=  -109,	// == nilHandleErr	on Mac
	ErrUserCanceled	=  -128,	// == userCanceledErr on Mac
	ErrTime			= -2015,	// == invalidTime	on Mac
	ErrNilPtr		= -7001,
	ErrEmptyHandle	= -7002,
	Error			= -7003,
	Cancel			= -7004,
	ExceptionError	= -7005
};
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you post more of the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 12:07:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-MenuItem-RegisterMenu-returned-7003/m-p/678206#M10590</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2025-09-29T12:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_MenuItem_RegisterMenu returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-MenuItem-RegisterMenu-returned-7003/m-p/678232#M10591</link>
      <description>&lt;P&gt;The code was:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;err = ACAPI_MenuItem_RegisterMenu (32500, 0, MenuCode_UserDef, MenuFlag_SeparatorBefore);&lt;/LI-CODE&gt;
&lt;P&gt;It was used in IFCHook_Test.cpp and&amp;nbsp; I was getting this error when I copied and pasted the entire example in order to solve my different issue with PropertyHook.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 15:31:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-MenuItem-RegisterMenu-returned-7003/m-p/678232#M10591</guid>
      <dc:creator>Emkave</dc:creator>
      <dc:date>2025-09-29T15:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_MenuItem_RegisterMenu returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-MenuItem-RegisterMenu-returned-7003/m-p/678271#M10593</link>
      <description>&lt;P&gt;I see. I've posted a possible solution in the other thread.&lt;BR /&gt;Here are some ideas for this problem:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;See if it goes away with a Release build&lt;/LI&gt;
&lt;LI&gt;Make sure the STR resource 32500 is available, set up and processed correctly&lt;/LI&gt;
&lt;LI&gt;Make sure you are also using ACAPI_MenuItem_Initialize in the Initialize function&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 30 Sep 2025 06:23:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-MenuItem-RegisterMenu-returned-7003/m-p/678271#M10593</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2025-09-30T06:23:28Z</dc:date>
    </item>
  </channel>
</rss>

