Solved

Using Win95 dialer with 16bit program

Posted on 1997-04-27
8
188 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
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

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

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

756 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