sethmcdoogle <= it is valid only at variable declaration, only at application level [user mode] however.
in this case, declaration and assignment are different instructions. besides, as mentioned in my previous post, we will get away with it in most compilers .. not always the case.
br:
inputstr="1234567890.1234";
atofret=atof(inputstr);
printf(" Converted to : %14.4f \n",atofret);
hi .. although you will get away with this in most compilers, don't do this without allocating memory first. you will seg fault.
also, atoi, atof etc. explicity look for a NULL at the end...
hi ..
JOLSEN: i read from an IEEE journal that MAC address can be spoofed. so, i think MAC is not really a useful information in this regard. {i do understand that if anyone plays around with their MAC there are a lot of things that could go wrong}.
WGCS: for example, if i have a string...
hi.
i heard not all hard disks have serial numbers. is that really true ? i heard SCSI ones {most of them} don't have serial numbers.
anyway, if i use "GetVolumeInformation()" how unique can i expect the volume serial number to be?
i need to get some information from the computer...
hi allenv
that was my line of thought. but there is still this problem.
say
start date: 20-05-2003
end date: 20-07-2003
i can scrable this and store it in the registry. this is not a worry.
but what if {customer aware of the fact that s/he has a 2 month trial period} every two weeks the...
hi.. assuming my software will be installed on a customer's machine on a 1-month trial basis, how do i enfore it ?
i mean, when the 1st month is over, unless the customer buys my software, s/he is not allowed use of the software. i know how to stop the software/driver internally.
the problem...
hi.. assuming my software will be installed on a customer's machine on a 1-month trial basis, how do i enfore it ?
i mean, when the 1st month is over, unless the customer buys my software, s/he is not allowed use of the software. i know how to stop the software/driver internally.
the problem...
hi sandrio ...
i had fixed the fault a month back. BUT yes, you are *absolutely* right. the fault is that i had not bit tested the flag.
it has been working properly. thanks for your help.
br: --
br: nagi
hi..
i have an "oemsetup.inf" file that installs the driver as a network adapter in Win NT.
I know the driver is compatible in Win 2000. BUT the "oemsetup.inf" needs to be converted to a format that is understandable in Win 2000.
There are a few parameters that need to...
hi ...
there are two functions atoi and atof that can convert a string into integer and float respectively.
i don't understand your question completely. but i hope these two functions can be of some help to you ???
--
br: nagi
hi ..
what is the difference between files that have a *.DLL extension and the ones with *.SYS extension ? how would you create each of them ?
--
br: nagi
Hi .. I have a NDIS driver written for NT {by my colleague} and I have to port it to Win2000. How different are they {NT and Win2000}. What problems can I expect ?
What do I need to take into account when porting. Can anyone give suggestions/help or links to useful sites ? Thanks very much in...
...? please reply as soon as you possibly can. thanks. i DON'T KNOW WHAT VALUES TO COMPARE !
this is what i have in win 2000:
if (lParam == 0) /* system is shutting down */
{
...
clean up everything ..
...
}
else /* user is logging off */
{
...
do...
...why it does not.
i receive this message alright {i think} and i check for the lParam value
this is what i have in win 2000:
if (lParam == 0) /* system is shutting down */
{
...
clean up everything ..
...
}
else /* user is logging off */
{
...
do...
hi..
in the MSDN library i see that WM_QUERYENDSESSION is sent when an application calls ExitWindows function. A window receives this message through its WindowProc fuction.
The lParam value in its argument will indicate whether the user wants to log-off or shutdown.
Also, the library...
...the location pointed by the pointer.
here is an example:
char buff[20] = "First line";
char buff1[ ] = "Second line";
char *buff2 = "Third line";
To pass them on as parameters in your printf, you need to specify the address from where you want the print to...
hi quagsire .. that is not true. you can use it on any stream ...
and it has, in my relatively long programming experience, never produced a result anything untoward or unpredictable.
br: nagi
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.