04-15-2011 12:00 AM
Greetings again KM3,
I took a few minutes to recreate the code snippet you showed previously.
If you are still getting the 3005 error, follow these steps:
- You need to create the ActiveX refnum differently.
- Do not create it from the block diagram.
- On the front panel, open the Controls Palette and select Refnum»Automation Refnum.
- Right-Click on the refnum and select Select ActiveX Class»Browse....
- Select the appropriate item from the list (Note: it might be beneficial to select Show Createable Items only)
I can confirm that the Create Point method throws the error you described. Again, that error (2147467259) is very vague and most likely due to improper use of the API functions. Unfortunately, the GEPlugin API is a bit outside of my expertise; the question of what methods/libraries are needed to acheive the result you are looking for may be best directed to the Google groups. From what I can tell, the methods called from that library simply don't perform the action you are trying to acheive.
Hope this helps a little.
Michael G
04-15-2011 12:53 AM