<?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 Help.. adui.h error in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7973994#M6663</link>
    <description>&lt;P&gt;i'll try to make UI in autocad ....and i use adui.h and acui.h ....&lt;/P&gt;&lt;P&gt;but it gives me error like....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(45): error C2061: syntax error: identifier 'CString'&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(48): error C2065: 'CWnd': undeclared identifier&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(48): error C2065: 'dlg': undeclared identifier&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(48): error C2065: 'CFont': undeclared identifier&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(48): error C2065: 'font': undeclared identifier&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(48): error C2182: 'AdUiSubstituteShellFont': illegal use of type 'void'&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(56): error C2143: syntax error: missing ';' before '*'&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int&lt;BR /&gt;1&amp;gt;c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\afxv_w32.h(16): fatal error C1189: #error: WINDOWS.H already included. MFC apps must not #include &amp;lt;windows.h&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pls help...&lt;/P&gt;</description>
    <pubDate>Wed, 02 May 2018 11:40:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-02T11:40:36Z</dc:date>
    <item>
      <title>Help.. adui.h error</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7973994#M6663</link>
      <description>&lt;P&gt;i'll try to make UI in autocad ....and i use adui.h and acui.h ....&lt;/P&gt;&lt;P&gt;but it gives me error like....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(45): error C2061: syntax error: identifier 'CString'&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(48): error C2065: 'CWnd': undeclared identifier&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(48): error C2065: 'dlg': undeclared identifier&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(48): error C2065: 'CFont': undeclared identifier&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(48): error C2065: 'font': undeclared identifier&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(48): error C2182: 'AdUiSubstituteShellFont': illegal use of type 'void'&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(56): error C2143: syntax error: missing ';' before '*'&lt;BR /&gt;1&amp;gt;c:\autodesk\autodesk_objectarx_2018_win_64_and_32_bit\inc\adui.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int&lt;BR /&gt;1&amp;gt;c:\program files (x86)\microsoft visual studio 14.0\vc\atlmfc\include\afxv_w32.h(16): fatal error C1189: #error: WINDOWS.H already included. MFC apps must not #include &amp;lt;windows.h&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pls help...&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 11:40:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7973994#M6663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-02T11:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help.. adui.h error</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974224#M6664</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;Your project have to be support MFC. So you have to include some afxXXX.h files. See \samples\editor\mfcsamps\acuisample_dg\StdAfx.h&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 13:17:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974224#M6664</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2018-05-02T13:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help.. adui.h error</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974238#M6665</link>
      <description>&lt;P&gt;Hi;&lt;/P&gt;&lt;P&gt;Have you compiled a sample project, or did you create your own project?&lt;/P&gt;&lt;P&gt;If you have created a new project with the Arx wizard, you must turn on MFC support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 13:21:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974238#M6665</guid>
      <dc:creator>zrobert</dc:creator>
      <dc:date>2018-05-02T13:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help.. adui.h error</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974268#M6666</link>
      <description>&lt;P&gt;i compiled the sample and it works fine ...&lt;/P&gt;&lt;P&gt;but in my my project when i use adui.h and acui.h header files i got errors...&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 13:32:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974268#M6666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-02T13:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help.. adui.h error</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974275#M6667</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;You have to create new project with MFC support in order to use ObjectARX MFC Extension (e.g. adui.h/acui.h and so on).&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 13:36:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974275#M6667</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2018-05-02T13:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help.. adui.h error</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974277#M6668</link>
      <description>&lt;P&gt;i saw the file... i that only&amp;nbsp;#include "stdafx.h" is written...&lt;/P&gt;&lt;P&gt;i add the resource (dialogbox) in my project via visual studio..&lt;/P&gt;&lt;P&gt;but when i add Header files adui.h and acui.h i got errors...&lt;/P&gt;&lt;P&gt;and also i add the library which is say in the objectarx refrence guide...for using acui.h and adui.h&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 13:36:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974277#M6668</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-02T13:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help.. adui.h error</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974292#M6669</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;i saw the file... i that only&amp;nbsp;#include "stdafx.h" is written...&lt;/P&gt;
&lt;P&gt;i add the resource (dialogbox) in my project via visual studio..&lt;/P&gt;
&lt;P&gt;but when i add Header files adui.h and acui.h i got errors...&lt;/P&gt;
&lt;P&gt;and also i add the library which is say in the objectarx refrence guide...for using acui.h and adui.h&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My recommendation was see stdafx.&lt;STRONG&gt;h&lt;/STRONG&gt; (not stdafx&lt;STRONG&gt;.cpp&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;This code is required for MFC support:&lt;/P&gt;
&lt;PRE&gt;#if defined(_DEBUG) &amp;amp;&amp;amp; !defined(AC_FULL_DEBUG)
#define WAS_DEBUG
#undef _DEBUG
#endif


#if _MSC_VER &amp;gt;= 1000
#pragma once
#endif // _MSC_VER &amp;gt;= 1000

#ifndef WINVER
#define WINVER 0x501
#endif

#define VC_EXTRALEAN        // Exclude rarely-used stuff from Windows headers

#include &amp;lt;afxwin.h&amp;gt;         // MFC core and standard components
#include &amp;lt;afxext.h&amp;gt;         // MFC extensions

#ifndef _AFX_NO_OLE_SUPPORT
#include &amp;lt;afxole.h&amp;gt;         // MFC OLE classes
#include &amp;lt;afxodlgs.h&amp;gt;       // MFC OLE dialog classes
#include &amp;lt;afxdisp.h&amp;gt;        // MFC OLE automation classes
#endif // _AFX_NO_OLE_SUPPORT


#ifndef _AFX_NO_DB_SUPPORT
#include &amp;lt;afxdb.h&amp;gt;          // MFC ODBC database classes
#endif // _AFX_NO_DB_SUPPORT

#ifndef _AFX_NO_DAO_SUPPORT
#include &amp;lt;afxdao.h&amp;gt;         // MFC DAO database classes
#endif // _AFX_NO_DAO_SUPPORT

#ifndef _AFX_NO_AFXCMN_SUPPORT
#include &amp;lt;afxcmn.h&amp;gt;         // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT


#ifdef WAS_DEBUG
#define _DEBUG
#undef WAS_DEBUG
#endif

&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 13:44:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7974292#M6669</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2018-05-02T13:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help.. adui.h error</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7977279#M6670</link>
      <description>&lt;P&gt;i add this code and it works fine...&lt;/P&gt;&lt;P&gt;and i try to do same like sample given in objectarx ...&lt;/P&gt;&lt;P&gt;by making dialog in visual studio..make class of it ....and when i call it in my project ...aotucad get crash...&lt;/P&gt;&lt;P&gt;gives assertion failed in&amp;nbsp;afxwin1.inl line 24&lt;/P&gt;&lt;P&gt;pls help&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 13:39:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7977279#M6670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-03T13:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help.. adui.h error</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7977456#M6671</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;Without your full code it is impossible to understand what wrong.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 14:46:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/help-adui-h-error/m-p/7977456#M6671</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2018-05-03T14:46:58Z</dc:date>
    </item>
  </channel>
</rss>

