View previous topic :: View next topic |
Author |
Message |
sleets
Joined: 29 Jun 2007 Posts: 27
|
Posted: Sun Jul 01, 2007 10:10 am Post subject: how to fix the dfl with core32 conflict? |
|
|
dfl.internal.winapi conflict with core32.win32.winuser;
Code: |
import std.stdio;
import std.string;
import std.c.windows.windows;
import std.c.windows.com;
import dfl.internal.winap;
import win32.winuser;
int main()
{
return 1;
}
|
bud this...
Code: |
OPTLINK (R) for Win32 Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
E:\dmd\import\win32\winuser.obj(winuser) Offset 01619H Record Type 0091
Error 1: Previous Definition Different : _HWND_TOP
E:\dmd\import\win32\winuser.obj(winuser) Offset 01671H Record Type 0091
Error 1: Previous Definition Different : _HWND_BOTTOM
E:\dmd\import\win32\winuser.obj(winuser) Offset 01684H Record Type 0091
Error 1: Previous Definition Different : _HWND_TOPMOST
E:\dmd\import\win32\winuser.obj(winuser) Offset 01699H Record Type 0091
Error 1: Previous Definition Different : _HWND_NOTOPMOST
|
the core32 project is Inactive, but i need oleobject of core32;
the dfl with (Bindings.win32 or jun.win32) conflict too.
|
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Fri Jul 06, 2007 11:20 am Post subject: Re: how to fix the dfl with core32 conflict? |
|
|
Yes, core32 redefines the winapi stuff; this happens when the compiler comes with incomplete sources.
If there's enough interest perhaps I could make DFL core32 compatible. |
|
Back to top |
|
|
|