Difference between revisions of "Talk:Source Server Query Library"

From Valve Developer Community
Jump to: navigation, search
(Error in Visual C++ 2008)
Line 15: Line 15:
  
 
--[[User:Plastofix|Plastofix]] 13:24, 17 Dec 2007 (PST)
 
--[[User:Plastofix|Plastofix]] 13:24, 17 Dec 2007 (PST)
 +
 +
== Error in Visual C++ 2008 ==
 +
 +
I get the error "''error C4430: missing type specifier - int assumed. Note: C++ does not support default-int''"<br>
 +
in SSQ.h line 82: ''typedef(WINAPI* SSQ_CALLBACK)(DWORD type,PSSQ_REPLY_UNION reply);''
 +
 +
I tried changing ''WINAPI*'' to ''BOOL WINAPI*'' and ''int WINAPI*'' but it still refuses.<br>
 +
It's currently defining ''WINAPI'' as ''__stdcall''.
 +
 +
What is this supposed to be?

Revision as of 09:23, 2 November 2008

Very nice. ^Ben 16:17, 8 Oct 2005 (PDT)

Would you mind releasing the source code for this library? --Pizzahut

Can this be used in other engines? Rag Doll Kung Fu does something similar. --TomEdwards 15:24, 2 Jun 2007 (PDT)

Are you interest on a PHP5 version?

I am working for the moment on a PHP5 version of the Source Server Query library.


PHP 5 demo of Source Server Query Library (Alpha 1)

I am always open for suggestions.


--Plastofix 13:24, 17 Dec 2007 (PST)

Error in Visual C++ 2008

I get the error "error C4430: missing type specifier - int assumed. Note: C++ does not support default-int"
in SSQ.h line 82: typedef(WINAPI* SSQ_CALLBACK)(DWORD type,PSSQ_REPLY_UNION reply);

I tried changing WINAPI* to BOOL WINAPI* and int WINAPI* but it still refuses.
It's currently defining WINAPI as __stdcall.

What is this supposed to be?