Subj : Re: Opening a file that is being created with a VB App. To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Fri Jun 04 2004 08:09 pm Try FILE *fp = fopen(filename, "rb"); .. Ed > Sebastian Ledesma wrote in message > news:40c0ec93@newsgroups.borland.com... > > I need to open a file that is being created by a Visual Basic App > (something like this: Open sFile2 For Binary As FileGrab2 ), i tried > several parameters with CreateFile without success ( > hf=CreateFile(filename, > FILE_READ_DATA, FILE_SHARE_WRITE, lpSecurityAttributes, > OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL ); ), > any hints will be appreciatted. .