RE: Convert Int32 to Byte[] (UCOMIStream::Write)

From: Brian Reed (BrianReed_at_discussions.microsoft.com)
Date: 08/24/04


Date: Tue, 24 Aug 2004 16:31:01 -0700

That worked. I figured there had to be an easier way to do this. Thanks for
pointing it out to me!

"jamie" wrote:

>
> This is an easy one....
> system.BitConverter
>
>
> >-----Original Message-----
> >I am looking at using the UCOMIStream interface to
> support some older
> >components. I need to write some Int32 parameters to the
> stream and seem to
> >figure out how to convert an Int32 to a byte[] parameter.
> >
> >The only thing I can think of or have seen is to byte
> shift and hand create
> >a byte[]. This seems quite unnecessary and I am
> wondering if another method
> >exist to perform this conversion?
> >.
> >
>



Relevant Pages

  • Re: OT: postgresql 8 for RH9 / RHE 3
    ... for RHE or FC? ... Thank for pointing this out. ... > Scroll down the page and look for the FC3 mirror link. ...
    (Fedora)
  • Re: Inserting rows
    ... If you select the entire row first then Ctrl + Shift + +will ... Jamie ...
    (microsoft.public.excel.worksheet.functions)
  • Multiple Lookups
    ... I'm new to excel's advanced features and could really do with some help ... Sheet 1 has the dates and a column for the results and column for shift ... Jamie Dow ...
    (microsoft.public.excel.programming)
  • Re: replace unicode characters by &#number; representation
    ... On Sat, 21 Feb 2004, Ben Morrow wrote: ... Thanks for pointing that out. ... I wasn't properly aware of the feature. ... > which will leave the conversion until the data is output. ...
    (comp.lang.perl.misc)
  • RE: Find cells containing a specified number of characters
    ... auto-filter. ... Thanks for pointing me in the right direction. ... Jamie ... Prev by Date: ...
    (microsoft.public.excel.misc)