?
Solved

CreateFile on network path

Posted on 2002-07-04
7
Medium Priority
?
618 Views
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.
0
Comment
Question by:lkjhgfdsa
[X]
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
7 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 7129951
lkjhgfdsa,

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:

http://www.experts-exchange.com/mfc/Q_20275927.html
http://www.experts-exchange.com/mfc/Q_20275894.html
http://www.experts-exchange.com/mfc/Q_20253728.html
http://www.experts-exchange.com/mfc/Q_20252202.html
http://www.experts-exchange.com/mfc/Q_20219795.html
http://www.experts-exchange.com/mfc/Q_20167772.html
http://www.experts-exchange.com/mfc/Q_20098170.html
http://www.experts-exchange.com/flash/Q_20275873.html
0
 

Author Comment

by:lkjhgfdsa
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.
0
 
LVL 32

Expert Comment

by:jhance
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.
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 

Author Comment

by:lkjhgfdsa
ID: 7130351
But what about my this question???
0
 
LVL 1

Expert Comment

by:himmya
ID: 7174559
hi,
   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

WNetAddConnection2(...)
WNetCancelConnection2(...)

etc...

rgds,
himmya.
0
 

Accepted Solution

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

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

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!

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month12 days, 5 hours left to enroll

752 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