RegQueryValueEx(key,REG_DAYCNT,NULL,&type,(LPBYTE) &dayqry,&size)
the first time i run this statement in my program i get a 234 (ERROR_MORE_DATA ) error . I looked it up but its about not having enough buffer memory. My concern is that when i run the same statement again it works perfectly. Also about the buffer not being big enough is kinda strange because im quering a dword -which should always be the same size i think-
If someone can help , or know about this kind of problems please answer , thx.



LinkBack URL
About LinkBacks


