<?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: in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/problem-in-opening-arx/m-p/310651#M40132</link>
    <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;So just to be clear :&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;You have an ARX application. This ARX application &lt;BR /&gt;
is dependent on an external text file, but is not dependent on any other &lt;BR /&gt;
external application. When you run your ARX from the debugger everything is &lt;BR /&gt;
fine. When you load you ARX (using ARX LOAD or APPLOAD) from AutoCAD (not &lt;BR /&gt;
debugging) you app generates an exception error.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Without seeing any code, the only thing I can guess &lt;BR /&gt;
is that you aren't specifying the full filepath for your text file. If this was &lt;BR /&gt;
the case, then (when debugging) the current directory would most likely be set &lt;BR /&gt;
as your project directory, but when not debugging the current directory would be &lt;BR /&gt;
different. If you are trying to open a text file with the wrong filepath and not &lt;BR /&gt;
testing for success/failure, then I can imagine you would throw an exception. &lt;BR /&gt;
But I'm sure you understand - this is just a guess.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;(I'm assuming that if you create a ARX application &lt;BR /&gt;
shell using the Wizard (no additional code), that this loads into AutoCAD with &lt;BR /&gt;
no errors.)&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Are you an ADN member (&lt;A&gt;&lt;BR /&gt;
href="http://www.autodesk.com/adn"&amp;gt;www.autodesk.com/adn&lt;/A&gt;)? If so, you could &lt;BR /&gt;
submit your problem (with sample code) through DevHelp Online on the members &lt;BR /&gt;
only ADN website.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Cheers,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Stephen&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"vasushri" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:vasushri@hotmail.com"&amp;gt;vasushri@hotmail.com&lt;/A&gt;&amp;gt; wrote in &lt;BR /&gt;
  message &lt;A&gt;&lt;BR /&gt;
  href="news:f0f61ae.1@WebX.maYIadrTaRb"&amp;gt;news:f0f61ae.1@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;Sir, &lt;BR /&gt;
  &lt;BR /&gt;Sorry for my question being not clear.Actually I have a rogram which will &lt;BR /&gt;
  design a Plate Girder Bridge and the design results like Flange Width,Span etc &lt;BR /&gt;
  are stored in a text file.Iam creating my arx application with ObjectARX &lt;BR /&gt;
  appwizard only.In my arx application as I said earlier first I read the &lt;BR /&gt;
  dimensions of the Plate Girder from the text file and then I try to draw the &lt;BR /&gt;
  Plate Girder with my own entities.In Project settings Debug executable session &lt;BR /&gt;
  I have given the path of acad.exe.When Iam running the program it opens &lt;BR /&gt;
  autocad.When I load my application now it is able to draw the Plate Girder &lt;BR /&gt;
  Bridge without any problem. &lt;BR /&gt;Instead without running my program If I open &lt;BR /&gt;
  autocad and try to load my arx file,It is giving exception.I want to give this &lt;BR /&gt;
  arx file to some other people where I cannot give the source code.I can only &lt;BR /&gt;
  give my arx file.But if I do so now it is not working.I have tried to make my &lt;BR /&gt;
  problem clear.How to solve this problem. &lt;BR /&gt;
  &lt;P&gt;regards, &lt;BR /&gt;Subhashree.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Tue, 16 Jul 2002 22:35:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2002-07-16T22:35:58Z</dc:date>
    <item>
      <title>problem in opening arx</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/problem-in-opening-arx/m-p/310648#M40129</link>
      <description>Sir,&lt;BR /&gt;
In my program instead of giving static values for creating entities,the values for creating the entity is stored in a file and Iam reading those values by c++ file reading option.When I execute the program from vc editor and open the arx file it is working fine.But when I open autocad straight and try to load arx file it is giving some exception.In my case I want to open the file without executing program.How to achieve that.Please help me.&lt;BR /&gt;
&lt;BR /&gt;
regards,&lt;BR /&gt;
Subhashree.</description>
      <pubDate>Mon, 15 Jul 2002 04:34:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/problem-in-opening-arx/m-p/310648#M40129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-07-15T04:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem in opening arx</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/problem-in-opening-arx/m-p/310649#M40130</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Hi Vasushri,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;I'm sorry,but I don't understand you question. What &lt;BR /&gt;
do you mean by '&lt;FONT face="Times New Roman" size="3"&gt;In my case I want to open &lt;BR /&gt;
the file without executing program&lt;/FONT&gt;'.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;I can't think of any definite reason why debugging &lt;BR /&gt;
your application would produce different results than loading the same build &lt;BR /&gt;
into AutoCAD, unless you're trying to do something before AutoCAD has &lt;BR /&gt;
initialised, or your project settings are not correct (maybe linking to the &lt;BR /&gt;
debug MFC libraries or something).&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Are you using the ObjectARX Wizard (included in the &lt;BR /&gt;
ObjectARX 2002 download)? If you do, you will at least be sure that your &lt;BR /&gt;
ObjectARX project is set up correctly. If you can eliminate that possibility &lt;BR /&gt;
then you can home in on the real cause.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Sorry I can't suggest anything more concrete - &lt;BR /&gt;
perhaps you could try adding a little more detail to your question so I might &lt;BR /&gt;
understand.&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;BR /&gt;Cheers,&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;Stephen Preston&lt;BR /&gt;Developer Technical Services&lt;BR /&gt;Autodesk&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&amp;nbsp;&lt;BR /&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"vasushri" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:vasushri@hotmail.com"&amp;gt;vasushri@hotmail.com&lt;/A&gt;&amp;gt; wrote in &lt;BR /&gt;
  message &lt;A&gt;&lt;BR /&gt;
  href="news:f0f61ae.-1@WebX.maYIadrTaRb"&amp;gt;news:f0f61ae.-1@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;Sir, &lt;BR /&gt;
  &lt;BR /&gt;In my program instead of giving static values for creating entities,the &lt;BR /&gt;
  values for creating the entity is stored in a file and Iam reading those &lt;BR /&gt;
  values by c++ file reading option.When I execute the program from vc editor &lt;BR /&gt;
  and open the arx file it is working fine.But when I open autocad straight and &lt;BR /&gt;
  try to load arx file it is giving some exception.In my case I want to open the &lt;BR /&gt;
  file without executing program.How to achieve that.Please help me. &lt;BR /&gt;
  &lt;P&gt;regards, &lt;BR /&gt;Subhashree.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 16 Jul 2002 08:51:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/problem-in-opening-arx/m-p/310649#M40130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-07-16T08:51:18Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/problem-in-opening-arx/m-p/310650#M40131</link>
      <description>Sir,&lt;BR /&gt;
Sorry for my question being not clear.Actually I have a rogram which will design a Plate Girder Bridge and the design results like Flange Width,Span etc are stored in a text file.Iam creating my arx application with ObjectARX appwizard only.In my arx application as I said earlier first I read the dimensions of the Plate Girder from the text file and then I try to draw the Plate Girder with my own entities.In Project settings Debug executable session I have given the path of acad.exe.When Iam running the program it opens autocad.When I load my application now it is able to draw the Plate Girder Bridge without any problem.&lt;BR /&gt;
Instead without running my program If I open autocad and try to load my arx file,It is giving exception.I want to give this arx file to some other people where I cannot give the source code.I can only give my arx file.But if I do so now it is not working.I have tried to make my problem clear.How to solve this problem.&lt;BR /&gt;
&lt;BR /&gt;
regards,&lt;BR /&gt;
Subhashree.</description>
      <pubDate>Tue, 16 Jul 2002 19:35:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/problem-in-opening-arx/m-p/310650#M40131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-07-16T19:35:36Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/problem-in-opening-arx/m-p/310651#M40132</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;So just to be clear :&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;You have an ARX application. This ARX application &lt;BR /&gt;
is dependent on an external text file, but is not dependent on any other &lt;BR /&gt;
external application. When you run your ARX from the debugger everything is &lt;BR /&gt;
fine. When you load you ARX (using ARX LOAD or APPLOAD) from AutoCAD (not &lt;BR /&gt;
debugging) you app generates an exception error.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Without seeing any code, the only thing I can guess &lt;BR /&gt;
is that you aren't specifying the full filepath for your text file. If this was &lt;BR /&gt;
the case, then (when debugging) the current directory would most likely be set &lt;BR /&gt;
as your project directory, but when not debugging the current directory would be &lt;BR /&gt;
different. If you are trying to open a text file with the wrong filepath and not &lt;BR /&gt;
testing for success/failure, then I can imagine you would throw an exception. &lt;BR /&gt;
But I'm sure you understand - this is just a guess.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;(I'm assuming that if you create a ARX application &lt;BR /&gt;
shell using the Wizard (no additional code), that this loads into AutoCAD with &lt;BR /&gt;
no errors.)&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Are you an ADN member (&lt;A&gt;&lt;BR /&gt;
href="http://www.autodesk.com/adn"&amp;gt;www.autodesk.com/adn&lt;/A&gt;)? If so, you could &lt;BR /&gt;
submit your problem (with sample code) through DevHelp Online on the members &lt;BR /&gt;
only ADN website.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Cheers,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;Stephen&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"vasushri" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:vasushri@hotmail.com"&amp;gt;vasushri@hotmail.com&lt;/A&gt;&amp;gt; wrote in &lt;BR /&gt;
  message &lt;A&gt;&lt;BR /&gt;
  href="news:f0f61ae.1@WebX.maYIadrTaRb"&amp;gt;news:f0f61ae.1@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;Sir, &lt;BR /&gt;
  &lt;BR /&gt;Sorry for my question being not clear.Actually I have a rogram which will &lt;BR /&gt;
  design a Plate Girder Bridge and the design results like Flange Width,Span etc &lt;BR /&gt;
  are stored in a text file.Iam creating my arx application with ObjectARX &lt;BR /&gt;
  appwizard only.In my arx application as I said earlier first I read the &lt;BR /&gt;
  dimensions of the Plate Girder from the text file and then I try to draw the &lt;BR /&gt;
  Plate Girder with my own entities.In Project settings Debug executable session &lt;BR /&gt;
  I have given the path of acad.exe.When Iam running the program it opens &lt;BR /&gt;
  autocad.When I load my application now it is able to draw the Plate Girder &lt;BR /&gt;
  Bridge without any problem. &lt;BR /&gt;Instead without running my program If I open &lt;BR /&gt;
  autocad and try to load my arx file,It is giving exception.I want to give this &lt;BR /&gt;
  arx file to some other people where I cannot give the source code.I can only &lt;BR /&gt;
  give my arx file.But if I do so now it is not working.I have tried to make my &lt;BR /&gt;
  problem clear.How to solve this problem. &lt;BR /&gt;
  &lt;P&gt;regards, &lt;BR /&gt;Subhashree.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 16 Jul 2002 22:35:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/problem-in-opening-arx/m-p/310651#M40132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-07-16T22:35:58Z</dc:date>
    </item>
  </channel>
</rss>

