CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: terryeverlast

Search: Search took 0.02 seconds; generated 10 minute(s) ago.

  1. Re: How to get full path from WIN32_FIND_DATA member cFileName?

    Nevermind, I got it with using FtpGetCurrentDirectory and FtpSetCurrentDirectory
  2. How to get full path from WIN32_FIND_DATA member cFileName?

    I'm trying to upload files to a ftp server using WININET(windows internet). Trying to do this recursive.

    How can I get the full path of the WIN32_FIND_DATA member cFileName?

    I tried...
  3. Replies
    3
    Views
    1,036

    exceeded 32bit register

    My question, What happens when with the 32 bit register value exceeds 4 bytes while programming in c++? Im interested in encryption.

    Im programming and doing some calculations. The hex value...
  4. Re: Sending message from main class to newly created class MFC VC

    Nevermind. I Solved my own problem by creating a pointer to my main dialog and simply using GETDLGITEMINT
  5. Sending message from main class to newly created class MFC VC

    I want to send a number to my OPENGL class from my main dlg. Im using a updated edit control.

    here is my open gl code that will draw what I want


    void COpenGLControl::oglDrawScene()
    {

    char...
  6. Writing this sequence of numbers in code

    How can I write the list(or pattern like number) list into a loop or something equal to that in c++?

    1=3
    2=3
    3=3
    4=3
    5=6
    6=6
    7=6
    8=6
  7. Replies
    1
    Views
    817

    GNU GMP in visual c++ 6

    Hello. How are you.

    I'm programming an app that deals with large numbers. I have a do-while loop that I want to execute. I can not get it to work. The "while(d!=1)" part is the problem and I can...
  8. Replies
    8
    Views
    1,911

    Re: Tabbed dialog

    I created a object from the original dialog class

    I get the error
    Debug assertion failed Wincore.cpp line 3095

    something to do with updatedata



    CIRCBOTDlg okok;
  9. Replies
    8
    Views
    1,911

    Re: Tabbed dialog

    Another question.

    My thread that I created is global and cannot access the varialbes for my dialgos. How do I fix this?


    UINT WritingThreadFunc(LPVOID pParam)
    {
  10. Replies
    8
    Views
    1,911

    Tabbed dialog

    I have a tabbed dialog with a couple of Separate dialogs. I created classes of CDialog for each dialog. Im trying to get the text from the edit control from the tabbed dialog and it appears in a...
  11. Replies
    6
    Views
    2,884

    Re: ftp file size

    Cool..i got it work with Igor Vartanov code
    here is the code


    void CSimpleftpclientDlg::OnButton4()
    {


    int index;
    CString strText;
  12. Replies
    13
    Views
    2,855

    Re: List Control Column data

    Still got a problem..now is is this line of code



    lvi.lParam = (LPARAM)node;


    which gives me the error
    error C2440: 'type cast' : cannot convert from 'struct testing' to 'long'
    No...
  13. Replies
    13
    Views
    2,855

    Re: List Control Column data

    0k i handled the LVN_GETDISPINFO with this code


    void CThisDlg::OnGetdispinfoList1(NMHDR* pNMHDR, LRESULT* pResult)
    {
    LV_DISPINFO* pDispInfo = (LV_DISPINFO*)pNMHDR;
    if(pDispInfo->item.mask...
  14. Replies
    13
    Views
    2,855

    Re: List Control Column data

    Ok i see. I need to also handle LVN_GETDISPINFO in the message maps with ON_NOTIFY and form the columns in a switch statment
  15. Replies
    13
    Views
    2,855

    List Control Column data

    Im trying to populate a list control with the filename and maybe some other thing when i push the OK button

    here is my code

    void CThisDlg::OnOK()
    {

    int iItem = 0, iActualItem = 0;
    ...
  16. Replies
    5
    Views
    1,612

    Re: List Control file path

    Ok i got a picture in the attachments for understanding..

    I put a red box into the list control that gets the files of the server with FTPFINDFIRSTFILE AND FTPFINDNEXTFILE


    the blue box list...
  17. Replies
    5
    Views
    1,612

    Re: List Control file path

    Im programming a ftp client and im loading files from my computer into a list control. I want to upload files selected in the list control.
  18. Replies
    5
    Views
    1,612

    List Control file path

    How do I get the path for a seleced item in a list control?
  19. Replies
    0
    Views
    1,343

    Direct Show Timer

    Im coding a music player and I want the timer to stop when the music stops.

    I got a static text with the lenght of the song. (the static text shows the position of the song in seconds....like...
  20. Replies
    3
    Views
    2,216

    Re: winsock recv() problem

    I fixed the problem. instead of using SIZEOF i just manually put i the bits in the RECV command.

    is there anythign else i can use instead of SIZEOF



    recv(current_client,buf2,sizeof(buf2),0);
  21. Replies
    3
    Views
    2,216

    winsock recv() problem

    Im making a rat program and the recv function is not receiving.

    here is my code


    #include <windows.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <winsock2.h>
    #include <iostream>
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured