CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: using tapi3.dll

  1. #1
    Join Date
    Feb 2005
    Posts
    126

    using tapi3.dll

    I'm using visual studio 2005 and wish to use the tapi3.dll. I was told its included in vs 2005 but cant figure out how. I've tried registering the dll and doing as follows:

    using Tapi3;

    What am i doing wrong? Please help!

  2. #2
    Join Date
    Feb 2005
    Posts
    4

    Red face Re: using tapi3.dll

    PLease try using

    [DllImport ("advapi32.dll")]
    public extern static bool AbortSystemShutdown(string IPaddress);


    write the DLL name in the above space and the function you going to use
    you have to declare them as above and use it in ur code....
    please check this and tell me if it works...
    Nobody is Perfect, I am Nobody..................

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured