Unmanaged Code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • issa82developer
    New Member
    • Nov 2007
    • 1

    #1

    Unmanaged Code

    iam using C# to automate Microsoft Word Document.

    when i wanted to create a new World Application i used the following code:

    Word._Applicati on oWord;
    oWord = new Word.Applicatio n();

    and i found that Word._Applicati on is an interface and also Word.Applicatio n.

    The Question IS:

    how can i use the methods and properties of the object oWord, i mean its an object of an Interface so i have to implement these methods first.But as i saw
    i could use methods of the object oWord without need to write any Implementation? ??
    i dont understand the mechanism of that kind of structurs....?? ??
Working...