Can anyone help me out on these two issues (I'm using VC7, on windows XP):
1) How can I set up the MIDL compiler to target Windows 98 & ME?
2) Also, how can I avoid that my program is linked to use oleaut32.dll
version 3.5, instead of the better distributed version 2.4?
Ad 1:
When I compile an idl file with MIDL option /target NT40 , the following
error is generated:
.....\objidl.idl(306) : error MIDL2455 : The feature cannot be used on the
target system : [async_uuid]
Looking at this line in the objidl.idl this async_uuid is enclosed in the
condition __midl >= 500
So if I set the __midl value < 500 and recompile again, I get another error:
.....\objidl.idl(1634) : error MIDL2455 : The feature cannot be used on the
target system : [async]
Obviously not a good solution.
Thanks in advance,
Jaap Havinga
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/midl/midl/_
no_robust.asp
--
thanks,
liju
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jaap Havinga" <j.ha...@planet.nl> wrote in message
news:b73g65$t1e$1...@reader08.wxs.nl...
The MIDL compiler switches /env, /server, /sstub, and /out affect the
server stub file.
Note The MIDL compiler provided with Microsoft RPC uses a different
command-line syntax than the DCE IDL compiler.
Best Regards
Jian Shen
I added these options in the MIDL command line settings tab, field
'Additonal options'. The build log shows these flags are added.
All other standard included idl files are processed without error.
To reproduce this:
Create a new project using the mfc-application template, check automation in
advanced options. Add the midl options and compile the project's idl file.
Any other suggestions please?
Thanks
Jaap Havinga
--
Jaap Havinga
Author of ThreeDimSim
http://www.havingasoftware.nl
"Liju Thomas [MS]" <lijut...@microsoft.com> wrote in message
news:ugrecCtA...@TK2MSFTNGP10.phx.gbl...
--
thanks,
liju
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jaap Havinga" <j.ha...@planet.nl> wrote in message
news:b7lo2m$qva$1...@reader10.wxs.nl...
/target NT40"ThanksJaap Havinga
--
Jaap Havinga
Author of ThreeDimSim
http://www.havingasoftware.nl
"Liju Thomas [MS]" <lijut...@microsoft.com> wrote in message
news:usb1cqRB...@TK2MSFTNGP12.phx.gbl...
Platform SDK: Microsoft Interface Definition Language (MIDL)
/no_robust
The /no_robust switch directs the MIDL compiler to explicitly disable the
/robust command line feature. The /robust command line switch and its
associated features is the default compiler setting for MIDL version 6.0.359
and later.
midl /no_robust
Remarks
With MIDL version 6.0.359 and later, the MIDL compiler sets /robust by
default. The /no_robust command line switch must be used to disable the
/robust feature if generated stubs need to run on Microsoft Windows NT,
Windows 95/98, or Windows Me.
--
thanks,
liju
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jaap Havinga" <j.ha...@planet.nl> wrote in message
news:b7n55s$37t$1...@reader08.wxs.nl...