Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Operating system impact on WINSOCK.dll smtp email?
Message
 
 
To
18/09/2003 13:58:02
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00830095
Message ID:
00830411
Views:
17
>>>A month of two ago I (with the help of other on the UT) wrote a simple function which sends email through a specified SMTP server through the WINSOCK dll. The program works fine with Windows 98/2000 but it will not work with Windows NT/XP. The error is:
>>>
>>>"Class definition MSWINSOCK.WINSOCK is not found"
>>>
>>>This error is on the line which I create an instance of the winsock object:
>>>
>>>oSocket = create( 'mswinsock.winsock' )
>>>
>>>
>>>Does the winsock.dll differ between operating systems that would cause this? Does anyone have a clue what this would be?
>>>
>>>Wes
>>
>>Start -> Run -> RegEdit
>>Ctrl+F enter mswinsck.ocx - this will likely be found in a value in the right hand pane, click on the ProgID in the left hand pane for the Class ID (GUID) that has been expanded. In the ProgID you will likely see:
>>
>>oWinsock = CreateObject( "MSWinsock.Winsock.1" )
>>
>>Hope this helps.
>
>I searched the registry and did not find an instance of mswinsock.ocx. I am really getting confused about where the object is being created...does the dll or the ocx file create the object; from what I have read the ocx file is an ActiveX control file??

You have a superfluous O in your MSWinSck.OCX file name above. It's also a good idea to collapse any expanded branches in the left hand pane and click on the root, to make sure you start searching the Registry at the beginning.

OCX DLL ACTIVE-X COM COM+ -- MS needs a hot poker shoved where the "sun don't shine"!

Did you try adding ".1" (digit one not the letter L) to the end of the ProgID?
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform