Показать сообщение отдельно

проблема с GetProcAddress
  #1  
Старый 26.10.2008, 20:51
fire64
Участник форума
Регистрация: 01.04.2008
Сообщений: 200
Провел на форуме:
1059196

Репутация: 39
По умолчанию проблема с GetProcAddress

почему не компилится код ?
я хочу вызвать функцию в dll файле

PHP код:
#include <stdio.h>
#include <windows.h>
int mainint argccharargv[] )
{
    
HMODULE steamDLL;
    
steamDLL LoadLibrary("steam.dll");
    if ( !
steamDLL)
    {
        
MessageBox0"Steam.DLL Not Found""Launcher Error"MB_OK );
    }
    
FARPROC SteamLogin GetProcAddress(steamDLL"SteamLogin");
    const 
charUser "user";
    const 
charPassword "12345";    
    
int isSecureComputer 0;
    
SteamLoginUserPasswordisSecureComputerNULL);
      return 
0;

в результате я получаю ошибку
error C2197: 'int (__stdcall *)(void)' : too many actual parameters
 
Ответить с цитированием