I need to put -3.402823e38 into a 2d 32bit float safearray, however vc7 converts this value to -3.402821e38 when I try to assign this value to a float??
WHY??
Type: Posts; User: therealwill
I need to put -3.402823e38 into a 2d 32bit float safearray, however vc7 converts this value to -3.402821e38 when I try to assign this value to a float??
WHY??
Hello
I'm having a weird problem. I've moved to .net from vc++6 and my project converts fine, compiles etc, but the property pages are completely blank! I've reinstalled three times to no avail....
Here you go - messy but I only just got it to work. No good reason to use the vector XYZ. It gets the xyz coords of a point from an ascii file and (will) whack them in an image.
Just I have 300MB...
Hello
This might be simple to answer, but please bear with me. My image processing program needs to use various types ie short, long, float. I get a pointer (*pMod) to a pixel which is used to...
I finally found the answer. For some reason I have to get a pointer to a pointer of a safearray, then use indirection to get a pointer?!
long *pMod
SAFEARRAY *pData =...
Ok, here's some more. I get a blank variant array from a pixelblock object (ArcGIS API) and want to populate it using values from another pixelblock.
VARIANT vOutPixelArray;...
I have a 2d safearray obtained from a variant, that needs to be populated with long values
I access the data:
hr = SafeArrayAccessData(pData, (void HUGEP* FAR*)&pDbl);
Here I need to input the...
I Can't find a function to input data to the safearray once it is locked, other than safearrayputelement - any ideas?
Thanks, I'll look into that. Any further tips on safearray functions?
I'll know the variant type before the loop if that makes any difference.
ESRI's ArcGIS. You should see the amount...
I'm looping through an image, reading the pixel values and manipulating them. The pixel value can only be returned as a variant, therefore I'm going to need to use variant.dblVal or .iVal etc to get...