Thread: How can I do an automatic login?

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Post How can I do an automatic login?

    How can I do an automatic login?

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    491
    login into what? You realize there are abotu 4 billion applications that require some sort of login so you are going to have to be slightly less vague.

  3. #3
    Magically delicious LuckY's Avatar
    Join Date
    Oct 2001
    Posts
    856
    Use the auto_login function in the STL.

  4. #4
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    A little while ago I made three auto-login programs each for a different IM program. The three IM programs being MSN, AIM and Yahoo. What I did was use the Win32 API to find the windows of the IM then find the child windows of those(these being the username and password edit boxes) filled those in and sent a BN_CLICK message to the Sign In buttons. With MSN they didn't use a button, so I had to improvise. Is this what you are talking about making auto-login programs for applications or for webpages?
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  5. #5
    Registered User
    Join Date
    Nov 2002
    Posts
    491
    Umm. Don't the MSN, Yahoo, and AIM clients already do that for you?

  6. #6
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    Yeah but you still need to fill in the password box, and my programs open and then fill in all the login fields. Plus it was a learning experience it's not like I'm going to sell them.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  7. #7
    Registered User
    Join Date
    Nov 2002
    Posts
    491
    AIM stores your password for you, as do the other clients I've used. AIM even has a check box that says "login automatically". But oh well, it proabbly was quite a godo Win32API learning experience, no doubt in that.

  8. #8
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I see it's a lot more complicated than I thought.
    Thanks anway though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. unable to login to facebook
    By zykostar in forum C# Programming
    Replies: 4
    Last Post: 03-30-2010, 02:04 PM
  2. Login
    By brietje698 in forum C++ Programming
    Replies: 3
    Last Post: 10-07-2007, 09:51 AM
  3. Having problems with a login script...
    By Junior89 in forum C++ Programming
    Replies: 6
    Last Post: 01-06-2006, 12:05 PM
  4. automatic variables
    By FOOTOO in forum C Programming
    Replies: 5
    Last Post: 03-08-2005, 06:30 PM
  5. Automatic Database login prompt
    By Colin in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2003, 08:27 AM