COM application on IA 64 machine

Hi all,
I have COM out of server which compiles and works fine
on IA 32 bit platform, but when I compile and run it
gives error.

The error is while calling the method of Out of proc
server which takes an array as input through a
pointer.

It gives me RPC_S_INVALID_BOULD problem.

I noticed some strange behaviour. When I make the
pointer which contains the array member NULL the call
will go the server through RPC, but when all the
parameters are valid it will give INVALID_BOUND
problem.

After doing some trial and error what I concluded is
that I am missing something in Packing of the
structures.

So I tried various packing to my structure which
contains the array. When I give

#pragama pack(1) it gives me E_OUTOFMEMORY error, and
when I give #prgama pack(8) it gives same invlaid
array bound error.

Am I missing anything in compilation option, or Midl
option.

Any suggestions will be of great help.
Thanx,
Manish


Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com