Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Include Files
Topic Summary: Looking for include files in same dir as script?
Created On: 14-Dec-2006 06:46
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 14-Dec-2006 06:46
User is offline View Users Profile Print this message


Michael Cvitanovich

Posts: 21
Joined: 31-Mar-2006

I have a script that includes a link file with a statement like:
#include <myIncludeFile.inc>

The script and the include file are in the same directory.
If I use the Tools\Edit DXL... menu option to load and run the script all is fine, regardless of where I put the files (as long as the script and the include file are together).

I put the files together in a subdirectory of the addins directory so that I could get a menu in DOORS.
If I load the script as before it works fine, but if I use the DOORS menu item just created the include file can't be found.

I needed to change the include statement to be the following:
#include <myAddinDir/myIncludeFile.inc>

Am I doing something wrong, or does DOORS not look in the same directory for include files if you run from the menu?

Can anyone help?

Thanks, Michael.

Report this to a Moderator Report this to a Moderator
 14-Dec-2006 08:26
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Michael,

your question looks a little bit strange, because the answer is three messages above your question in the other thread you asked it

So please look here
into Louie's posting ... there is all information you need.

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.