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

Search:

Type: Posts; User: golanshahar

Page 1 of 80 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    3
    Views
    1,251

    Re: Start a 64bit app from a 32bit app?

    I did it in the past with ::CreateProcess() and didn't encounter any problem.

    Cheers
  2. Thread: Spy++

    by golanshahar
    Replies
    2
    Views
    651

    Re: Spy++

    This thread will help you.

    Cheers
  3. Replies
    16
    Views
    1,601

    Re: floating point number formatting question

    One way:



    float Num=1.333f;
    char Buf[128]={0};
    sprintf(Buf,"%.2f",Num);
    // Buf = "1.33"
  4. Replies
    1
    Views
    403

    Re: read/write .csv files

    You can start with this

    Cheers
  5. Replies
    6
    Views
    608

    Re: Display an image in Gui

    You can use OleLoadPicture() look at this sample from MSDN: How to load graphics files and display them in Visual C++

    Cheers
  6. Replies
    10
    Views
    1,506

    Re: 64-bit Conversion

    Regarding pointers issue is not that straightforward it depend how you wrote your 32bit application, if you followed the rules you are ok if not you MUST change your code.

    Cheers
  7. Replies
    9
    Views
    1,265

    Re: Happy Birthday Siddhartha!

    Happy Birthday Sid :wave:

    Cheers
  8. Re: Disallowing user to run application

    One thing you can do is add the updater.exe file to your main application resource as a bin resource when you will want to use it simply extract it to disc as exe, and launch it.

    When it launched...
  9. Replies
    3
    Views
    600

    Re: Restart a program

    As suggested you can use the:
    ::CreateProcess()

    Save the process handle and in the loop you can call the:
    ::GetExitCodeProcess()

    And check the lpExitCode code to see if its STILL_ACTIVE.
    ...
  10. Replies
    7
    Views
    1,353

    Re: GetWindowText and SendMessage

    Maybe this can help.

    Cheers
  11. Replies
    8
    Views
    2,880

    Re: Beep Function

    One thing you can try is open command line (run->cmd) and enter:


    c:\>net start beep

    it should enable the beep if it disabled.

    Cheers
  12. Replies
    4
    Views
    2,629

    Re: Sharpen an image

    I can recommand the USM.
    look at this article

    Cheers
  13. Replies
    3
    Views
    580

    Re: how to gray a menuitem

    You can use ::EnableMenuItem().

    Cheers
  14. Replies
    11
    Views
    2,095

    Re: GetPixel() in Fullscreen mode

    Is this what you looking for?


    HDC dc = ::GetDC(0); // will get dc to entire screen
    color = GetPixel(dc, lp.x, lp.y);
    ::ReleaseDC(0,dc);


    Cheers
  15. Replies
    1
    Views
    493

    Re: Capture Video

    Maybe this can help

    Cheers
  16. Re: copying file from one location to another location

    Look at ::SHFileOperation().

    Cheers
  17. Replies
    1
    Views
    629

    Re: Key Logger Application

    Search the forums for keyboard hook. releavnt api is ::SetWindowsHookEx().

    Cheers
  18. Replies
    7
    Views
    733

    Re: Display Strings

    Try this article.

    Cheers
  19. Re: How to enumerate all the child windows.

    ::EnumChildWindows ()

    Cheers
  20. Replies
    2
    Views
    708

    Re: key pressing simulation

    Look at this FAQ.

    Cheers
  21. Re: How to get hdc and pixel from window with sendmessage?

    This article shows how to use ::PrintWindow() however minimized window wont work with it.

    Cheers
  22. Replies
    2
    Views
    617

    Re: Search for files using their formats

    This FAQ might help.

    Cheers
  23. Replies
    2
    Views
    749

    Re: Detecting a usb key plugin

    You can try WM_DEVICECHANGE.

    Cheers
  24. Replies
    12
    Views
    1,644

    Re: writre bitmap file

    Did you try?


    HBITMAP hMyBmp = (HBITMAP)LoadImage( NULL,
    _T("photo.bmp"),
    IMAGE_BITMAP, 0, 0,
    LR_LOADFROMFILE|LR_CREATEDIBSECTION);
  25. Replies
    10
    Views
    1,121

    Re: Implementing timers

    Look at MSDN: Using Timers.

    Cheers
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width