[OLE #3] Tests For COM Functions
Dmitry Timoshkov
dmitry at baikal.ru
Wed Dec 1 20:33:47 CST 2004
"Robert Shearman" <rob at codeweavers.com> wrote:
> I have only tried these tests on WinXP SP2. Please report
> if they fail on Win9x.
In order compile the tests with Platform SDK I applied the attached patch.
Under win2k SP4 I got:
marshal.c:898: Test failed: CoGetClassObject should have returned CO_E_SERVER_STOPPING instead of 0x80040154
Under Win95 the tests don't run due to missing APIs CoResumeClassObjects
and CoInitializeEx.
--
Dmitry.
-------------- next part --------------
--- marshal.c Thu Dec 02 02:31:14 2004
+++ marshal.c Thu Dec 02 02:20:18 2004
@@ -18,8 +18,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#define _WIN32_DCOM
#define COBJMACROS
-#include "windows.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "objbase.h"
#include "wine/test.h"
-------------- next part --------------
--- moniker.c Thu Dec 02 02:31:14 2004
+++ moniker.c Thu Dec 02 02:22:36 2004
@@ -18,8 +18,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#define _WIN32_DCOM
#define COBJMACROS
-#include "windows.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "objbase.h"
#include "wine/test.h"
More information about the wine-devel
mailing list