Pesquisar na Comunidade
Mostrando resultados para as tags ''compilar''.
Encontrado 3 registros
-
Ola, Gostaria de ajuda com o vbs2010, nececito montar uma call de loadlib com todas as dependencias do crossfire.exe. Apos pesquisar muito na internet, e tentar por diversos modos achei este e mais alguns modelos que estou tentando atualizar, porem nao estou conseguindo montar os cabecalhos stdio.h int _tmain(int argc, _TCHAR* argv[]) { return 0; } // A simple program that uses LoadLibrary and // GetProcAddress to access myPuts from Myputs.dll. #include <windows.h> #include <stdio.h> typedef int (__cdecl *MYPROC)(LPWSTR); int main( void ) { HINSTANCE hinstLib; MYPROC ProcAdd; BOOL fFreeResult, fRunTimeLinkSuccess = FALSE; // Get a handle to the DLL module. hinstLib = LoadLibrary(TEXT("crossfire.exe")); // If the handle is valid, try to get the function address. if (hinstLib != NULL) { ProcAdd = (MYPROC) GetProcAddress(hinstLib, "crossfire"); // If the function address is valid, call the function. if (NULL != ProcAdd) { fRunTimeLinkSuccess = TRUE; (ProcAdd) (L"Message sent to the DLL function\n"); } // Free the DLL module. fFreeResult = FreeLibrary(hinstLib); } // If unable to call the DLL function, use an alternative. if (! fRunTimeLinkSuccess) printf("Message printed from executable\n"); return 0; } sei que coisa de iniciante, porem eh exatamente essa minha situacao, e esse forum meu recurso.
- 2 respostas
-
- compilar
- loadlibrary
-
(e 2 mais)
Tags:
-
Estou tentando compilar o phoenix of life mas aparece vários erros ao compilar o TMSV ): Estou usando o visual studio 2015 para compilação do memso 1>------ Rebuild All started: Project: TMSRV, Configuration: Release Win32 ------ 1> stdafx.cpp 1>C:\Users\dgwnZ\Desktop\Source Phoenix\include\structs.h(405): warning C4359: 'CMob': Alignment specifier is less than actual alignment (4), and will be ignored. 1>C:\Users\dgwnZ\Desktop\Source Phoenix\include\structs.h(789): warning C4091: 'typedef ': ignored on left of 'GuildData' when no variable is declared 1> Alquimia.cpp 1> HellGate.cpp 1> NpcsEventControl.cpp 1> PickGlobalDrop.cpp 1> SendGlobalDrop.cpp 1> GuildMark.cpp 1> Comand.cpp 1>Comand.cpp(548): warning C4838: conversion from 'uint16_t' to 'uint8_t' requires a narrowing conversion 1>Comand.cpp(548): warning C4244: 'initializing': conversion from 'uint16_t' to 'uint8_t', possible loss of data 1>Comand.cpp(64): warning C4778: 'sscanf_s' : unterminated format string '%120[^' 1>Comand.cpp(64): warning C4474: 'sscanf_s' : too many arguments passed for format string 1> Comand.cpp(64): note: placeholders and their parameters expect 0 variadic arguments, but 2 were provided 1>Comand.cpp(89): warning C4778: 'sscanf_s' : unterminated format string '%99[^' 1>Comand.cpp(89): warning C4474: 'sscanf_s' : too many arguments passed for format string 1> Comand.cpp(89): note: placeholders and their parameters expect 0 variadic arguments, but 2 were provided 1>Comand.cpp(210): warning C4778: 'sscanf_s' : unterminated format string '%81[^' 1>Comand.cpp(210): warning C4474: 'sscanf_s' : too many arguments passed for format string 1> Comand.cpp(210): note: placeholders and their parameters expect 2 variadic arguments, but 4 were provided 1> MGrifo.cpp 1> Ailyn.cpp 1>Ailyn.cpp(76): warning C4474: 'sprintf_s' : too many arguments passed for format string 1> Ailyn.cpp(76): note: placeholders and their parameters expect 0 variadic arguments, but 4 were provided 1>Ailyn.cpp(82): warning C4474: 'sprintf_s' : too many arguments passed for format string 1> Ailyn.cpp(82): note: placeholders and their parameters expect 0 variadic arguments, but 4 were provided 1> GoWorld.cpp 1> WarRvR.cpp 1> Others.cpp 1> CloseRooms.cpp 1> Clue00.cpp 1> Clue01.cpp 1> Clue02.cpp 1> Clue03.cpp 1> Clue04.cpp 1> Clue05.cpp 1> Clue06.cpp 1> Compiling... 1> ClueFunctions.cpp 1>ClueFunctions.cpp(63): warning C4838: conversion from 'int' to 'uint8_t' requires a narrowing conversion 1>ClueFunctions.cpp(102): warning C4838: conversion from 'short' to 'uint16_t' requires a narrowing conversion 1>ClueFunctions.cpp(103): warning C4838: conversion from 'short' to 'uint16_t' requires a narrowing conversion 1>ClueFunctions.cpp(113): warning C4838: conversion from 'short' to 'uint16_t' requires a narrowing conversion 1>ClueFunctions.cpp(114): warning C4838: conversion from 'short' to 'uint16_t' requires a narrowing conversion 1> ConstantPatch.cpp 1> DllMain.cpp 1> Donate.cpp 1> Functions.cpp 1>Functions.cpp(75): warning C4018: '<': signed/unsigned mismatch 1>Functions.cpp(1014): warning C4477: 'sscanf_s' : format string '%d' requires an argument of type 'int *', but variadic argument 1 has type 'uint16_t *' 1> Functions.cpp(1014): note: consider using '%hd' in the format string 1>Functions.cpp(1014): warning C4477: 'sscanf_s' : format string '%d' requires an argument of type 'int *', but variadic argument 2 has type 'uint8_t *' 1> Functions.cpp(1014): note: consider using '%hhd' in the format string 1>Functions.cpp(1014): warning C4477: 'sscanf_s' : format string '%d' requires an argument of type 'int *', but variadic argument 3 has type 'uint8_t *' 1> Functions.cpp(1014): note: consider using '%hhd' in the format string 1>Functions.cpp(1014): warning C4477: 'sscanf_s' : format string '%d' requires an argument of type 'int *', but variadic argument 4 has type 'uint8_t *' 1> Functions.cpp(1014): note: consider using '%hhd' in the format string 1>Functions.cpp(1014): warning C4477: 'sscanf_s' : format string '%d' requires an argument of type 'int *', but variadic argument 5 has type 'uint8_t *' 1> Functions.cpp(1014): note: consider using '%hhd' in the format string 1>Functions.cpp(1014): warning C4477: 'sscanf_s' : format string '%d' requires an argument of type 'int *', but variadic argument 6 has type 'uint8_t *' 1> Functions.cpp(1014): note: consider using '%hhd' in the format string 1>Functions.cpp(1014): warning C4477: 'sscanf_s' : format string '%d' requires an argument of type 'int *', but variadic argument 7 has type 'uint8_t *' 1> Functions.cpp(1014): note: consider using '%hhd' in the format string 1>Functions.cpp(1014): warning C4477: 'sscanf_s' : format string '%d' requires an argument of type 'int *', but variadic argument 8 has type 'UINT8 *' 1> Functions.cpp(1014): note: consider using '%hhd' in the format string 1> Gate.cpp 1> Global.cpp 1> HookImpl.cpp 1>HookImpl.cpp(682): warning C4244: '+=': conversion from 'double' to 'uint16_t', possible loss of data 1> HookPatch.cpp 1> Language.cpp 1> Logs.cpp 1> MobEvent.cpp 1> NativeFunctions.cpp 1> NpcsEvent.cpp 1> ReadMessage.cpp 1> RegisterClue.cpp 1> AddMessage.cpp 1>AddMessage.cpp(51): warning C4800: 'BYTE *': forcing value to bool 'true' or 'false' (performance warning) 1> StartRooms.cpp 1> Timer.cpp 1>Timer.cpp(270): warning C4477: 'sprintf_s' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'STRUCT_ITEMLIST *' 1> TMSRV.cpp 1> Compiling... 1> Volatiles.cpp 1>Volatiles.cpp(937): warning C4474: 'sprintf_s' : too many arguments passed for format string 1> Volatiles.cpp(937): note: placeholders and their parameters expect 1 variadic arguments, but 2 were provided 1> warTorre.cpp 1>warTorre.cpp(70): warning C4244: '=': conversion from 'uint16_t' to 'char', possible loss of data 1> Generating code 1>c:\users\dgwnZ\desktop\source phoenix\tmsrv\readmessage.cpp(329): warning C4715: 'ReadMessage::ReadClientMessage': not all control paths return a value 1> All 1775 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. 1> Finished generating code 1> TMSRV.vcxproj -> C:\Users\dgwnZ\Desktop\Source Phoenix\Release\dll\TMSRV.dll 1> TMSRV.vcxproj -> C:\Users\dgwnZ\Desktop\Source Phoenix\Release\dll\TMSRV.pdb (Full PDB) ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
-
sistema operacional Erro com qualquer menu D3D :'(
s1nkles postou um tópico no fórum em Dúvidas & Ajuda
Bom baixei um Menu D3D para testar ele e dar uma estudada pois estou iniciando nessa área. E apresentou esse erro na hora de Compilar. Já configurei o SDK June 2010 certinho. Esse é o erro: LNK1104 cannot open file 'd3dx9.lib'- 1 resposta
-
- ajuda duvida d3d
- compilar
- (e 4 mais)
