1. p is not initialized in Your example!
p=MemPtrNew (32);
or
Char p[32];
2. num is UInt16 or Int16? In case of 32-bit value use %ld...
Hynek Sladky
Geetha Arasu wrote:
I am not able to use StrPrintF()
Char *p;
StrPrintF(p,"%d" , num);
Where num is short data type.
When I use this func, there are no compile errors but shows the run time
error message " Invalid write to 008F3301"
Could any one suggest is there any error in the above function or is there
any alternate method to print the value to a string.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/