I just migrate my application from FW to FWH.
In FW nSerialHD() alway return the same number but in FWH will return the differance when I've change some detail in my source ( add or delete some function or procedure).
How can i solved this problem?
#pragma BEGINDUMP
#include <hbapi.h>
#include <windows.h>
HB_FUNC( NSERIALHD )
{
DWORD dwVolumeSerialNumber;
BYTE VolumeNameBuffer[ 256 ];
BYTE FileSystemNameBuffer[ 256 ];
GetVolumeInformation( hb_pcount() ? hb_parc( 1 ): "C:\\",
( char * ) VolumeNameBuffer, sizeof( VolumeNameBuffer ),
&dwVolumeSerialNumber, 0, 0,
( char * ) FileSystemNameBuffer,
sizeof( FileSystemNameBuffer ) );
hb_retnl( dwVolumeSerialNumber );
}
#pragma ENDDUMP
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 65 guests