Click here to Skip to main content
15,889,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dll Not Found Pin
Toby Opferman10-Jun-05 18:47
Toby Opferman10-Jun-05 18:47 
GeneralRe: Dll Not Found Pin
ThatsAlok10-Jun-05 19:11
ThatsAlok10-Jun-05 19:11 
GeneralRe: Dll Not Found Pin
Alexander M.,10-Jun-05 8:17
Alexander M.,10-Jun-05 8:17 
GeneralRe: Dll Not Found Pin
John R. Shaw10-Jun-05 22:06
John R. Shaw10-Jun-05 22:06 
GeneralAgain Problem Pin
Aqueel10-Jun-05 4:47
Aqueel10-Jun-05 4:47 
GeneralRe: Again Problem Pin
Chris Losinger10-Jun-05 4:50
professionalChris Losinger10-Jun-05 4:50 
GeneralRe: Again Problem Pin
ThatsAlok10-Jun-05 23:48
ThatsAlok10-Jun-05 23:48 
GeneralShared Folder... confused Pin
Roger Garrett10-Jun-05 4:41
Roger Garrett10-Jun-05 4:41 
I'm confused and hope someone can enlighten me.

I have successfully programmatically set up a "Shared Folder" on one computer. I want to access that folder and retrieve files from that folder, but do it from another computer. Both computers are connected to the Internet. It was my understanding that I could reference a file on the "other" computer with something like

"\\123.21.105.6\SharedFolder\Test.txt"

and that I could access it (from my C++ program)with something like:

FILE* theFile;
theFile = fopen("\\123.21.105.6\SharedFolder\Test.txt", "r");

But that doesn't work. It never succeeds in openning the file.

I've been looking all over the internet for information on how to do it correctly but I'm only getting more and more confused.

My impression (now) is that the above approach is wrong, and that there needs to be some kind of server running on the target computer and that I have to communicate with that server in order to retrieve the desired file, or that I have to use some kind of file transfer protocol (ftp?) in order to do it.

What I really need is some straightforward explanation or (ideally) actual C++ code that says, "you've got a file on another computer's shared folder, here's how to get it..."

But the best that I've come across are things like, "here's 100,000 lines of code, with 2,586 classes, and somewhere in there is the way to access files on another computer, have fun figuring out how."

Any help/advice on this would be greatly appreciated.

Roger Garrett

GeneralRe: Shared Folder... confused Pin
David Crow10-Jun-05 6:14
David Crow10-Jun-05 6:14 
GeneralRe: Shared Folder... confused Pin
Roger Garrett10-Jun-05 6:49
Roger Garrett10-Jun-05 6:49 
GeneralRe: Shared Folder... confused Pin
Garth J Lancaster10-Jun-05 17:45
professionalGarth J Lancaster10-Jun-05 17:45 
GeneralInsane asserts Pin
benjymous10-Jun-05 4:31
benjymous10-Jun-05 4:31 
GeneralRe: Insane asserts Pin
Roger Garrett10-Jun-05 4:46
Roger Garrett10-Jun-05 4:46 
GeneralRe: Insane asserts Pin
benjymous10-Jun-05 5:02
benjymous10-Jun-05 5:02 
GeneralRe: Insane asserts Pin
Roger Garrett10-Jun-05 5:25
Roger Garrett10-Jun-05 5:25 
GeneralRe: Insane asserts Pin
JWood10-Jun-05 5:04
JWood10-Jun-05 5:04 
GeneralRe: Insane asserts Pin
BlackDice10-Jun-05 9:32
BlackDice10-Jun-05 9:32 
GeneralDisable or Enable a Button Pin
Hachaso10-Jun-05 3:51
Hachaso10-Jun-05 3:51 
GeneralGetDlgItem(IDC_YourButton)->EnableWindow(true); Pin
bghuang10-Jun-05 3:58
bghuang10-Jun-05 3:58 
GeneralRe: GetDlgItem(IDC_YourButton)->EnableWindow(true); Pin
Bob Stanneveld10-Jun-05 4:06
Bob Stanneveld10-Jun-05 4:06 
GeneralRe: Disable or Enable a Button Pin
Bob Stanneveld10-Jun-05 4:02
Bob Stanneveld10-Jun-05 4:02 
GeneralWDM -- INF file & makefile Differences between X86 and X86-64/AMD64 Pin
Neha.marwaha10-Jun-05 2:01
Neha.marwaha10-Jun-05 2:01 
GeneralRe: WDM -- INF file & makefile Differences between X86 and X86-64/AMD64 Pin
Alexander M.,10-Jun-05 3:03
Alexander M.,10-Jun-05 3:03 
QuestionIWebBrowser anchor doesn't work? Pin
ThinkingPrometheus10-Jun-05 1:37
ThinkingPrometheus10-Jun-05 1:37 
GeneralUrgent help needed for printing the content of RichEditControl Pin
P. Gnana Prakash10-Jun-05 1:20
P. Gnana Prakash10-Jun-05 1:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.