I'm writing a test CORBA Stateless server. After reading Dan Miser's
excellent explanation of why Params and OwnerData aren't working and
fixing it in corbastd.pas, I started passing VarArrays on the OwnerData
to get the packetrecords property working. Thanks to the Fix (and my
adding OwnerData to the Params Fix) the Variant is passing through with
no problems.
Then I decided that if I added the pfInKey to ProviderFlags on the
server (using the designer) I could pick it up on the client side (from
the metadata) and automatically send all the fields that make the key
unique in a VarArray so packetrecords finds the correct record (much
like the example on the DEMOS directory, but generic). This would allow
me to have only one event handler for all the clientdatasets.
But it turns out that pfInKey is not being passed from the server to the
client!
Is this a bug or are ProviderFlags not supposed to pass through? I'll
try to find another approach in the meantime, but I'd like to know if I
can trust the many metadata properties that are coming in at the field
level.
Thanks,
- David
PS: MANY Thanks to Dan Miser for his posted fix for Params. It's made my
program possible again!
PS2: I fully expect Borland to post a fix for the OwnerData and Params
bug. Don't let me down!
Sent via Deja.com http://www.deja.com/
Before you buy.