Re: to!string and windows programming

2012-12-24 Thread Phil Lavoie
On Monday, 24 December 2012 at 18:28:04 UTC, Andrej Mitrovic wrote: On 12/24/12, Phil Lavoie wrote: I am currently going through the much recommended book "Programming Windows" and experiencing some stuff. One of which was formatting the hInstance and prevHInstance into a string. You need to

Re: to!string and windows programming

2012-12-24 Thread Andrej Mitrovic
On 12/24/12, Phil Lavoie wrote: > I am currently going through the much recommended book > "Programming Windows" and experiencing some stuff. One of which > was formatting the hInstance and prevHInstance into a string. You need to initialize the runtime or you will get crashes as soon as the GC a

to!string and windows programming

2012-12-24 Thread Phil Lavoie
Yo, I am currently going through the much recommended book "Programming Windows" and experiencing some stuff. One of which was formatting the hInstance and prevHInstance into a string. WHICH CRASHES THE PROGRAM! I hope I am doing something wrong! Please scope the code below and let me know ei