Jump to content
Developer Wiki and Function Reference Links ×

Cast HANDLE to LONGINT?


Guest

Recommended Posts

Mark,

Can you describe the bigger goal that you are trying to accomplish?

Unless VS has changed in the last few years, you should know that handles are assigned to objects at a script-run level, not at a document level. So the longint connected to an object on one run might be completely different on the next. The only way to really identify an object on a document level, is to give it a unique name. You can create your own UID scheme, but there is also a function in the API (I think under utilities). Does this info change your approach?

HTH,

Josh

Link to comment
Guest Mark Flamer

I found a more efficent way to get the job done. I am aware of the handle and naming issues stated above. In this paticular situation I had a bizarre vision of needing to sort an array of struct by handles. Thanks for the input.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...