64bit midl compiler not able to generate tlb

V

Vijay Chegu

Hi All,

I am trying to port a perfectly working 32bit COM module developed in
VC++ from 64bit.

I am not able to generate .tlb file through midl compiler.

I set the property thru the following.

Property Pages->midl->output->Generate Type Library : Yes

Following is the error i get.

------------------>
------ Build started: Project: notify, 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.
midl : command line warning MIDL1009 : unknown argument ignored
".\Notify.idl"
64 bit Processing \Release\notify.tlb
notify.tlb
c1 : fatal error C1083: Cannot open source file:
'\Release\notify.tlb': No such file or directory
midl : command line error MIDL1003 : error returned by the C
preprocessor (2)

Build log was saved at
"file://e:\s2io-64-2\Notify\IA64\Release\BuildLog.htm"
notify - 2 error(s), 1 warning(s)

<------------------


If i dont generate type library, i.e. set this attribute to "No", then
every thing goes well.

My build machine setup is :
1)Windows 2003 standard server
2)VC++ .NET 2003 (v7.1)
2)Platform SDK April 2003

I am opening VC++ IDE from platform sdk's "Set win Svr 2003 64-bit
Build Env(Retail)" cmd window,
devenv /useenv
this opens vc++ ide with all paths set to win64 includes and
libraries.

Any help will be greatly appreciated.

Regards,
Vijay Chegu
//midlerrorvijaychegu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top