Getlinks with 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am running 2012 64 bit on Win 7. I have an external .exe, using VB.net, that works fine in a 32 bit environment. However, while testing it on a 64 bit system I keep having problems with the getlinks. Specifically:
---------------------------------------------
index is long
entityset is a selection set
objids is an array of longs <-- I have also tried an array of objects with no luck
linkTemplate is a CAO.LinkTemplate
linkTypes is an Integer
For index = 0 To entitySet.Count - 1
objIds(index) = entitySet.Item(index).ObjectID
Next index
linkSel = dbConnect.GetLinks(linkTemplate, objIds, linkTypes) <-- errors here
------------------------------------------------------------------------------------
If I use "entitySet.Item(index).ObjectID" my return value is something like - 8796083315392
howver if I use "entitySet.Item(index).ObjectID32" my return value is something like - 42
I have looked on the boards and around the Net and have seen many references to this but I just have not seen much in the way of a fix.
Any help is greatly appreciated.
Thanks,
JB