Re: Problem closing app with big UDT
- From: David Kerber <ns_dkerber@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 22 Nov 2006 07:29:09 -0500
In article <45640ea6.174195498@xxxxxxxxxxxxxxxx>, erewhon@xxxxxxxxxx
says...
On Tue, 21 Nov 2006 19:23:56 -0500, David Kerber
<ns_dkerber@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
In article <u5YSTFcDHHA.3604@xxxxxxxxxxxxxxxxxxxx>, Dan@xxxxxxxx says...
This same structure works with no trouble in
Delphi.
Are you trying to pass the UDT between VB and Delphi, or do you just mean
that the Delphi equivalent works fine?
Passing it back and forth between a Delphi .dll to a VB application.
Yes, we are aware of the alignment issue, and have designed with that in
mind. ALL the data is of one of 3 types: Long, Double, or Byte array.
All the array sizes are multiples of 4, so the 4-byte alignment should
be maintained throughout unless we screwed up somewhere. We didn't
think of passing the whole thing as a byte array, and it's too late to
go back and rework it now.
It would take about 1 hour max to re-work it
In any one app, maybe, but this dll is in production use in several
different apps, in 3 different languages.
.....
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
.
- Follow-Ups:
- Re: Problem closing app with big UDT
- From: Bob O`Bob
- Re: Problem closing app with big UDT
- References:
- Problem closing app with big UDT
- From: David Kerber
- Re: Problem closing app with big UDT
- From: Dan Barclay
- Re: Problem closing app with big UDT
- From: David Kerber
- Re: Problem closing app with big UDT
- From: J French
- Problem closing app with big UDT
- Prev by Date: Re: picture control pset performance?
- Next by Date: Re: Sub Main or Form1 as startup?
- Previous by thread: Re: Problem closing app with big UDT
- Next by thread: Re: Problem closing app with big UDT
- Index(es):
Loading