what are requirement of including lib file.i had found on MSDN to include lib file use #pragman comment(lib,"name") there was written that name will be searched in the current path and then other so i copied that lib in the debug directory.
and i had googled also but cannot found working answer related to that error number.
Wow, seems to be one of my bad hair days.
I still missed to provide some information. I don't want to have a pdf file (or any other binary file) as a result. I only want to get the binary representation of the file. And this has to be some kind of string or char array.
I only want to get the binary representation of the file. And this has to be some kind of string or char array.
No, a binary file contains junk characters and if you try to display it, you will have junk characters on the screen. Try to open the file with notepad and you will see what's inside.
And what do you mean by 'binary representation' ?
What are you trying to do exactly ? And what is the purpose ?
It's normal that if you try to display the contents of a binary file, you will have junk characters. That's simply because the purpose of a binary file is not to be readable (by a human I mean). So, what did you expect ?
I hope you are getting some junk value... in file_array for non text files..
if so, its obvious... because you are trying to view char value which is not char...
But for text files the data are in the form of char
I frequently use SetRedraw(FALSE) -> do drawing stuff -> SetRedraw(TRUE), but I sometimes have an outer drawing loop that does this, which calls, as part of the drawing, something else that also turns off/on redrawing, thus overriding the 'outer' loop's redraw flag. I have wondered if anyone knows of any way of determining the current value of the redraw flag for a window?
"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)