Re: POLYTEXTOUT problems..( including declarations )
- From: "Mike Williams" <Mike@xxxxxxxxxxxxxxxxx>
- Date: Wed, 5 Oct 2005 12:11:11 +0100
"J French" <erewhon@xxxxxxxxxx> wrote in message
news:43438dcc.262950625@xxxxxxxxxxxxxxxxxxxxxxx
> That is interesting, if it works, then it suggests that
> VB only 'copies' a UDT if it contains a String
It works fine, Jerry. The way I see it (at the moment) VB simply sends a
pointer to the start of the UDT data block if every element it contains has
a fixed length (ie is not itself a pointer to something else). So Longs,
Integers and fixed lengtrh strings will probably be okay (except in some
cases there may be some problems with VB's alignment of Longs to a four byte
boundary in a UDT, so that a Long followed by one Integer would be shifted
by two bytes from where you might otherwise expect it to be). Also, there
may be similar alignment problems with fixed length strings if the length of
the string is not a multiple of four. However, in the case of the (modified)
POLYTEXT type everything is a Long (including the four Longs in the RECT
type) so it all should be fine.
Mike
.
- Follow-Ups:
- Re: POLYTEXTOUT problems..( including declarations )
- From: J French
- Re: POLYTEXTOUT problems..( including declarations )
- References:
- POLYTEXTOUT problems..
- From: Dan Hinrichs
- POLYTEXTOUT problems..( including declarations )
- From: Dan Hinrichs
- Re: POLYTEXTOUT problems..( including declarations )
- From: Mike Williams
- Re: POLYTEXTOUT problems..( including declarations )
- From: Mike Williams
- Re: POLYTEXTOUT problems..( including declarations )
- From: J French
- Re: POLYTEXTOUT problems..( including declarations )
- From: Dan Hinrichs
- Re: POLYTEXTOUT problems..( including declarations )
- From: Mike Williams
- Re: POLYTEXTOUT problems..( including declarations )
- From: J French
- POLYTEXTOUT problems..
- Prev by Date: Re: Help with recordset filter!
- Next by Date: Re: Problem when executing application from batch file
- Previous by thread: Re: POLYTEXTOUT problems..( including declarations )
- Next by thread: Re: POLYTEXTOUT problems..( including declarations )
- Index(es):
Relevant Pages
|