MIDL problems

M

McGragger

I am getting an exception when I make my new RPC call. I think I may be
going about this IDL all wrong. I would like to pass in an integer
pointer and a character array pointer to the server. I would like the
server to change the character array and then make the integer its
size. The integer changing is working fine. My character array is not.
Here is a stripped sown sample of what I am trying.


typedef long I32;
typedef char * Purl;

IrsI32 H2CurlReq ( [in,out] I32
*ptrUrlLength,
[out,size_is(*ptrUrlLength)] Purl
ptrURL );
 
V

Victor Bazarov

McGragger said:
I am getting an exception when I make my new RPC call. I think I may
be going about this IDL all wrong. [...]

Wrong newsgroup. You most likely need to post to a newsgroup with
"microsoft" in its name.

V
 
T

Thomas Tutone

McGragger said:
I am getting an exception when I make my new RPC call.

What's an RPC call?

http://en.wikipedia.org/wiki/RPC

Do you mean a Remote Procedure Call?
I think I may be
going about this IDL all wrong.

What's an IDL?
I would like to pass in an integer
pointer and a character array pointer to the server. I would like the
server to change the character array and then make the integer its
size. The integer changing is working fine. My character array is not.
Here is a stripped sown sample of what I am trying.


typedef long I32;
typedef char * Purl;

IrsI32 H2CurlReq ( [in,out] I32

What is an IrsI32? What is [in,out]?
*ptrUrlLength,
[out,size_is(*ptrUrlLength)] Purl


What is [out, size_iz etc.?
ptrURL );

Is this supposed to be C++? It doesn't look like it.

Best regards,

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top