I do not see anything wrong with the code. I tried on my machine and FunctionMain should be called. How did you verify that it is not called?
On a side note, while(true) is the common paradigm for putting an infinite loop.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Thread: What is wrong hereThreaded View
|
Click Here to Expand Forum to Full Width |