std.stdio.File is throwing with the message of: "Access Violation"
Ruby The Roobster
michaeleverestc79 at gmail.com
Wed Aug 18 20:26:44 UTC 2021
On Wednesday, 18 August 2021 at 17:54:47 UTC, Paul Backus wrote:
> On Wednesday, 18 August 2021 at 17:42:53 UTC, Ruby The Roobster
> wrote:
>> Output(Given to me by a message box that display's
>> Throwable.msg in it's body):
>> Access Violation
>>
>> Is this a bug, or me being stupid? If it's the latter, than
>> tell me what went wrong. I am using DMD 2.097.2
>
> It's a bug in your code. "Access Violation" means your program
> tried to access out-of-bounds memory.
In addition, I figured out that if I moved the code outside of
WndProc() everything worked fine, so I think it's a Win32 issue.
More information about the Digitalmars-d-learn
mailing list