flat assembler
Message board for the users of flat assembler.
Index
> Windows > Win Sockets - undefined symbol? |
Author |
|
HaHaAnonymous 12 Feb 2013, 15:48
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 21:33; edited 1 time in total |
|||
12 Feb 2013, 15:48 |
|
revolution 12 Feb 2013, 17:28
lukus001: You have to include the import section into your source. The APIs are only defined when they are placed into the import section.
Also, in Windows 64-bit you shouldn't push a word sized parameter onto the stack. All API parameters must be qword sized. |
|||
12 Feb 2013, 17:28 |
|
lukus001 13 Feb 2013, 09:06
Thanks for the replies guys,
Revolution - I added the import but it's gone straight back to WSAStartup being an undefined symbol :s |
|||
13 Feb 2013, 09:06 |
|
revolution 13 Feb 2013, 09:27
You must define the import section into the exe, not just the definition of WSAStartup. None of your DLL linking can be done without an import section.
See the examples files in the fasm zip file for how to make a valid exe that will compile. |
|||
13 Feb 2013, 09:27 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.