flat assembler
Message board for the users of flat assembler.
Index
> High Level Languages > how do you know use tinycc call wsastartup? |
Author |
|
kerr 26 May 2017, 10:58
hello friends.
how do you know use tinycc call WSAStartup? _________________ I hope we will be good friends. |
|||
26 May 2017, 10:58 |
|
kerr 29 May 2017, 05:08
Hi friends .
can you help me ? i use compiler is tcc . but i call windows winsock function is show error. Oh this is that's too bad. |
|||
29 May 2017, 05:08 |
|
revolution 29 May 2017, 05:11
It would help if you describe the error you get? Is it from the compiler, or at runtime? What is the message?
|
|||
29 May 2017, 05:11 |
|
kerr 29 May 2017, 05:19
test.c:4: error: 'WSADATA' undeclared.
|
|||
29 May 2017, 05:19 |
|
revolution 29 May 2017, 05:22
I'd expect you need to include the winsock library:
Code: #include <winsock.h> ;// <--- I don't know the actual filename, but you'll need something like this |
|||
29 May 2017, 05:22 |
|
kerr 29 May 2017, 05:24
this compiler is tinycc .
I don't know how to use it. |
|||
29 May 2017, 05:24 |
|
kerr 29 May 2017, 05:27
tinycc is no winsock library.
is using tcc winsock.def test.c command compile. |
|||
29 May 2017, 05:27 |
|
kerr 29 May 2017, 05:41
|
|||
29 May 2017, 05:41 |
|
alkap 29 May 2017, 06:27
kerr wrote: this is tinycc website url https://bellard.org/tcc/. You want to make sure you've set up your tcc environment on Windows as described in this doc: http://repo.or.cz/tinycc.git/blob_plain/HEAD:/win32/tcc-win32.txt Here are also examples of C programs for Windows: http://repo.or.cz/tinycc.git/blob_plain/HEAD:/win32/examples |
|||
29 May 2017, 06:27 |
|
kerr 29 May 2017, 06:46
alkap wrote:
yeah.. This does not tell you how to use it _________________ I hope we will be good friends. |
|||
29 May 2017, 06:46 |
|
alkap 29 May 2017, 07:05
kerr wrote:
Can you try the method posted here: https://stackoverflow.com/questions/4069770/tiny-c-compiler-tcc-and-winsock/9351171#9351171 and see if that helps? |
|||
29 May 2017, 07:05 |
|
kerr 29 May 2017, 07:21
here is Use to export definitions from the DLL file using the command line.
Sorry, I've already seen it. |
|||
29 May 2017, 07:21 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.