examples/Qt/ISFEditor/ISFEditor_app/Spout/SpoutGLDXinterop.cpp
// Get the path of the host that produced the sender
// from the description string in the sender info memory map
// Description is defined as wide chars, but the path is stored as byte chars
// Not a permanent thing - just for testing.
// The description string could be used for other things in future

Get the path of the host that produced the sender
from the description string in the sender info memory map
Description is defined as wide chars, but the path is stored as byte chars
Not a permanent thing - just for testing.
The description string could be used for other things in future
Get the path of the host that produced the sender from the description string in the sender info memory map Description is defined as wide chars but the path is stored as byte chars Not a permanent thing - just for testing . The description string could be used for other things in future
bool spoutGLDXinterop::GetHostPath(const char *sendername, char *hostpath, int maxchars)
{
	SharedTextureInfo info;
	int n;
	if(!senders.getSharedInfo(sendername, &info))
		return false;
	n = maxchars;
	if(n > 256) n = 256; 
	strcpy_s(hostpath, n, (char *)info.description);
	return true;
}
bool spoutGLDXinterop :: GetHostPath ( const char * sendername , char * hostpath , int maxchars ) { SharedTextureInfo info ; int n ; if ( ! senders . getSharedInfo ( sendername , & info ) ) return false ; n = maxchars ; if ( n > 256 ) n = 256 ; strcpy_s ( hostpath , n , ( char * ) info . description ) ; return true ; }
Get the path of the host that produced the sender
from the description string in the sender info memory map
Description is defined as wide chars, but the path is stored as byte chars
Not a permanent thing - just for testing.
Get the path of the host that produced the sender from the description string in the sender info memory map Description is defined as wide chars but the path is stored as byte chars Not a permanent thing - just for testing .
// maximum field width in shared memory
