Home All Groups Group Topic Archive Search About

Should I distribute Winsock?

Author
13 Mar 2009 12:17 AM
Kathy
Hello,
             I have assumed that Winsock.ocx is an integral part of Windows,
but apparently it is not,
I have received this message from the user:
Run-time error '339':
Component 'mswinsck.ocx'  not correctly registered: file missing or invalid.

What should I do?
I am using inno setup.
Thanks,
Kathy

Author
13 Mar 2009 2:02 AM
Kevin Provance
Personally, I *never* assume an end user has any OCX file my program uses,
so yes, I would include it with your setup.  I do know that Vista does not
ship this file.  I *think* XP did.

Show quoteHide quote
"Kathy" <Kathy@kathy> wrote in message
news:OY3OoE3oJHA.3840@TK2MSFTNGP03.phx.gbl...
| Hello,
|             I have assumed that Winsock.ocx is an integral part of
Windows,
| but apparently it is not,
| I have received this message from the user:
| Run-time error '339':
| Component 'mswinsck.ocx'  not correctly registered: file missing or
invalid.
|
| What should I do?
| I am using inno setup.
| Thanks,
| Kathy
|
|
Author
13 Mar 2009 1:03 PM
MikeD
"Kathy" <Kathy@kathy> wrote in message news:OY3OoE3oJHA.3840@TK2MSFTNGP03.phx.gbl...
> Hello,
>             I have assumed that Winsock.ocx is an integral part of Windows, but apparently it is not,
> I have received this message from the user:
> Run-time error '339':
> Component 'mswinsck.ocx'  not correctly registered: file missing or invalid.
>
> What should I do?
> I am using inno setup.

Distribute and install it.

For the most part, very few OCXs are included with Windows.  So, you usually need to distribute and install any OCX you use in your
project.  There ARE a couple of exceptions, but very few.

--
Mike
Author
13 Mar 2009 3:24 PM
Kevin Provance
Didn't I just say the same thing?

"MikeD" <nob***@nowhere.edu> wrote in message
news:%23D5Lsw9oJHA.6132@TK2MSFTNGP06.phx.gbl...
|
| "Kathy" <Kathy@kathy> wrote in message
news:OY3OoE3oJHA.3840@TK2MSFTNGP03.phx.gbl...
| > Hello,
| >             I have assumed that Winsock.ocx is an integral part of
Windows, but apparently it is not,
| > I have received this message from the user:
| > Run-time error '339':
| > Component 'mswinsck.ocx'  not correctly registered: file missing or
invalid.
| >
| > What should I do?
| > I am using inno setup.
|
| Distribute and install it.
|
| For the most part, very few OCXs are included with Windows.  So, you
usually need to distribute and install any OCX you use in your
Show quoteHide quote
| project.  There ARE a couple of exceptions, but very few.
|
| --
| Mike
|
|
|
Author
14 Mar 2009 12:04 AM
MikeD
"Kevin Provance" <Bill.McCarthy.Is.Stalking.TPASoft.***@.netblows.ms> wrote
in message news:%23JTFV$%23oJHA.4516@TK2MSFTNGP02.phx.gbl...
> Didn't I just say the same thing?

I TRY to keep you blocked because I'm sick of your BS so I didn't see your
reply. But you keep on changing the email address so I have to keep blocking
you every time you do.  Grow up!


--
Mike
Author
14 Mar 2009 12:54 AM
Kevin Provance
"MikeD" <nob***@nowhere.edu> wrote in message
news:eoq%23mhDpJHA.504@TK2MSFTNGP06.phx.gbl...
| I TRY to keep you blocked because I'm sick of your BS so I didn't see your
| reply. But you keep on changing the email address so I have to keep
blocking
| you every time you do.  Grow up!

Psh.  GFY, Mike.  Not everyone enjoys your standoffish, holier than thou
attitude...if you hadn't noticed.
Author
14 Mar 2009 3:23 AM
Kevin Provance
"MikeD" <nob***@nowhere.edu> wrote in message
news:eoq%23mhDpJHA.504@TK2MSFTNGP06.phx.gbl...
Grow up!

PS - No.  I'm a Toys'R'Us kid.

Let's see how big the block filter can get before Windowss Mail crashes.

*You* grow up.
Author
14 Mar 2009 5:26 AM
John S
Kathy, look here
1. As i understand, Winsock.ocx not a part of Windows, so, you MUST
distribute it.
2. For the future, try next way:
    1. Create a clean windows install (without any software, just clean
windows)
    2. Check you software on it
    3. Add required components, checking distrubition requirement for 3rd
party software vendor
    4. Check, check, check
3. create an installation package
4. check...

nnn... Distribute

I'm always create installers in this way and, usually, have no problem.
The most often & hard to solve problem then users have some badly-written
"shareware" program, where "cracked" external libraries used. In this
situation, some programs (sometime my) falled down


Hope, this help.


Show quoteHide quote
"Kathy" <Kathy@kathy> wrote in message
news:OY3OoE3oJHA.3840@TK2MSFTNGP03.phx.gbl...
> Hello,
>             I have assumed that Winsock.ocx is an integral part of
> Windows, but apparently it is not,
> I have received this message from the user:
> Run-time error '339':
> Component 'mswinsck.ocx'  not correctly registered: file missing or
> invalid.
>
> What should I do?
> I am using inno setup.
> Thanks,
> Kathy
>
Author
14 Mar 2009 11:39 AM
John S
Forget to add:

Check with all OS, which you declare to support. And, do not forget that
different localized version can work slightly different.

Show quoteHide quote
"John S" <j*@smtp.ru> wrote in message
news:Oe$QvVGpJHA.1168@TK2MSFTNGP05.phx.gbl...
> Kathy, look here
> 1. As i understand, Winsock.ocx not a part of Windows, so, you MUST
> distribute it.
> 2. For the future, try next way:
>    1. Create a clean windows install (without any software, just clean
> windows)
>    2. Check you software on it
>    3. Add required components, checking distrubition requirement for 3rd
> party software vendor
>    4. Check, check, check
> 3. create an installation package
> 4. check...
>
> nnn... Distribute
>
> I'm always create installers in this way and, usually, have no problem.
> The most often & hard to solve problem then users have some badly-written
> "shareware" program, where "cracked" external libraries used. In this
> situation, some programs (sometime my) falled down
>
>
> Hope, this help.
>
>
> "Kathy" <Kathy@kathy> wrote in message
> news:OY3OoE3oJHA.3840@TK2MSFTNGP03.phx.gbl...
>> Hello,
>>             I have assumed that Winsock.ocx is an integral part of
>> Windows, but apparently it is not,
>> I have received this message from the user:
>> Run-time error '339':
>> Component 'mswinsck.ocx'  not correctly registered: file missing or
>> invalid.
>>
>> What should I do?
>> I am using inno setup.
>> Thanks,
>> Kathy
>>
>
>
Author
14 Mar 2009 4:20 PM
mayayana
Also,

  You might find this interesting:

    At the now-defunct vbip.com there was a class
available to replace the winsock OCX. The class was
designed to act like the OCX. You can still get it by
copying the code here:

http://www.koders.com/noncode/fid6A5DE34C5F612EE855F482A0E75AD4B124FE4F2A.as
px

http://www.koders.com/vb/fid41348B760AF17B75C35626F9CA23EC4556F6209D.aspx

  The class can also be picked apart to get what's
needed. I've never used the OCX myself, but from
what I've seen of it, it doesn't seem to really be
easier than API calls. When I wanted to write email
code and http downloading code I just wrote it from
scratch, using the class above -- and various other
VB sampoles -- as guidance.

Show quoteHide quote
> Hello,
>              I have assumed that Winsock.ocx is an integral part of
Windows,
> but apparently it is not,
> I have received this message from the user:
> Run-time error '339':
> Component 'mswinsck.ocx'  not correctly registered: file missing or
invalid.
>
> What should I do?
> I am using inno setup.
> Thanks,
> Kathy
>
>