468,771 Members | 1,930 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,771 developers. It's quick & easy.

Compilation of VC 6 COM Code invokes 64 bit processing MIDL compiler

I have COM dll code written in VC 6.0. When i tried
compiling this code in VC 7, The MIDL cmpiler gets called
twice. i.e. it initially compiles fully & immediately a
line - 64 bit processing' comes, followed by the 64 bit
compilation of the IDl file. The comlpilation goes thro'
the full stage and then the StdAfx.cpp is compiled.

I have another similar VC 6 COM dll code that gets
compiled without invoking the 64 bit processing of the
MIDL Compiler.

Hence i want to avoid this 64 bit processing. Please let
me know if you have any thoughts on this. I have copied
the piece of the command line message that calls the 64
bit processing.
Deleting intermediate files and output files for
project 'ACNDDDV', configuration 'Release|Win32'.
Performing MIDL step
Microsoft (R) 32b/64b MIDL Compiler Version 6.00.0361
Copyright (c) Microsoft Corporation 1991-2002. All rights
reserved.
Processing .\ACNDDDV.idl
ACNDDDV.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\oaidl.idl
oaidl.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\objidl.idl
objidl.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\unknwn.idl
unknwn.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\wtypes.idl
wtypes.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\basetsd.h
basetsd.h
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\guiddef.h
guiddef.h
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\ocidl.idl
ocidl.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\oleidl.idl
oleidl.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\servprov.idl
servprov.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\urlmon.idl
urlmon.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\msxml.idl
msxml.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\oaidl.acf
oaidl.acf
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\ocidl.acf
ocidl.acf
64 bit Processing .\ACNDDDV.idl
ACNDDDV.idl
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\oaidl.idl
oaidl.idl
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\objidl.idl
objidl.idl
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\unknwn.idl
unknwn.idl
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\wtypes.idl
wtypes.idl
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\basetsd.h
basetsd.h
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\guiddef.h
guiddef.h
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\ocidl.idl
ocidl.idl
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\oleidl.idl
oleidl.idl
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\servprov.idl
servprov.idl
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\urlmon.idl
urlmon.idl
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\msxml.idl
msxml.idl
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\oaidl.acf
oaidl.acf
64 bit Processing C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\include\ocidl.acf
ocidl.acf
Compiling...
StdAfx.cpp

The below snippet is when I compile the similar COM VC 6.0
dll in which the 64 bit processing is not invoked:

Microsoft (R) Development Environment Version 7.10.3077.
Copyright (C) Microsoft Corp 1984-2001. All rights
reserved.
------ Rebuild All started: Project: ACNHLBCT,
Configuration: Release Win32 ------

Deleting intermediate files and output files for
project 'ACNHLBCT', configuration 'Release|Win32'.
Creating Type Library...
Microsoft (R) 32b/64b MIDL Compiler Version 6.00.0361
Copyright (c) Microsoft Corporation 1991-2002. All rights
reserved.
Processing .\ACNHLBCT.idl
ACNHLBCT.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\oaidl.idl
oaidl.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\objidl.idl
objidl.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\unknwn.idl
unknwn.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\wtypes.idl
wtypes.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\basetsd.h
basetsd.h
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\guiddef.h
guiddef.h
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\ocidl.idl
ocidl.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\oleidl.idl
oleidl.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\servprov.idl
servprov.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\urlmon.idl
urlmon.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\msxml.idl
msxml.idl
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\oaidl.acf
oaidl.acf
Processing C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\include\ocidl.acf
ocidl.acf
Compiling...
StdAfx.cpp
Nov 17 '05 #1
0 1759

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Michael Gaab | last post: by
1 post views Thread by morphius | last post: by
7 posts views Thread by fidlee | last post: by
28 posts views Thread by Platonic Solid | last post: by
2 posts views Thread by Bjoern | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.