Re: dll related question

2018-03-18 Thread AudioGames . net Forum — Developers room : dardar via Audiogames-reflector


  


Re: dll related question

Hi guys@nyanchan thank you, that was exactly what I was looking for@ethin I can't use vs on my machine, my hard drive is too small!@visualstudio thanks for the advice

URL: http://forum.audiogames.net/viewtopic.php?pid=356031#p356031





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: dll related question

2018-03-18 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector


  


Re: dll related question

hi,if you are using boost.asio, make sure to code your function as c calling convension:extern "C" void send(const char* packet, const char* message)
{
your code;
}

URL: http://forum.audiogames.net/viewtopic.php?pid=355951#p355951





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: dll related question

2018-03-18 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: dll related question

@2, this is one way to do it, but I wouldn't do it if I were you . Just open Visual Studio 2017 and create a DLL library from the new projects->Visual C++ templates list. And as for DLL libraries, you can either use Winsock directly, or something like Boost.Asio.

URL: http://forum.audiogames.net/viewtopic.php?pid=355945#p355945





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: dll related question

2018-03-17 Thread AudioGames . net Forum — Developers room : nyanchan via Audiogames-reflector


  


Re: dll related question

1 Install msys22 Install gcc on your msys23 if you want, edit your system environment variable so that you can directly use gcc on your command prompt4 gcc -shared socket.c -o socket.dll

URL: http://forum.audiogames.net/viewtopic.php?pid=355924#p355924





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector