开发者

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 …

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜