Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Multisync server-need simple example.(maybe a consol app)

Author
Message
FIGHTEX
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 1st Feb 2009 11:33
i am trying to figure out multisync but there realy is no example in dark gdk.
i cop-paste this code from a nothere tread for a consol server
but i get errors


coud someone show me how to make a simple multisync server and client, maybe just two cubes moving and that they woud recive there positions.

Game.Love
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 1st Feb 2009 11:39
What are the errors?

FIGHTEX
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 1st Feb 2009 12:12
Setting environment for using Microsoft Visual Studio 2008 x86 tools.

D:\Program Files\Microsoft Visual Studio 9.0\VC>cd multisync

D:\Program Files\Microsoft Visual Studio 9.0\VC\multisync>notepad server.cpp

D:\Program Files\Microsoft Visual Studio 9.0\VC\multisync>cl server.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.

server.cpp
Microsoft (R) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.

/out:server.exe
server.obj
server.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4
referenced in function _main
server.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4
referenced in function _main
server.obj : error LNK2019: unresolved external symbol __imp__PeekMessageA@20 re
ferenced in function _main
server.exe : fatal error LNK1120: 3 unresolved externals

D:\Program Files\Microsoft Visual Studio 9.0\VC\multisync>

Game.Love
FIGHTEX
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 1st Feb 2009 12:12
i am doing this with the consol

Game.Love
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 1st Feb 2009 12:22
Do you have the Windows SDK installed?

FIGHTEX
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 1st Feb 2009 12:22
what is this?

Game.Love
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 1st Feb 2009 12:32 Edited at: 1st Feb 2009 12:33
See here for information about it. You will need it in order to compile anything that uses Multisync (or Dark GDK). Download it from here.

FIGHTEX
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 1st Feb 2009 12:34
wtf, this is 1.3 gb:S:S
and Benjamin you sound like an expert.
Do you have any Dark Gdk examples for multisync??

Game.Love
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 1st Feb 2009 12:39
I haven't yet made any examples for Dark GDK, sorry. Either way, you will need to download the Windows SDK (I hope you're not a dial-up user ).

Login to post a reply

Server time is: 2024-09-30 17:29:07
Your offset time is: 2024-09-30 17:29:07