By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,715 Members | 1,773 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,715 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.