John McFarland
unread,Jul 14, 2009, 6:05:00 PM7/14/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gg95
Hi,
I have a subroutine (say open_file) that opens a file and leaves the
file open so that other routines can access it (obviously this
subroutine does some other stuff too but not important here). This
subroutine is defined in a module that I compile into a shared
library. I primarily work under Linux and have not had problems with
using this routine before. However, I'm now trying to port the code
to Windows. What I've noticed on Windows is that when I call the
open_file routine from code defined outside of the DLL, the file does
not remain open after open_file returns.
Does anyone know if this is what I should expect when using
subroutines defined in a DLL?
Thanks,
John