D1: Trying to update Juno Library to 1.076
a11e99z
black80 at bk.ru
Fri Aug 23 16:49:07 UTC 2019
On Friday, 23 August 2019 at 16:09:16 UTC, jicman wrote:
> On Friday, 23 August 2019 at 16:02:38 UTC, a11e99z wrote:
>> On Friday, 23 August 2019 at 16:00:00 UTC, a11e99z wrote:
>>> On Friday, 23 August 2019 at 14:02:36 UTC, jicman wrote:
>>>> On Thursday, 22 August 2019 at 19:59:55 UTC, jicman wrote:
>>>
>>> cuz I tried compile app
>>>> void main() { VARIANT a, b; VarCmp( &a, &b, 0, 0).writeln; }
>>> with DMD for x86/m32 & x64/m64 and I also failed
>>> but LDC can compile for x64
>>> (x86 its failed too but probably cuz my ENV setupped for x64)
>>
>> if somebody will try to compile that whole D-code for testing
>>
>> import std, core.sys.windows.oaidl, core.sys.windows.oleauto;
>> void main() {
>> VARIANT a, b;
>> VarCmp( &a, &b, 0, 0 ).writeln;
>> }
>
> That looks like D2 code. I am trying to compile D1 code. I
> think the linker is not getting something right.
right now problem exists with linker/libs only, compiler see all
used VarXXX
u can download LDC (if it exists) for D1 and try to compile
program for D1
import std.stdio;
// i dont know right Windows modules for D1 so import what u have
void main() {
VARIANT a, b;
VarCmp( a, b, 0, 0 ); // D1 version cuz was VarCmp( ref
VARIANT, ... )
}
More information about the Digitalmars-d-learn
mailing list