Search:
Type: Posts; User: golanshahar
Search :
Search took 0.12 seconds.
January 10th, 2012, 02:43 AM
I did it in the past with ::CreateProcess() and didn't encounter any problem.
Cheers
This thread will help you.
Cheers
One way:
float Num=1.333f;
char Buf[128]={0};
sprintf(Buf,"%.2f",Num);
// Buf = "1.33"
You can start with this
Cheers
You can use OleLoadPicture() look at this sample from MSDN: How to load graphics files and display them in Visual C++
Cheers
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
Happy Birthday Sid :wave:
Cheers
April 21st, 2011, 05:04 AM
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...
April 21st, 2011, 04:46 AM
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.
...
April 17th, 2011, 08:20 AM
Maybe this can help.
Cheers
August 6th, 2010, 10:06 AM
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
August 6th, 2010, 09:54 AM
I can recommand the USM.
look at this article
Cheers
February 7th, 2010, 11:50 PM
You can use ::EnableMenuItem().
Cheers
November 11th, 2009, 01:13 AM
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
November 11th, 2009, 01:04 AM
Maybe this can help
Cheers
October 19th, 2009, 01:21 AM
Look at ::SHFileOperation().
Cheers
September 7th, 2009, 01:58 AM
Search the forums for keyboard hook. releavnt api is ::SetWindowsHookEx().
Cheers
September 7th, 2009, 01:55 AM
August 10th, 2009, 12:05 AM
::EnumChildWindows ()
Cheers
August 5th, 2009, 12:26 AM
August 5th, 2009, 12:03 AM
This article shows how to use ::PrintWindow() however minimized window wont work with it.
Cheers
August 4th, 2009, 11:58 PM
This FAQ might help.
Cheers
August 4th, 2009, 11:52 PM
You can try WM_DEVICECHANGE.
Cheers
Did you try?
HBITMAP hMyBmp = (HBITMAP)LoadImage( NULL,
_T("photo.bmp"),
IMAGE_BITMAP, 0, 0,
LR_LOADFROMFILE|LR_CREATEDIBSECTION);
Look at MSDN: Using Timers.
Cheers
Click Here to Expand Forum to Full Width