[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev:950

From: "U.Nakamura" <usa garbagecollect.jp>
Date: Tue, 21 Feb 2006 19:54:36 +0900
Subject: [yarv-dev:950] Re: Application and Libraries on YARV

こんにちは、なかむら(う)です。

In message "[yarv-dev:948] Re: Application and Libraries on YARV"
    on Feb.21,2006 19:43:39, <ko1 atdot.net> wrote:
|  何かコツがあるんでしょうか。VC のバージョンが悪いのかな。

ruby.hより前にwindows.hをincludeしてはいけないのです。
というわけで、

--- swin\swin.h.orig	2006-02-05 22:38:13.000000000 +0900
+++ swin\swin.h	2006-02-21 19:51:32.099889100 +0900
@@ -17,2 +17,3 @@
 
+#include "ruby.h"
 #include <windows.h>
@@ -20,3 +21,2 @@
 #include <stdlib.h>
-#include "ruby.h"
 #include "larray.h"
--- swin\swinoledd.c.orig	2004-07-01 01:04:26.000000000 +0900
+++ swin\swinoledd.c	2006-02-21 19:51:35.424669900 +0900
@@ -21,2 +21,6 @@
 
+/* Ruby interfaces */
+#include "ruby.h"
+#include "swin.h"
+
 #define _INC_OLE 
@@ -40,6 +44,2 @@
 
-/* Ruby interfaces */
-#include "ruby.h"
-#include "swin.h"
-
 #define IDROPTARGET_NOTIFY_DRAGENTER	0

それでは。
-- 
U.Nakamura <usa garbagecollect.jp>



-- 
ML: yarv-dev quickml.atdot.net
使い方: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

       938 2006-02-20 14:29 [ko1 atdot.net       ] Application and Libraries on YARV       
       948 2006-02-21 19:43 ┗[ko1 atdot.net       ]                                       
->     950 2006-02-21 19:54  ┣[usa garbagecollect.j]                                     
       961 2006-02-22 00:08  ┃┣[ko1 atdot.net       ]                                   
       963 2006-02-22 02:14  ┃┗[zn mbf.nifty.com    ]                                   
       965 2006-02-22 02:23  ┃ ┗[usa garbagecollect.j]                                 
       970 2006-02-22 20:50  ┗[yukimi_sake mbi.nift]                                     
       971 2006-02-22 20:51   ┗[usa garbagecollect.j]