I have a win7 PC with a folder "c:\temp" set-up for sharing. I see State: Shared below the folder. I have a small RISC machine running linux. I wrote a c program on the linus machine to access the win7 folder. The RISC and win7 PC are connected using a cross-over cable.
In my code, I have the following line:
fp = fopen("////169.254.5.155//temp//test1.txt", "w+");
followed by a fprintf statement.
When I run the c program on the linux machine, I get Segmentation fault. The IP you see is that of the win7 PC.
Please Help.