CreateFile on network path

Posted on 2002-07-04
Last Modified: 2013-11-20
This is what I am doing.

1. Open file using CreateFile API call, with parameter so that no other process can access this file and with delete parameter so that when file is closed then it is deleted automatically.

2. Then I read file data.

3. Then I close file handle.

Everything works fine if I use this application for local system, but if I use it for network then both system crashed down.

Please help me why both systems crashed down.
Question by:lkjhgfdsa
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 32

Expert Comment

ID: 7129951

I'd really like to help here but you have demonstrated the very inconsiderate habit of leaving your questions unresolved.  None of the experts here appreciate having their efforts ignored like this.

I hope you'll spend some time right now and resolve these questions.  Some are quite old.

Experts, please refrain from commenting here until  lkjhgfdsa resolve these questions:

Author Comment

ID: 7130184
Many of these questions are still unresolved. I have accepted some of these question's answers. You can check these :-).

Now please help me for this problem.
LVL 32

Expert Comment

ID: 7130267
In most cases questions remain unresolved because experts have asked you to provide more information but you did not do so.  Please provide any additional information needed.

In other cases the user just doesn't like the answer.  Tough!  Not all problems have simple solutions.

Finally, in a very few cases, there just is nobody who knows anything.  In this case you should post a 0 pt. question in the Community Support and ask a moderator to delete the question for you.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 7130351
But what about my this question???

Expert Comment

ID: 7174559
   do one thing first create the connection between the remote machine and then try .. i think this will help u ... just see the documentation of following API's




Accepted Solution

SpideyMod earned 0 total points
ID: 8492258
PAQ'd and points NOT refunded.

Community Support Moderator @Experts Exchange

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question