Solved

CreateFile on network path

Posted on 2002-07-04
7
588 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
7 Comments
 
LVL 32

Expert Comment

by:jhance
Comment Utility
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
Comment Utility
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
Comment Utility
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:lkjhgfdsa
Comment Utility
But what about my this question???
0
 
LVL 1

Expert Comment

by:himmya
Comment Utility
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
Comment Utility
PAQ'd and points NOT refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
if loop error 4 76
Tab names are off by one 5 49
viewing source code from eclipse 13 74
mapAB Challlenge 35 84
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: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now