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 3.06 seconds.

  1. Replies
    16
    Views
    9,409

    Re: Slow performances using Bitmap/GDI

    About the settings:
    Dell laptop precision M4600
    8GB ram
    Intel i72720QM 2.2GHz
    OS win7 64 bit
    Desktop composition is enabled.
    Aqua is off.
    The pc runs several program such VS/office the cpu is...
  2. Replies
    16
    Views
    9,409

    Re: Slow performances using Bitmap/GDI

    Out of curiosity I made this quick & dirty test on my nVidia Quarto 1000m
    I wrote this sample code:



    class CaptureDesktop{
    public:

    CaptureDesktop()
    {
  3. Replies
    16
    Views
    9,409

    Re: Slow performances using Bitmap/GDI

    My two (4) cents:
    1. after the BitBlt when you have the images - don't use GDI anymore. this (article) can give you some tips.
    2. You can resize and make conversion to 24 bit with simple C code in...
  4. Re: Given a number, find the next higher number

    in the example you gave the next big number after 12478 is 12487

    you can do something simple with ASCII - its not the best option and not fully debugged - its just to give you the idea



    int...
  5. Replies
    7
    Views
    17,462

    Re: Sharpen an image

    Did you read this thread? did you try my post (#4) ?

    Cheers
  6. Replies
    3
    Views
    5,940

    Re: Question regarding waitforsingleobject

    Your request is not clear please elaborate.
    Cheers
  7. Replies
    3
    Views
    3,088

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

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

    Cheers
  8. Thread: Spy++

    by golanshahar
    Replies
    2
    Views
    920

    Re: Spy++

    This thread will help you.

    Cheers
  9. Replies
    16
    Views
    2,720

    Re: floating point number formatting question

    One way:



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

    Re: read/write .csv files

    You can start with this

    Cheers
  11. Replies
    6
    Views
    1,464

    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
  12. Replies
    10
    Views
    2,512

    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
  13. Replies
    9
    Views
    2,937

    Re: Happy Birthday Siddhartha!

    Happy Birthday Sid :wave:

    Cheers
  14. 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...
  15. Replies
    3
    Views
    937

    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.
    ...
  16. Replies
    7
    Views
    2,320

    Re: GetWindowText and SendMessage

    Maybe this can help.

    Cheers
  17. Replies
    8
    Views
    6,726

    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
  18. Replies
    7
    Views
    17,462

    Re: Sharpen an image

    I can recommand the USM.
    look at this article

    Cheers
  19. Replies
    3
    Views
    873

    Re: how to gray a menuitem

    You can use ::EnableMenuItem().

    Cheers
  20. Replies
    11
    Views
    8,008

    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
  21. Replies
    1
    Views
    988

    Re: Capture Video

    Maybe this can help

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

    Look at ::SHFileOperation().

    Cheers
  23. Replies
    1
    Views
    930

    Re: Key Logger Application

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

    Cheers
  24. Replies
    7
    Views
    1,435

    Re: Display Strings

    Try this article.

    Cheers
  25. Replies
    1
    Views
    3,308

    Re: How to enumerate all the child windows.

    ::EnumChildWindows ()

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





Click Here to Expand Forum to Full Width

Featured