02-20-2008 07:25 PM
rval = imgSetBufferElement(Bid, i, IMG_BUFF_ADDRESS, (uInt32)&iBuf[bufSize/bytesPerPixel*i]);
I get this error:
"The operation is not supported for 64-bit applications. using buffer at 1447755856"
This runs fine on a 32 bit system.
does that mean I don't need to set this element? Are the elements changed on 64 bit systems? Is there a reference document for the changes to the 64bit library?
This is running on Vista64 with the 64 bit library.
thanks...
02-20-2008 08:12 PM
found in the niimaq.h file that "imgSetBufferElement()" is obsolete, used "imgSetBufferElement2()" instead and it is working.
03-25-2008 06:41 PM
03-26-2008 11:13 AM
03-26-2008 11:33 AM
BUFLIST_ID buffList;
result = imgCreateBufList(2, &buffList);
result = imgSetBufferElement2(buffList, 1, IMG_BUFF_ADDRESS, 0x1234567812345678);
result = imgGetBufferElement(buffList, 1, IMG_BUFF_ADDRESS, &ptr);
After this ran, ptr was 0x1234567812345678
-Eric
03-26-2008 12:07 PM
03-26-2008 03:03 PM
03-26-2008 05:27 PM
03-26-2008 05:54 PM
03-31-2008 01:03 PM