build dll project use VisualD with the "Use MS-COFF object file..." setting selected failed

rikki cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 26 00:00:37 PDT 2016


On 26/08/2016 6:52 PM, magicdmer wrote:
> On Friday, 26 August 2016 at 06:38:01 UTC, Daniel Kozak wrote:
>> That image is too small, so I can't  see it :)
>> Dne 26.8.2016 v 08:26 magicdmer via Digitalmars-d-learn napsal(a):
>>> I use VisualD create a windows dll project , and select the "Use
>>> MS-COFF object file fromat for win32" . when i build it ,it display
>>> the error follow ,look at the picture
>>>
>>> I use dmd 2.071.1
>>>
>>> https://s14.postimg.org/a4wcv74ct/image.png
>
> sorry,i post wrong url,look follow url, can you tell me how to modify
> the thread
>
> https://s14.postimg.io/cyzi8n6j5/image.png

Okay so your Windows language is non-english, that'll be it.
You need to be looking into the encoding that Visual Studio is using for 
you files. Something to do with the BOM or hasn't even been set to utf-8 
isn't quite right.

If in doubt, convert via e.g. notepad++ and see what VS does.


More information about the Digitalmars-d-learn mailing list