Karl Blessing
Programmer
In VC++ I have an FTP project, that'll receive transfer to a file using fwrite and so on, which grabs each 256charaters and writes them to a file .<br><br>while(1){<br>if(timeOut >0){<br> if(WaitForReceive(timeOut,0) != CUT_SUCCESS){<br> error = 3;<br> break;<br> }<br> }<br> count = Receive(data,sizeof(data));<br><br> //check to see if the connection is closed<br> if(count == 0)<br> break;<br> //if an error then break<br> if(count == SOCKET_ERROR){<br> error = 4;<br> break;<br> }<br><br> //write the the file<br> if(fwrite(data,sizeof(char),count,fptr) < (unsigned int)count){<br> error = 5;<br> break;<br> }<br>... and so on<br><br>any ways to receive this information into memory only so that it may be passed outof the activeX control to VB as a variant? <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)