Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8316027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:15:53+00:00 2026-06-08T21:15:53+00:00

I called Rasphone.exe from my C code using ShellExecuteEx to create a dial-up connection.

  • 0

I called “Rasphone.exe” from my C code using “ShellExecuteEx” to create a dial-up connection. I found different behaviour on Windows XP and Windows 7.

Behavior in Windows XP :
The RASDial connection gets created without any Pop-up Window.

Behaviour in Windows 7 :
A DialUp window Pops up asking number to be dialed. I didnt enter any number, and clicked “Dial” button. Connection gets connected. The below is the snap-shot window which I get in windows 7?

enter image description here

What is the reason for the difference in behaviour?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T21:15:54+00:00Added an answer on June 8, 2026 at 9:15 pm

    What is the reason for the difference in behaviour?

    Windows 7 is a different operating system than Windows XP. Before Metro was invented, the Windows team didn’t have anything to do, so they sat around changing a bunch of old code just to see if anyone noticed. Looks like you’ve found one of the things they changed.

    No worries, though. The code you had was doomed in the first place. The proper way to dial a network connection is not to launch the network dialer application, it’s to call the API provided for this purpose.

    The name of the API you want is WinINet, and you’ll find the documentation for it here. In particular, you’ll be interested in the Establishing a Dial-Up Connection to the Internet section, which mentions the InternetDial function.

    Of course, they’ve changed this, too. Starting with Windows Vista, this function uses the RAS API internally to establish the connection. Skip the middle man by calling the RasDial or RasDialDlg functions directly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I called a method from another controller using this AnotherController oriCon = new AnotherController();
content called by AJAX content requires different shapes and sizes of cluetips (I use
Each time CurlFile() is called it creates a new object from the ProcessObject class.
There is a website called Gild.com that has different coding puzzles/challenges for users to
PokerFrame (called from a viewer class) worked perfectly, but once I tried to convert
I called new Date(Jan 4) and found the default year is 2001 a=new Date(Jan
I have a view called save_service_request. At the end of the code it redirects
I called this function once per frame and it took my FPS from >400
Does this code get called for every object creation in Java, because every object
I have a table called create with only one column called name of type

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.