New and Create object

What is the difference between "NEW" and "CREATEOBJECT" . both are used for initatiation of classes ..

Hope you respond soon

Thanks and regards
arunlal

Comments

  • CreateObject should be used to to get an instance of a COM object or other unmanaged code. 'New' should be used for to get an instance of a managed code object. Look up more details if you need them on www.msdn.com.

    ~rlc
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion