LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-05-2005, 02:27 PM   #1
Peterius
Member
 
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Rep: Reputation: 16
Unhappy C Linux Win2000 WinXP


I have a simple command line utility that I wrote for linux. I ported it to Win2000 which was really only a matter of getting it to work with the windows "cmd" command line. It also runs on Mac OS X. Its all great. Unfortunately, some friends of mine who need to run this program have WinXP and it mysteriously doesn't work on windows XP. It doesn't crash, it doesn't quit, it just doesn't do what its supposed to. Its a network utility and it seems like its not receiving particular packets off the network.

To make matters much much worse, while I do have a spare computer lying around, everytime I try to install Windows XP on it, it blue screens half way through, so I have no way of testing it on an XP system.

This is straight C with network code send, recv, printf, really standard stuff. It does use the OpenSSL libraries but only sparingly and that part works fine.

My question: what in gods name would cause a program compiled for windows2000 that worked perfectly to just sort of quietly not do what it was supposed to in windowsXP? Could this be some buffer overrun protection in XP that doesn't like my code? Again, it doesn't quit or crash, it just doesn't function quite right. I know this isn't strictly a linux question, but it was originally linux code and maybe someone here knows.
 
Old 02-05-2005, 02:42 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
What compiler did you use to compile it for Win2000?
 
Old 02-05-2005, 02:44 PM   #3
Peterius
Member
 
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Original Poster
Rep: Reputation: 16
Codewarrior, one of the later versions if not the latest, fully updated.
 
Old 02-05-2005, 03:03 PM   #4
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
I actually do support for MS for windows xp and windows 2000

As far as i know the networking part of windows 2000 wasent changed when moving to windows xp this is the offical response.


Now my own opionin bull crap. They changed it somehow and remeber seeing something about having access to low level tcp/ip ports so you can create invalid ip adresses or something but I doubt this is the issue.


The main thing that I can think of is that windows xp has ipv 6 cabablities and 2k doesent.

Maybe its the MS firewall on there computers that was defently not something that was on 2k
 
Old 02-05-2005, 03:09 PM   #5
Peterius
Member
 
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Original Poster
Rep: Reputation: 16
A lot of it works, its just one particular tcip/ip message that its not getting. So I was thinking maybe its some WindowsXP service pack 2 buffer overflow thing that doesn't like my code. But I would think it would just quit in that case.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP!! Tried to install linux (YOPER) with winxp and now winxp is unmountable! buffpandabear Linux - Newbie 2 01-13-2005 06:18 PM
How do I install Fedora on my comp running WinXP Pro, WinXP Home and Win2000 Server pureheartedsoul Linux - Newbie 3 03-30-2004 02:45 PM
linux <-> win2000 himba Linux - Networking 3 05-27-2002 02:37 PM
Best Linux for Win2000? HHH Linux - Newbie 2 06-27-2001 06:45 PM
Win2000/Red Hat 6.1 instalation always starts WIN2000 ovieira Linux - Software 1 03-30-2001 11:21 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration