Solved

Using Win95 dialer with 16bit program

Posted on 1997-04-27
8
190 Views
Last Modified: 2013-12-16
I have written a winsock program for Win3.1. The program starts a dialer program (for example Trumpet) when necessary  and connects to the provider. When I try the same under Win95 with the standard Win95 dialer, I fail. The dialer is not started. Probably this does not work, because the winsock.dll of the dialer is a 32 bit dll. Is there any way to manage this? If not, can the dialer be started by hand without connecting to the provider and it does connect if it gets a request by my program?
Thanks!
0
Comment
Question by:mikel022697
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 2

Expert Comment

by:n3mtr
ID: 1745576
Have you tried bringing up the dialer by hand?
Its under My Computer->dialup networking
Connect to your providor then try the program.
0
 

Author Comment

by:mikel022697
ID: 1745577
If I start the dialer and connect by hand before I start my program everything works fine. But this should work automatically because a feature of my program is connecting to the Internet at a specified time.
0
 
LVL 2

Expert Comment

by:n3mtr
ID: 1745578
If people have internet explorer installed, it will bring up the dialer.  This is a feature of IE, it brings up the internet whenever a program needs it.
I have seen other programs bring up the dialer without the IE, but they were all 32bit programs.  It may be possible to do it in a 16 bit program, but I don't know how.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 1

Expert Comment

by:guardian angel
ID: 1745579
By default, Windows 95 doesn't call the dialer automatically unless you have MS Plus! installed. If you don't have Plus!, there is a registry patch (Autodial registry patch) available at www.tucows.com in the "Modem Dialers and Utilities for Window 95" section. The problem is, this only works with 32-bit apps and since your program was written for Win 3.1, it doesn't qualify and will not work with this. Sorry, I can't help but I hope the information serves you well. Good luck.
0
 

Author Comment

by:mikel022697
ID: 1745580
What's about the other possibility: Starting dialer by hand, but don't connect to the provider. Starting my program. If the program sends a request to the dialer, the dialer connects to the provider. I did test this but didn't work either.
Any hints?
0
 
LVL 1

Accepted Solution

by:
yoram earned 100 total points
ID: 1745581
It is OK to have a 32 bit dialer (with its 32 bit winsock) and a 16 bit application. The only thing you MUST do is rename all other (non-32 bit) winsocks so they will not conflict. Or prevent them from being in any "path", including the path where you have your browser or whatever.It worked for me many times, just renamed all unnecessare winsocks to something like "winsock.lld".Yoram.
0
 

Author Comment

by:mikel022697
ID: 1745582
Did find only one winsock.dll and this is the dll which comes with Win95. What do you mean by 'it worked for me many times'? Does this mean that you used a 16bit program which could start automatically the dialer?
0
 
LVL 1

Expert Comment

by:guardian angel
ID: 1745583
I'm still not completely clear on what you're looking for. As I said before, Autodial only works for 32-bit apps and I know of no dialer that can be automatically called by 16-bit apps. Also, as a side note to that, "Autodial" doesn't really autodial at all. It just brings the dialer window to the forefront. There's a freeware app called Dunce that can be downloaded from the same site as the registry patch that will then take the dialer and start dialing without you having to touch anything. It will also redial for you should you get a busy signal or get disconnected for any reason. If this is a winsock program you've "written", why not just issue a "call" to the Windows dialer and have Dunce autodial for you?
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configuring Remote Assistance for use with SCCM
When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question