--
[ Picked text/plain from multipart/alternative ]
SendProp_String_tToString is defined in dlls\env_screenoverlay.cpp:
void SendProxy_String_tToString( const SendProp *pProp, const void *pStruct,
const void *pData, DVariant *pOut, int iElement, int objectID )
{
string_t *pString = (string_t*)pData;
pOut->m_pString = (char*)STRING( *pString );
}
you should only use #ifdefs if you use shared code
it MAY be possible to use a char * rather than a char []...you may want to
look into it though
On 4/22/06, Andrew (Bromfitsen) <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ]
> what I've always done is
>
> #ifndef CLIENT_DLL
> SendPropStringT( SENDINFO( m_iszName ) ),
> #else
> RecvPropString( RECVINFO( m_iszName ) ),
> #endif
>
> with string definitions as such
>
> #ifndef CLIENT_DLL
> CNetworkVar( string_t, m_iszName );
> #else
> char m_iszName[256];
> #endif
>
> it work sbut it's a pain because the client is limited in size.
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--
ts2do
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders