Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLoading a Resource into a Stream Pin
Member 21854431-Oct-04 12:04
Member 21854431-Oct-04 12:04 
GeneralRe: Loading a Resource into a Stream Pin
Michael Dunn31-Oct-04 18:30
sitebuilderMichael Dunn31-Oct-04 18:30 
GeneralLookup (Dispatch) Table Pin
Member 569752131-Oct-04 11:59
Member 569752131-Oct-04 11:59 
GeneralRe: Lookup (Dispatch) Table Pin
Ryan Binns31-Oct-04 17:51
Ryan Binns31-Oct-04 17:51 
GeneralHide logical disk compeletely Pin
faroqtam31-Oct-04 10:31
faroqtam31-Oct-04 10:31 
GeneralRe: Hide logical disk compeletely Pin
David Crow1-Nov-04 6:21
David Crow1-Nov-04 6:21 
GeneralSome help of how i can send files remotely in network. Pin
faroqtam31-Oct-04 10:09
faroqtam31-Oct-04 10:09 
GeneralRe: Some help of how i can send files remotely in network. Pin
KRowe31-Oct-04 21:03
KRowe31-Oct-04 21:03 
This is actually impossible. Net cards (or any other piece of hardware) do not have the ability to create files (yes drives can make files but this is actually because the OS tells them how to). Fortunately any OS that is capable of networking also includes programs to convert data sent over the network into files (this is called an abstraction layer) that makes it as simple to do as saving any other file. This means that to save a file in a shared network directory all you need to do is save it to a network path. The source directory must have read permissions and the destination directory must have write permissions and be shared on the network as such. Different OSes have different ways to set these options. After you have the permissions setup you can use any file operation you want to do this. For example, to copy the file C:\dat.txt to //sysb/inc/dat.txt you could use the API function CopyFile like so:

CopyFile("c:\dat.txt", "//sysB/inc/dat.txt", FALSE);

sysb would be the name of the other computer and inc would be the shared directory.
GeneralConnection to MS Access Database Pin
WinAPILearner31-Oct-04 8:08
WinAPILearner31-Oct-04 8:08 
GeneralRe: Connection to MS Access Database Pin
David Crow1-Nov-04 6:27
David Crow1-Nov-04 6:27 
GeneralRe: Connection to MS Access Database Pin
WinAPILearner1-Nov-04 21:34
WinAPILearner1-Nov-04 21:34 
GeneralRe: Connection to MS Access Database Pin
David Crow2-Nov-04 2:30
David Crow2-Nov-04 2:30 
GeneralRe: Connection to MS Access Database Pin
David Crow2-Nov-04 7:48
David Crow2-Nov-04 7:48 
GeneralRe: Connection to MS Access Database Pin
David Crow2-Nov-04 8:04
David Crow2-Nov-04 8:04 
GeneralRe: Connection to MS Access Database Pin
WinAPILearner2-Nov-04 10:09
WinAPILearner2-Nov-04 10:09 
GeneralRe: Connection to MS Access Database Pin
David Crow2-Nov-04 10:24
David Crow2-Nov-04 10:24 
GeneralRe: Connection to MS Access Database Pin
WinAPILearner2-Nov-04 20:12
WinAPILearner2-Nov-04 20:12 
GeneralRe: Connection to MS Access Database Pin
David Crow3-Nov-04 2:31
David Crow3-Nov-04 2:31 
GeneralRe: Connection to MS Access Database Pin
WinAPILearner3-Nov-04 7:42
WinAPILearner3-Nov-04 7:42 
GeneralRe: Connection to MS Access Database Pin
David Crow3-Nov-04 9:41
David Crow3-Nov-04 9:41 
GeneralConsole Threading Problem Pin
Joe_Sextus31-Oct-04 7:36
Joe_Sextus31-Oct-04 7:36 
GeneralRe: Console Threading Problem Pin
Ryan Binns31-Oct-04 17:57
Ryan Binns31-Oct-04 17:57 
GeneralRe: Console Threading Problem Pin
Joe_Sextus31-Oct-04 18:31
Joe_Sextus31-Oct-04 18:31 
GeneralRe: Operating System for Developers Pin
Christian Graus31-Oct-04 9:07
protectorChristian Graus31-Oct-04 9:07 
QuestionHow to hook system API under windows 9x? Pin
jedyking31-Oct-04 6:36
jedyking31-Oct-04 6:36 

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.