I can't speak for the ODBC driver. I would test it with http on your local system. If it works there, you should be able to create your own protocol and use that.
Good luck, Erick ----- Original Message ----- From: "Syed.Alam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 23, 2002 3:26 PM Subject: Re: [DOTNET] OT: Replacing standard file with memory mapped file > Actually, I have a legacy file-based ODBC driver. I dont have its source > code, and i want to expedite its performance. I am not sure if i change the > ODBC settings, file path like "myproto://c:\path2\fil1.fgd" would work. Can > somethibng like fopen("ftp://server/file.asd", "r") work? i am not sure > > > -----Original Message----- > From: Erick Thompson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 1:12 PM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] OT: Replacing standard file with memory mapped > file > > > Syed, > > I was looking at doing something very similar[1]. I learned that memory > mapped files are not what you want, however, a number of the list > participants had some great suggestions for other ways to do this, the most > promising (IMHO) was creating a pluggable protocol. I don't have a URL > handy, but I know there is a tutorial on one of the major .net sites, and > there may be a link from the thread linked to below. > > HTH > Erick > > > [1] > http://discuss.develop.com/archives/wa.exe?S2=dotnet&L=DOTNET&q=Ramdisk+like > +device+for+pdfs&s=&f=&a=&b= > > ----- Original Message ----- > From: "Syed.Alam" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 23, 2002 8:43 AM > Subject: [DOTNET] OT: Replacing standard file with memory mapped file > > > > Hi > > > > Is there anyway that i can intercept CreateFile() for some standard disk > > file, to force it to open a memory mapped file provided by me? I want to > do > > that in order to increase performance. I have no control on the third > party > > software opening a disk file, but i know that file. > > > > thanks > > > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.