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: Different behaviour running DXL from inside vs outside of DOORS
Topic Summary: DXL problems from OLE clients
Created On: 23-Feb-2005 17:32
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.
Answer This question was answered by Paul Worrall, on Thursday, February 24, 2005 5:59 PM

Answer:
When you run DXL from the DXL Interaction window, 'current Module' is set to the module from whose menu you invoked the interaction window. When you run DXL via OLE, this is not the case, you have to tell it which module you want to work on, e.g by:

Module m = edit("/Path/To/Module")
Object o = current m
ack number o
 23-Feb-2005 17:32
User is offline View Users Profile Print this message


Luke Emmet

Posts: 5
Joined: 22-Feb-2005

see attached message below

Edited: 23-Feb-2005 at 17:39 by Luke Emmet
Report this to a Moderator Report this to a Moderator
 24-Feb-2005 10:39
User is offline View Users Profile Print this message


Luke Emmet

Posts: 5
Joined: 22-Feb-2005

Yes - within Doors I have opened a project and a module - and the DXL runs fine when I paste the following into the "DXL Interaction" box and Run it.
Object startObj = current;ack number startObj
I just want to get the same result from an external client. Is it necessary from the OLE interface to programmatically open a project and module - because what I want is for the user to choose a specific object and then to be able to see which one it is from the OLE client. thanks

Edited: 24-Feb-2005 at 10:55 by Luke Emmet
Report this to a Moderator Report this to a Moderator
 24-Feb-2005 13:30
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

Answer Answer
When you run DXL from the DXL Interaction window, 'current Module' is set to the module from whose menu you invoked the interaction window. When you run DXL via OLE, this is not the case, you have to tell it which module you want to work on, e.g by:

Module m = edit("/Path/To/Module")
Object o = current m
ack number o
Report this to a Moderator Report this to a Moderator
 24-Feb-2005 17:57
User is offline View Users Profile Print this message


Luke Emmet

Posts: 5
Joined: 22-Feb-2005

Thanks - that did it :-)
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.