Question on example on MSDN
I have been trying to use http://msdn.microsoft.com/en-us/library/akfttx8c(v=VS.90).aspx example for VB to see how virtual function works but the example used on MSDN doesn't even have a sub main!
I tried playing around with it but can't get it working. Anyone have an idea on how it should be setu开发者_Go百科p? Thanks!
Just add the following Main
:
Module AppEntryPoint
Sub Main()
TestPoly()
End Sub
End Module
And yes, that should have been obvious from the description in the MSDN article …
精彩评论