Hello I am working on some code and came across this
void *orpGetValue(char *key, SceSize *key_size)
void *value = NULL;
by using the void with the * infront of the name, the code will allow the passing of a pointer
that will allow the calling routine to assigned it to any variable type.
What is this called, I have been googling and can not find any info.
I know it is commonly used.
Dialog name IDs should be either a string or a 16-bit unsigned integer.
If you remove dialog id definition (#define IDD_TESTDLG_DIALOG number) from the file named "resource.h", it will work. Or you should enter that name with double quotes (like "IDD_TESTDLG_DIALOG") as dialog ID of dialog properties.
and in the code have this :
That's what I'd likely go for
Best practise? Is there one? I don't think so. But in the *nix world, they tend to use that pattern. For example, in my Mac's /usr/include directory, there are 267(!) directories for different libraries (like libxml, libxslt, rpc, subversion, python).
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
I would like to get all text values from my MS Access database, I can access directly each column value (ie: str = FF_Text.m_Column1, str = FF_Text.m_Column2, ...)
But instead do like that for 27 times ... I would like to access them through their columns! However, I could not find the way to retrieve column text value!
strSQL.Format ("SELECT * FROM TABLE_Text WHERE Title = 'Information'");
FF_Text.Open (AFX_DAO_USE_DEFAULT_TYPE, strSQL, 0);
for (i=0; i<27; i++)
str[i] = FF_Text.(???) // Get text value in intended column
I am trying to use the IGPM interface from the gpmgmt.dll. The dll is registered in Win2008 server. But when I execute my exe file (written in C++) it simply throws an HRESULT error - "0x80040154 The class is not regsiteresd" and the GetLastError returns "1008 ERROR_NO_TOKEN".
Any help is appriciated.
Last Visit: 31-Dec-99 18:00 Last Update: 3-Oct-23 2:02