Click here to Skip to main content
15,916,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: thumbnail using imgthumb ActiveX control Pin
toon26-Aug-02 23:52
toon26-Aug-02 23:52 
GeneralRe: thumbnail using imgthumb ActiveX control Pin
Stephane Rodriguez.27-Aug-02 0:38
Stephane Rodriguez.27-Aug-02 0:38 
GeneralStatus Bar Pin
Ruca22-Aug-02 2:07
Ruca22-Aug-02 2:07 
QuestionHow I can draw bitmap on window caption ? Pin
nikulin_andrey22-Aug-02 1:36
nikulin_andrey22-Aug-02 1:36 
AnswerRe: How I can draw bitmap on window caption ? Pin
Tomasz Sowinski22-Aug-02 2:10
Tomasz Sowinski22-Aug-02 2:10 
AnswerRe: How I can draw bitmap on window caption ? Pin
Atlantys22-Aug-02 9:36
Atlantys22-Aug-02 9:36 
GeneralEncoding with DOM Pin
Hans Ruck22-Aug-02 0:46
Hans Ruck22-Aug-02 0:46 
GeneralCFtpConnection::Command() - Last attempt before madness :) Pin
carrie21-Aug-02 23:50
carrie21-Aug-02 23:50 
I thought I'd have one last try to see if I can get some help on this, sorry to all who are sick of seeing me post this, think its the 3rd time Smile | :)

I'm using VS.Net with MFC and I'm using the CFtpConnection class. There is a member function, Command, which will allow you to create new commands to send to the ftp server and get responses back. I'm really needing to use this but I'm having a problem getting a response back from the server Frown | :( The problem is the 2nd parameter. My code just now is

CInternetFile* responseFile = ftp1->Command(pasvCommand,ftp1->CmdRespRead,FTP_TRANSFER_TYPE_ASCII);

ftp1 is a valid connected cftpconnection object and pasvCommand is just the string PASV for sending to the server. The 2nd parameter is the one that specifies if you want a response or not and is defined in the afxinet.h header as an enum with CmdRespRead the one for getting a response back. Setting the 2nd parameter in the call as CmdRespRead will throw a compiler error that its unrecognised, by using ftp1->CmdRespRead it will compile but doesn't take a response back from the server.

Does anyone know what I should put in here because I'm about to delete this project and start work on a winsock version if I can't get it fixed, not good as I know nowt about winsocks Smile | :)

Thanks all who read & can help Smile | :)
GeneralRe: CFtpConnection::Command() - Last attempt before madness :) Pin
Arjan Schouten22-Aug-02 3:05
Arjan Schouten22-Aug-02 3:05 
GeneralRe: CFtpConnection::Command() - Last attempt before madness :) Pin
carrie22-Aug-02 12:25
carrie22-Aug-02 12:25 
GeneralProblems importing DLL extension Classes Pin
Anonymous21-Aug-02 23:31
Anonymous21-Aug-02 23:31 
GeneralRe: Problems importing DLL extension Classes Pin
Brian Azzopardi22-Aug-02 0:18
Brian Azzopardi22-Aug-02 0:18 
GeneralRe: Problems importing DLL extension Classes Pin
Anonymous23-Aug-02 1:56
Anonymous23-Aug-02 1:56 
Generalowner drawn controls Pin
nss21-Aug-02 23:30
nss21-Aug-02 23:30 
GeneralRe: owner drawn controls Pin
Maciej Pirog22-Aug-02 0:48
Maciej Pirog22-Aug-02 0:48 
GeneralRe: owner drawn controls Pin
Anonymous22-Aug-02 3:22
Anonymous22-Aug-02 3:22 
Questioncan any body tell Pin
imran_rafique21-Aug-02 22:41
imran_rafique21-Aug-02 22:41 
AnswerRe: can any body tell Pin
Maciej Pirog22-Aug-02 0:27
Maciej Pirog22-Aug-02 0:27 
GeneralRe: can any body tell Pin
Maciej Pirog22-Aug-02 0:29
Maciej Pirog22-Aug-02 0:29 
AnswerRe: can any body tell Pin
Stephane Rodriguez.22-Aug-02 1:46
Stephane Rodriguez.22-Aug-02 1:46 
Generalchange wait cursor to own created animated cursor Pin
f.o.b21-Aug-02 21:54
f.o.b21-Aug-02 21:54 
GeneralRe: change wait cursor to own created animated cursor Pin
Jon Hulatt22-Aug-02 4:03
Jon Hulatt22-Aug-02 4:03 
Generalwhere DWORD_PTR and LONG_PTR is defined. Pin
sonshiro21-Aug-02 21:41
sonshiro21-Aug-02 21:41 
GeneralRe: where DWORD_PTR and LONG_PTR is defined. Pin
567890123421-Aug-02 22:44
567890123421-Aug-02 22:44 
GeneralProperties Window Appears at Runtime Pin
Daed21-Aug-02 21:22
Daed21-Aug-02 21:22 

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.