Try volserial() function.
Qatan
> --
> You received this message because you are subscribed to the Google
> Groups "Harbour Users" group.
> Unsubscribe: harbour-user...@googlegroups.com
> Web: http://groups.google.com/group/harbour-users
I do not use BCC but it is not the problem here.
You should type: hbmk2 your_program -lhbct
This will compile your_program.prg and will add lib CT (former CA-Tools
Lib).
*************************************
Output In WinXP SP3:
************************************************
C:\harbour>d:\hrbmingw\bin\hbmk2 tstgvs -lhbct
hbmk2: Processing environment options: -compiler=mingw
Harbour 2.1.0beta2 (Rev. 15515)
Copyright (c) 1999-2010, http://harbour-project.org/
Compiling 'tstgvs.prg'...
Lines 29, Functions/Procedures 1
Generating C source output to
'C:\DOCUME~1\gvaronas\CONFIG~1\Temp\hbmk_lx3nsn.dir\tstgvs.c'... Done.
C:\harbour>tstgvs
142082031
C:\harbour>
**********************************************************
In Ubuntu 9.10:
**********************************************************
guillermo@deyp02:~/harbour$ /home/guillermo/hrbMinGW/bin/hbmk2
tstgvs.prg -lhbct
Harbour 2.1.0beta2 (Rev. 15521)
Copyright (c) 1999-2010, http://harbour-project.org/
Compiling 'tstgvs.prg'...
Lines 29, Functions/Procedures 1
Generating C source output to '/tmp/hbmk_npmnwp.dir/tstgvs.c'... Done.
guillermo@deyp02:~/harbour$ ./tstgvs
-1
**************************************************************
Any TIP?
TIA
BestRegards
GVS
There is not such a thing like VolSerial() in Linux but I think there is
at least one alternative (or many)...
Sorry, I do not have anyway to test here (just have Window XP).
Try to look for any alternative on Google. I found this one that looked
interesting, maybe it could be used or even implemented in Harbour.
Qatan
BestRegards
GVS
Sorry, I forgot to put the link:
http://cboard.cprogramming.com/linux-programming/116979-equivalent-volume-serial-number-linux.html
Qatan
----- Original Message -----
From: "Guillermo Varona Silup�" <gva...@ec-red.com>
To: <harbou...@googlegroups.com>
Sent: Thursday, 21 de October de 2010 22:18
Subject: Re: [harbour-users] Re: Volume Serial Number
BestRegards
GVS
--