LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

windows2000 problem

hi

it is not a problem from cvi but a problem from win2000!
if someone can help me or give me some hints i would be very happy!!!

We use a device with MS-DOS +ADDON to run a fileserver on this device!
Now i want to open a file on this device with
fopen(\\server\c\str.txt,"w");
but on the win 2000 system the fopen function returns a Null-Pointer
with the errorno EIO (Generall I/O Error)!
fopen(\\server\c\str.txt,"r"); works fine!!!!!

if i will make a Directorymapping to this device (f:\==>\\server\c)
then also the fopen(f:\str.txt,"w"); works fine!!!

Can anyone give me some hints!!
thanks a lot
chris
0 Kudos
Message 1 of 2
(2,919 Views)
Have you tried "w+"
--
Kevin Snelling (Consultant)
Product Technology Partners

<>


"chris" wrote in message
news:39bf8e08@newsgroups.ni.com...
>
> hi
>
> it is not a problem from cvi but a problem from win2000!
> if someone can help me or give me some hints i would be very happy!!!
>
> We use a device with MS-DOS +ADDON to run a fileserver on this device!
> Now i want to open a file on this device with
> fopen(\\server\c\str.txt,"w");
> but on the win 2000 system the fopen function returns a Null-Pointer
> with the errorno EIO (Generall I/O Error)!
> fopen(\\server\c\str.txt,"r"); works fine!!!!!
>
> if i will make a Directorymapping to this device (f:\==>\\server\c)
> then also the fopen(f:\s
tr.txt,"w"); works fine!!!
>
> Can anyone give me some hints!!
> thanks a lot
> chris
0 Kudos
Message 2 of 2
(2,919 Views)