ik heb icqlib gedownload van http://kicq.sourceforge.net/icqlib.shtml
maar hoe instaleer ik die nou in win2k snap nix van de
win32 readme file die erbij zit
ken iemand mij mischien helpen
maar hoe instaleer ik die nou in win2k snap nix van de
win32 readme file die erbij zit
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
| Win32 port of icqlib.
---------------------
Guillaume Rosanis
grs@mail.com
Notes:
------
1. Macros that need to be defined in order to compile properly.
_WIN32
BYTE_ORDER_LITTLE_ENDIAN (on x86 Win32 platforms)
I modified icqbyteorder.h and added a conditional compilation
with this macro because BIG_ENDIAN and LITTLE_ENDIAN were defined
nowhere (string comparison not allowed here in, at least, the preprocessor
that comes with MS VC++).
2. Additional libraries.
Executables using icqlib should be linked with wsock32.lib (VC++).
( -lwsock32 with gcc)
3. Win32 specifics.
Like in any case where using Winsock, one should initialize Winsock once with
WSAStartup() before even using any function in icqlib, and call WSACleanup()
when one is done with using it (at program exit time for instance).
I put a VC++ 5.0 project file in the Win32.zip file. It can be opened directly
in VC++ in order to compile the library.
icq.h header file which is automatically generated on Unix is also packaged
in Win32.zip file.
I haven't provided a gcc Makefile yet, but it should be rather straightforward
to write (defining the above macros for each compilation).
It compiles fine with gcc 2.95/Mingw32 though.
4. Modified files.
icq.h
icqbyteorder.h
icqlib.c
icqlib.h
icqpacket.c
icqtypes.h
proxy.c
tcp.c
tcpchathandle.c
tcpfilehandle.c
tcphandle.c
tcplink.c
tcplink.h
udp.c
util.c
util.h |
ken iemand mij mischien helpen