Hi, all.
I built Ruby 1.8.1 under Cygwin this morning and found had an error
compiling the WinOLE extension. The error was:
win32ole.c:5010: error: `GUIDKIND_DEFAULT_SOURCE_DISP_IID' undeclared
(first use in this function)
This was easily fixed by adding the line:
#include <olectl.h>
to the file.
I wonder if this is a problem with my Cywin install or whether others have
seen it as well.
-mark.
Hi.
(2004/08/12 02:46)
This was easily fixed by adding the line:
#include <olectl.h>
to the file.
This line was added by eban. So it'll be included in ruby-1.8.2.
1.1 (suke 01-Jun-02): #include <ocidl.h>
1.20 (eban 18-Feb-04): #include <olectl.h>
1.1 (suke 01-Jun-02): #include <ole2.h>
Revision : 1.16.2.4
Author : 'eban'
State : 'Exp'
Lines : +2 -1
Description :
* ext/win32ole/win32ole.c: need to include <olectl.h> on Cygwin.
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/win32ole/win32ole.c.diff?r1=1.16.2.3;r2=1.16.2.4;f=h
···
Mark Probert <probertm@nospam-acm.org> wrote:
Date : 2004/2/18 8:22:18