2010-09-17 07:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_rpc.c
* casting to pacify MinGW warnings
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-09-17 07:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/hbwin/win_rpc.c
|
||||
* casting to pacify MinGW warnings
|
||||
|
||||
2010-09-16 16:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbide/ideshortcuts.prg
|
||||
! Demonstrated: how a QLabel can be intercepted for key events.
|
||||
|
||||
@@ -95,18 +95,18 @@ HB_FUNC( WIN_UUIDCREATESTRING )
|
||||
{
|
||||
TCHAR * tszUuid = NULL;
|
||||
UUID uuid;
|
||||
|
||||
|
||||
memset( &uuid, 0, sizeof( UUID ) );
|
||||
|
||||
|
||||
s_pUuidCreate( &uuid );
|
||||
|
||||
s_pUuidToString( &uuid, ( unsigned char ** ) &tszUuid );
|
||||
|
||||
s_pUuidToString( &uuid, ( unsigned char ** ) ( void * ) &tszUuid );
|
||||
|
||||
if( tszUuid != NULL )
|
||||
{
|
||||
HB_RETSTR( tszUuid );
|
||||
|
||||
s_pRpcStringFree( ( unsigned char ** ) &tszUuid );
|
||||
|
||||
s_pRpcStringFree( ( unsigned char ** ) ( void * ) &tszUuid );
|
||||
}
|
||||
else
|
||||
hb_retc_null();
|
||||
|
||||
Reference in New Issue
Block a user