I noticed in the documentation for the IMAQ 1408 that the imgSnap and imgGrab functions are defined as follows:
rval = imgSnap(SESSION_ID sid, void* bufAddr)
rval = imgGrab(SESSION_ID sid, void* bufAddr, uInt32 syncOnVB)
I have an existing VC++ 6.0 application that has been working nicely with this interface.
Now that we've upgraded to the IMAQ 1409, I see these two functions are now defined as:
rval = imgSnap(SESSION_ID sid, void** bufAddr)
rval = imgGrab(SESSION_ID sid, void** bufAddr, uInt32 syncOnVB)
Note that in each the bufAddr is now a pointer to a pointer rather than a pointer.
Now I'll admit I'm new to this, but why did the API change? This change has broken all my existing code that was using these function
s (granted it's only a few lines to change but..) Am I missing something here? Usually published API's don't change, they're added to, this change broke code.
-Paul