Results 1 to 2 of 2

Thread: API vs .net

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    3

    API vs .net

    Hey all,

    I have been writing a project in Vb .net 2005 and I need to access a 3rd party application. It's mostly basic stuff... for example pulling the background image off of the app or recognizing when a button pops up. I have been reading up on the subject and it seems that microsoft suggests using the .net framework over the windows API for various reasons.

    It seems that all of the .net stuff does not work correctly or I am just implimenting it poorly. On the other hand, I am getting the same error (PINVOKE stack imbalance) for many of the API calls. My question is this, for what I am looking to do, which of the options would be better suited (api or .net) and furthermore... What would be a good reference?? Preferably a good book as opposed to constantly referencing msdn. Thanks in advance,

    -- Joe
    Last edited by leslyroag; Feb 27th, 2006 at 11:13 PM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: API vs .net

    Generally speaking the only way to interact with the interface of applications outside of your own is through API calls.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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