November 01, 2012
On 2012-11-01 18:09, Zhenya wrote:

> It's a magic.I didn't nothing but now it works.
> )

Strange, but great that it works :)

-- 
/Jacob Carlborg
November 02, 2012
> It's a magic.I didn't nothing but now it works.

There is no magic, sorry, but something changed. Analyze it!
It may help all of us in the future.

Oleg.

November 02, 2012
On Friday, 2 November 2012 at 07:48:30 UTC, Oleg Kuporosov wrote:
>
>> It's a magic.I didn't nothing but now it works.
>
> There is no magic, sorry, but something changed. Analyze it!
> It may help all of us in the future.
>
> Oleg.

I saw that the last error caused by

pragma(lib,"../dwt/lib/dwt-base.lib");

But path is valid
November 02, 2012
On Friday, 2 November 2012 at 15:02:29 UTC, Zhenya wrote:
> On Friday, 2 November 2012 at 07:48:30 UTC, Oleg Kuporosov wrote:
>>
>>> It's a magic.I didn't nothing but now it works.
>>
>> There is no magic, sorry, but something changed. Analyze it!
>> It may help all of us in the future.
>>
>> Oleg.
And the first error(Unexpected OPTLINK Termination) appeared when I build it with debug version of swt.Right, there is no magic)
November 02, 2012
On Friday, 2 November 2012 at 15:07:02 UTC, Zhenya wrote:
> On Friday, 2 November 2012 at 15:02:29 UTC, Zhenya wrote:
>> On Friday, 2 November 2012 at 07:48:30 UTC, Oleg Kuporosov wrote:
>>>
>>>> It's a magic.I didn't nothing but now it works.
>>>
>>> There is no magic, sorry, but something changed. Analyze it!
>>> It may help all of us in the future.
>>>
>>> Oleg.
> And the first error(Unexpected OPTLINK Termination) appeared when I build it with debug version of swt.Right, there is no magic)

I'm sorry that I didn't I have not noticed the details
November 02, 2012
On 2012-11-02 16:13, Zhenya wrote:

> I'm sorry that I didn't I have not noticed the details

Optlink can be very fragile sometime with these details, it's a known problem. There's already an alpha available of DMD that uses the Microsoft linker.

-- 
/Jacob Carlborg
November 02, 2012
> Optlink can be very fragile sometime with these details, it's a known problem. There's already an alpha available of DMD that uses the Microsoft linker.

Jacob, it is 64-bit only, not sure DWT is ready for 64.

Oleg.
November 02, 2012
> What you usually can do is try to pass the files in a different order to the compiler/linker. Also try different flags. I'm not very familiar with the Windows platform, try posting a the learn or main D newsgroup. If that fails there's an alternative linker, called "ulink" or similar, that you could try.

It's probably Unilink: ftp://ftp.styx.cabel.net/pub/UniLink/
I didn't have a chance use it.

Thanks,
Oleg.
November 02, 2012
On Wednesday, 31 October 2012 at 10:42:05 UTC, Zhenya wrote:
> Hi!
>
> As usual, I have everything not as it should :)
>
> I have built dwt.After that I have created MS VS solution,in which I have configured paths.And when I was trying to build helloworld,I received messagebox
> with this stuff:Unexpected OPTLINK Termination at EIP = 00428DA3
>
> Tell me please,what should I do to fix it?

http://d.puremagic.com/issues/show_bug.cgi?id=6144

An astoundingly annoying bug, but I've never found any alternative besides randomly changing things and hoping that Optlink accepts it. It's probably the most annoying bug I've ever found while using DMD simply because there's no easy workaround and it only seems to manifest itself in large applications. Luckily, not an issue on Linux or with GDC.
November 03, 2012
On 2012-11-02 21:28, Oleg Kuporosov wrote:

> Jacob, it is 64-bit only, not sure DWT is ready for 64.

Right, good point, it's not. More reason to make it ready for 64bit, any help is welcome :) .

-- 
/Jacob Carlborg