Re: windows 95 RPC
From: vipin (vipin_at_nospam.com)
Date: 05/24/04
- Next message: vipin: "Re: RPC on windows 95"
- Previous message: EJ: "several Networks on PC, which first?"
- In reply to: vipin: "windows 95 RPC"
- Next in thread: Eugene Gershnik: "Re: windows 95 RPC"
- Reply: Eugene Gershnik: "Re: windows 95 RPC"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 May 2004 15:31:23 +0530
Actually the problem is midl can't generate the output
for an interface like this:-
void TestFunc([out] int *psize , [out,size_is(*psize)] int **ptr);
looks like, it can't take size_is(....) in the parameter attributes.
Now I wrapped it to something like this and it seems to go through fine.
typedef struct {
int size;
[size_is(size)] int **psize;
}Wrapper;
and the new interface like this
void testfunc([out] int *psize , [out] Wrapper *ptr);
midl /no_robust /Oic test.idl generates the stubs properly.
Am I missing something. Can you point me to the proper documentation in msdn
for these discrepancies with windows 98.
thanks
vipin
"vipin" <anonymous@discussions.microsoft.com> wrote in message
news:989CFF9A-6C28-496F-B5CE-2FC92FB6364B@microsoft.com...
> Hi,
> If I use user-defined types for parameters in my interface, the midl
compiler doesn't generate stubs for windows 95,but only winnt4.0 and up. I
pass /no_robust and /Oic to the midl compiler.
>
> But if I use primitive typeslike char*, char**,etc, it creates stubs
properly for win9x.
>
> Can someone tell me how to overcome this?
>
> thanks
> vipin
- Next message: vipin: "Re: RPC on windows 95"
- Previous message: EJ: "several Networks on PC, which first?"
- In reply to: vipin: "windows 95 RPC"
- Next in thread: Eugene Gershnik: "Re: windows 95 RPC"
- Reply: Eugene Gershnik: "Re: windows 95 RPC"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|