Re: MIDL file query
- From: Sue King <cati@xxxxxxxxxxxxx>
- Date: Thu, 10 Aug 2006 20:49:48 +1000
Gary Chang[MSFT] wrote:
Hi Sue,No problem except that for historical reasons I need to compile the file using a non-MS compiler, and it complains. I have to change the static to extern to make it compile.
That's OK. MIDL just generates the code to declare an MIDL_TYPE_FORMAT_STRING object with external visible, then use the "static" define it. The "extern" declares the static storage class object, so there is no problem using the "static" to define it.
At this stage, I can compile and run the output from MIDL V2, but although I can get the output from MIDL V6 (latest SDK) to compile by changing static to extern, as yet have been unable to get it to run without crashing - I think in the RpcServerListen routine the first time a call is made from the client. Are there any gotchas I should know about or other tips for using MIDL V6 with other compilers ? Is there a document somewhere that specifies what settings are needed ?
Thanks,
Sue
.
- Follow-Ups:
- Re: MIDL file query
- From: "Gary Chang[MSFT]"
- Re: MIDL file query
- References:
- MIDL file query
- From: Sue King
- RE: MIDL file query
- From: "Gary Chang[MSFT]"
- MIDL file query
- Prev by Date: help needed in sending an array of strings to VB App from C dll
- Next by Date: Re: WSAyncSelect in Multithreading
- Previous by thread: RE: MIDL file query
- Next by thread: Re: MIDL file query
- Index(es):
Relevant Pages
|