Re: Can dmd compile a favicon.ico to exe file ?

2023-05-11 Thread ryuukk_ via Digitalmars-d-learn

On Friday, 12 May 2023 at 01:41:10 UTC, John Xu wrote:
I saw c# program's exe, often have an favicon.ico image bound 
together, which can be dragged to desktop.


Can dmd compile an icon image to an exe also?


you can, if i remember correctly

create a ``ressource.rc`` file

and paste:

```
IDI_ICON1 ICON DISCARDABLE "myicon.ico"
```

then put your ``mycon.ico`` file next to it

```
my_project\
app.d
ressource.rc
myicon.ico
```

```
dmd app.d ressource.rc
```

it should create an .exe that has the icon


Can dmd compile a favicon.ico to exe file ?

2023-05-11 Thread John Xu via Digitalmars-d-learn
I saw c# program's exe, often have an favicon.ico image bound 
together, which can be dragged to desktop.


Can dmd compile an icon image to an exe also?


Re: Any working REPL program on windows? DREPL doesn't compile

2023-05-11 Thread John Xu via Digitalmars-d-learn

On Thursday, 23 March 2023 at 13:27:00 UTC, jmh530 wrote:

I've composed a simple gui, partially solved my problem:
to compile/test simple codes quickly:
https://github.com/xucs007/dln