Welcome to the COE Discussion Forum! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.


Register Today
COE 2009 Annual PLM Conference & TechniFair

COE DISCUSSION FORUM
Subject: -

You are not authorized to post a reply.   
Page 1 of 212 > >>
Author Messages
COE-FORUM-USER

23 Aug 2001 06:38 AM
Hi,

How can I make use of the return value in case of the method AddNewIntersection? I've tried to use the constant HRESULT and IDLRETVAL as follows:

If HRESULT = S_OK Then
.......
.......
End If

The above code is in a loop. But the problem is that the value of HRESULT happens to be S_OK always. The same code is behaving differently when used as follows:

If HRESULT <> E_FAIL Then
.......
.......
End If

I don't understand why?

The above code was written in a macro.

Any suggestions?

Thanks in advance,
Gopi.


Author: Gopi Prasad Mudragada
You are not authorized to post a reply.
Page 1 of 212 > >>




ActiveForums 3.6

    

401 North Michigan Avenue, Chicago, IL 60611-4267 | (312) 321-5153 | (800) COE-CALL (U.S.)