thanks again for the reply.
I have 256 MB RAM.
I am doing following:
GetFileInfo (filename, &size);
malloc (size);
file = fopen (filename, "r");
fread (buffer, size, size, file);
Problem is how big my buffer should be. Looks like I am missing something.
Also, another question:
I want to use dos find command and would like to redirect output to a file. How do I do that?
I tried this but does not work.
system(find /N "Autodesk" c:\sample.txt >C:\sheetal.txt)
Any suggestions?
Thanks.
Sheetal
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1