MIDL1003 Error While Compiling ActiveX

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
somtam
New Cone
New Cone
Posts: 2
Joined: 03 Nov 2006 04:38
Contact:

MIDL1003 Error While Compiling ActiveX

Postby somtam » 03 Nov 2006 04:58

Hi all,

I've been trying to build the VLC from source, with one goal being to expose some additional functionality through the activex control.

Compilation fails when it tries to process the activex control's idl file. Here is an example where I tried rerunning the make file for the activex control only:

$ make
make all-am
make[1]: Entering directory `/home/scott/vlc-0.9.0-svn/activex'
midl -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl.h
axvlc.idl
Microsoft (R) 32b/64b MIDL Compiler Version 6.00.0361
Copyright (c) Microsoft Corporation 1991-2002. All rights reserved.
Processing .\axvlc.idl
midl : command line error MIDL1003 : error returned by the C preprocessor (-1073
741515)
make[1]: *** [axvlc_idl.c] Error 2
make[1]: Leaving directory `/home/scott/vlc-0.9.0-svn/activex'
make: *** [all] Error 2


This is accompanied by the dreaded Microsoft popup asking whether I want to submit this error to Microsoft.


I am using the daily snapshot from 20061103. I have set my environment variables, for use with midl, to:

export PATH=$PATH:"/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/Tools/Bin":"/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin"
export INCLUDE="C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include"
export MIDL="midl"


I have spent a lot of time on this without any positive results. Any help would be greatly appreciated.

Thanks in advance.

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 51 guests