On Saturday, 5 July 2025 at 10:52:21 UTC, Steven Schveighoffer
wrote:
By using WinMain, You are bypassing the runtime startup.
Check out this article: https://wiki.dlang.org/D_for_Win32
-Steve
Thank you very much. It's working perfectly.
stef
On Saturday, 5 July 2025 at 10:39:13 UTC, stef wrote:
Hello,
I'm totally new using D. I'm trying to create a thread using
this code:
```d
…
extern (Windows)
int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
…
```
I'm testing this program using
Hello,
I'm totally new using D. I'm trying to create a thread using this
code:
```d
import std.stdio;
import core.thread;
import core.time;
import std.format;
import core.stdc.stdio;
void myThread()
{
for (int i = 0; i < 5; i++)
{
writefln("Message from secon
On Saturday, July 5, 2025 2:19:11 AM Mountain Daylight Time partypooper via
Digitalmars-d-learn wrote:
> On Saturday, 5 July 2025 at 08:08:08 UTC, Jonathan M Davis wrote:
> > On Friday, July 4, 2025 12:04:55 PM Mountain Daylight Time
> > partypooper via Digitalmars-d-learn wrote:
> >> [...]
> >
>
On Saturday, 5 July 2025 at 08:08:08 UTC, Jonathan M Davis wrote:
On Friday, July 4, 2025 12:04:55 PM Mountain Daylight Time
partypooper via Digitalmars-d-learn wrote:
[...]
The only time that a setter function would be triggered would
be assignment such as
[...]
Thanks for your thorough
On Friday, July 4, 2025 12:04:55 PM Mountain Daylight Time partypooper via
Digitalmars-d-learn wrote:
> On Friday, 4 July 2025 at 17:34:59 UTC, monkyyy wrote:
> > On Friday, 4 July 2025 at 17:15:48 UTC, partypooper wrote:
> > if you add ref to line 28 it works; there wont be a reasonable
> > way t