Search:

Type: Posts; User: therealwill

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,078

    value will not fit in type!!

    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??
  2. Replies
    0
    Views
    942

    VS2003 property pages

    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....
  3. Thread: Read line

    by therealwill
    Replies
    6
    Views
    1,438

    Here you go - messy but I only just got it to...

    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...
  4. Replies
    1
    Views
    1,500

    Redefinition of variables.

    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...
  5. Replies
    4
    Views
    2,864

    I finally found the answer. For some reason I...

    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 =...
  6. Replies
    4
    Views
    2,864

    Ok, here's some more. I get a blank variant...

    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;...
  7. Replies
    4
    Views
    2,864

    2D SafeArrays- input data

    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...
  8. Replies
    6
    Views
    1,364

    I Can't find a function to input data to the...

    I Can't find a function to input data to the safearray once it is locked, other than safearrayputelement - any ideas?
  9. Replies
    6
    Views
    1,364

    Thanks, I'll look into that. Any further tips on...

    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...
  10. Replies
    6
    Views
    1,364

    Obtaining real types from variants

    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...
Results 1 to 10 of 10