Working on a plugin

Discuss anything TunerPro related.

Moderators: Mangus, robertisaar, dex

Post Reply
erich
Posts: 3
Joined: Thu Feb 23, 2006 5:37 pm
Location: New Westminster, BC
Contact:

Working on a plugin

Post by erich »

So the plugin I'm working on for data acquisition is having a curious call order from the app.
When I click on the "Acquire Data (Connect/Disconnect)" toolbar icon, the plugin InitializeHardware() method is called (as expected), followed by the SetTimeouts() method (that is also expected) then immediately followed by the ReleaseHardware() method (not expected at all!)
The Initializehardware() and SetTimeouts() methods both return S_OK, so I a little stumped at why Releasehardware() is called right away.

Any ideas?

Thanks
User avatar
Mangus
TunerPro Author
Posts: 1958
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

Hi Eric,

Are you still having trouble with this? If so, I'll help you out in email (you're already in my inbox, I believe).

-M
***************************************
TunerPro Author
1989 Trans Am
Post Reply