std.stdio.File is throwing with the message of: "Access Violation"
Ruby The Roobster
michaeleverestc79 at gmail.com
Wed Aug 18 17:56:53 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.
When I removed those two lines of code, the program ran perfectly
without displaying any error or throwing any exception...
More information about the Digitalmars-d-learn
mailing list