08-28-2007 12:59 AM
08-28-2007 11:38 AM
08-30-2007 01:37 AM
Hi Lous ,
I havei ncluded the function call Getprofilestring ("PrinterPorts" ,NULL); .It shows an error and that is " Insufficient number of arguments to `GetProfileStringA'". What should I do next reply me soon ?
Regards
Subrata
08-30-2007 03:19 AM
As well as the two parameters that Luis gave details for, there are three others that you need to supply as well. The prototype is as follows, but you should check out the SDK help for the function.
DWORD GetProfileString (LPCTSTR lpAppName,
LPCTSTR lpKeyName,
LPCTSTR lpDefault,
LPTSTR lpReturnedString,
DWORD nSize);
JR