File handling
-
Hi, How can i use file handling in ATL ActiveX I tried _open and other functions but it says unresolved symbol to _main Please help Sameer
-
Hi, How can i use file handling in ATL ActiveX I tried _open and other functions but it says unresolved symbol to _main Please help Sameer
I guess you're not linking the C run-time library. Try with raw Win32 functions
CreateFIle
,ReadFile
, etc (or change your settings to add the C run-time.) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo -
If you're familiar with STL, iostreams will do the job well.
But iostreams use the CRT, so he'll face the same problem. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
-
Hi, How can i use file handling in ATL ActiveX I tried _open and other functions but it says unresolved symbol to _main Please help Sameer
_open uses the CRT so you need to remove the ATL_MIN_CRT flag.
-
Hi, How can i use file handling in ATL ActiveX I tried _open and other functions but it says unresolved symbol to _main Please help Sameer
If you're familiar with STL, iostreams will do the job well.
-
But iostreams use the CRT, so he'll face the same problem. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
Your're right. He was trying to use _open/_XXX functions so I suggested the CRT stuff, but then I though I'd suggest stl. Should have included that CRT was needed. Thanks.
-
I guess you're not linking the C run-time library. Try with raw Win32 functions
CreateFIle
,ReadFile
, etc (or change your settings to add the C run-time.) Joaquín M López Muñoz Telefónica, Investigación y DesarrolloJoaquín M López Muñoz wrote: I guess you're not linking the C run-time library How do i Link with C run-time Library