Search:

Type: Posts; User: morongo

Search: Search took 0.01 seconds.

  1. Replies
    54
    Views
    7,114

    A couple of ways you can do this: //assume...

    A couple of ways you can do this:


    //assume the text will never be more than 255 chars
    TCHAR EditBuf[255]; //array of chars

    //read text into array
    GetDlgItemText(hwnd, IDC_YOUREDIT,...
  2. Replies
    2
    Views
    2,046

    Thank you, adeyblue, for making this clear. In...

    Thank you, adeyblue, for making this clear.

    In my case, it doesn't matter either way just so it's consistent (and even then, any decoration could be worked-around if push came to shove).
    ...
  3. Replies
    2
    Views
    2,046

    DLL Function Decoration

    I have a question based on an experience I recently had over on StackOverflow:

    If I declare functions in my win32 dll like this:


    #ifdef __cplusplus
    extern "C" {
    #endif
    ...
  4. Replies
    2
    Views
    1,196

    . It might be OK, since this is a 3D vector...

    .
    It might be OK, since this is a 3D vector 'point', to create a vector 'object' first. You can do that using a typedef.


    //this defines a struct of type VPOINT
    typedef struct{
    int...
  5. . Judging from the previous posts, I don't think...

    .
    Judging from the previous posts, I don't think this is a c++ question so I'll keep it 'C' syntax to show an example of another way to do this.

    Start off by putting all your 'read' stuff in it's...
Results 1 to 5 of 5