Share

CTorrent

Tracker: Feature Requests

5 Win32 Port - ID: 902435
Last Update: Comment added ( alok0 )

A win32 port would be nice.


Nobody/Anonymous ( nobody ) - 2004-02-23 03:37

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2005-03-07 22:39
Sender: alok0

Logged In: YES
user_id=996765

Yes i second that... Could someone smarter than me compile a
binary for Windows :-D


Date: 2004-04-13 15:26
Sender: ross_uk

Logged In: YES
user_id=671088


As it currently stands the code does not compile cleanly on
MSVC for a couple of reasons ...

- Windows does not have readdir() et al. Use FindFirstFile and
check the attributes.
- All the #ifdef WINDOWS would be better being #ifdef WIN32
as this tends to already be defined.
- In some places windows.h is included with winsock2.h and
this causes conflicts with winsock.h which is included in
windows.h
- The WinMain needs removing and a main() function needs
putting in place (the current one does fine when you remove
the signal calls).
- There is no getopt on windows, I found one on
codeproject.com that works okay.
- Lots of unsigned/signed comparisons
- Lots of size_t uint64 assignments.




Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.