Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

robsons2007

@robsons2007
About
Posts
10
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • help
    R robsons2007

    thanks for the help friend

    C / C++ / MFC help question c++

  • help
    R robsons2007

    Go to Parentwhen they procure step QuarkInit ( TCHAR * connect) he did not correct me back the main error plus it returns these errors in my function and do not know how to fix excuse the English BR error C2664: 'int printf(const char *,...)': não é possível converter um argumento 1 de 'TCHAR *' em 'const char *' Tipos apontados não são relacionados; conversão requer reinterpret_cast, conversão C-style ou conversão function-style if I send to you the code is how you correct for me the code and an online game emulator

    C / C++ / MFC help question c++

  • help
    R robsons2007

    where this error if ( printf(connect, "quark:served", strlen("quark:served")) == 0) { int port; char game[256], match[256];

    C / C++ / MFC help question c++

  • help
    R robsons2007

    when they procure step QuarkInit ( TCHAR * connect) he did not correct me back the main error plus it returns these errors in my function and do not know how to fix excuse the English BR error C2664: 'int printf(const char *,...)': não é possível converter um argumento 1 de 'TCHAR *' em 'const char *' Tipos apontados não são relacionados; conversão requer reinterpret_cast, conversão C-style ou conversão function-style

    C / C++ / MFC help question c++

  • help
    R robsons2007

    part of the .h // fba_quark.cpp bool QuarkInit(CHAR *connect); bool QuarkNetworkGame(); bool QuarkDumpSprites();

    C / C++ / MFC help question c++

  • help
    R robsons2007

    part of the main.cpp else if (_tcsncmp(szName, _T("quark:"), 6) == 0) { QuarkInit(szName);

    C / C++ / MFC help question c++

  • help
    R robsons2007

    part of the .cpp QuarkInit(CHAR *connect) { GGPOSessionCallbacks cb = { 0 }; bNetGame = TRUE; cb.begin_game = ggpo_begin_game_callback; cb.load_game_state = ggpo_load_game_state_callback; cb.save_game_state = ggpo_save_game_state_callback; cb.log_game_state = ggpo_log_game_state_callback; cb.free_buffer = ggpo_free_buffer_callback; cb.advance_frame = ggpo_advance_frame_callback; cb.on_event = ggpo_on_event_callback; //cb.Alert = QuarkAlert; if (printf(connect, "quark:served", strlen("quark:served")) == 0) { int port; TCHAR game[256], match[256]; sscanf(connect, "quark:served,%[^,],%[^,],%d", game, match, &port); //ggpo = ggpo_client_connect(&cb, game, match, port); } else if (strncmp(connect, "quark:direct", strlen("quark:direct")) == 0) { int localPort, remotePort, p1 = 0; char ip[128], game[128]; sscanf(connect, "quark:direct,%[^,],%d,%[^,],%d,%d", game, &localPort, ip, &remotePort, &p1); ggpo = ggpo_start_session(&cb, game, localPort, ip, remotePort, p1); } else if (strncmp(connect, "quark:synctest", strlen("quark:synctest")) == 0) { int frames; char game[128]; sscanf(connect, "quark:synctest,%[^,],%d", game, &frames); ggpo = ggpo_start_synctest(&cb, game, frames); } else if (strncmp(connect, "quark:stream", strlen("quark:stream")) == 0) { char game[256], matchid[256]; int port; sscanf(connect, "quark:stream,%[^,],%[^,],%d", game, matchid, &port); ggpo = ggpo_start_streaming(&cb, game, matchid, port); } else if (strncmp(connect, "quark:replay", strlen("quark:replay")) == 0) { ggpo = ggpo_start_replay(&cb, connect + strlen("quark:replay,")); } VidSSetQuarkShowLogo(true); }

    C / C++ / MFC help question c++

  • help
    R robsons2007

    Linking executable ggpofba-ng.exe... main.o : error LNK2001: símbolos externos indefinidos "void __cdecl QuarkInit(wchar_t *)" (?QuarkInit@@YAXPA_W@Z) ggpofba-ng.exe : fatal error LNK1120: 1 externo não resolvidos makefile.vc:313: recipe for target 'ggpofba-ng.exe' failed mingw32-make[2]: *** [ggpofba-ng.exe] Error 1120 this error is happening at the end of compilation I already posted something about it helped me include everything right in .he cpp I discovered that for this error does not appear I have to change in cpp put TCHAR more if I do more error appears in the .cpp then he is char how do I corrigiri so I will let the three files containing this function I grasped C ++ now vlw

    C / C++ / MFC help question c++

  • help
    R robsons2007

    Thanks buddy that was the error

    C / C++ / MFC help csharp visual-studio question

  • help
    R robsons2007

    help at the time of compiling this error appears at the end
    by compiling visual studio 2013 through the makefile.vc

    <pre lang="vb">fba_ggpo.o : error LNK2001: símbolos externos indefinidos "bool __cdecl VidSSetQuarkConnectStatus(wchar_t const *)" (?VidSSetQuarkConnectStatus@@YA_NPB_W@Z)
    fba_ggpo.o : error LNK2001: símbolos externos indefinidos "int __cdecl VidSSetQuarkShowLogo(bool)" (?VidSSetQuarkShowLogo@@YAH_N@Z)
    fba_ggpo.o : error LNK2001: símbolos externos indefinidos "int nAcbVersion" (?nAcbVersion@@3HA)
    </pre>

    C / C++ / MFC help csharp visual-studio question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups