Search:
Type: Posts; User: Mark Xa
Search:
Search took 0.04 seconds.
-
September 24th, 2011, 07:53 AM
Which APIs are available to do this?
Thanks
Mark
-
April 6th, 2011, 02:52 AM
Why does the following code write nothing to the file and enter the 'Failed' branch?
int wmain()
{
std::wofstream f("hello.txt");
if (f)
{
f << L"яблоко";
if (f)
-
March 22nd, 2011, 09:58 AM
OK, but they are not really sources - they are generated files that I never want to open in the editor. Also "Build/Clean Solution" should delete them.
-
March 22nd, 2011, 09:46 AM
Hi,
Wow - long time since using visual studio and my brain is incredibly rusty! :)
So... I have a VC++ project - it's all C++, except for a couple of .c files generated by flex and bison (I got...
-
October 18th, 2010, 11:56 AM
Thanks GCDEF, I misunderstood the first time.
Yes, an accelerator does work if it is set up for VK_OEM_PLUS.
-
October 18th, 2010, 07:16 AM
CTRL and the plus key will increase the font size in the main window of the application (It only has one window). Ctrl and the minus key will reduce the font size.
My understanding is that an...
-
October 18th, 2010, 06:29 AM
Many will know that applications like firefox allow you to press CTRL + or CTRL - to increase or decrease the size of the rendered HTML or in some applications the font size etc. You can either use...
-
February 6th, 2009, 10:24 AM
Using FormatMessage I can get a description of a win32 error obtained from GetLastError. However, I wish to do this for a GdiPlus::Status. Is this possible?
Thanks
Mark
-
December 1st, 2008, 08:10 PM
Thanks for your reply. Yes, that was definitely a mistake, but it doesn't solve the problem. Exactly the same runtime error occurs.
-
December 1st, 2008, 04:01 PM
Hi,
I am trying to create an array of WaitHandles that contain process handles returned from Process.GetProcesses. The code compiles but at runtime I get a System.NullReferenceException - "Object...
-
November 27th, 2008, 09:18 AM
I am aware of this, but still, any ideas how to do what I want?
-
November 27th, 2008, 06:47 AM
When using MS C++, I can share data between two instances of an application by defining it within a shared data segment viz:
#pragma data_seg(".sdata")
int sharedint = 0;
#pragma data_seg()
...
-
March 17th, 2008, 08:30 AM
The following code attempts to load a ".jpg" file, resize the image and save it to a ".jpg" file. The .jpg file is created but the image is the same size. What am I doing wrong?
Gdiplus::Image...
-
March 15th, 2008, 08:06 AM
You might want to have a look at this: http://www.microsoft.com/mspress/books/sampchap/5726.aspx (Or even buy the book).
If you are expecting many clients, post more than one AcceptEx call at a...
-
March 13th, 2008, 08:12 PM
It is the IO on the listen socket that completes after you call AcceptEx. You don't need to associate the client socket with the completion port until AcceptEx completes.
In order for you to know...
-
March 13th, 2008, 06:06 AM
Is it wise to post a number of WSARecv calls at a time per socket (accepted with AcceptEx)? Or is it better to post one WSARecv call on accepting a new connection and then another when the first one...
-
January 28th, 2008, 03:29 AM
I have bought a new PC recently and have reinstalled visual studio 2005. As suggested in http://support.microsoft.com/kb/320851, I have copied the entire tree under <User Profile Path>\My...
-
January 15th, 2008, 02:43 PM
I'm interested in capturing frames from video files as JPG or bitmap files. Video files could be wmv, avi or mpg.
Can someone please point me in the right direction using MFC and/or win32 API...
-
October 1st, 2007, 11:30 AM
What is the easiest and or best way to play an MP3 without using MFC?
Thanks
Mark
-
September 27th, 2007, 04:36 AM
I wouldn't ever recommend using MFC unless you absolutely have to. The FindFirstFile, FindNextFile APIs are so simple that they do not need a class wrapper.
If you use API functions rather than...
-
September 8th, 2007, 05:52 AM
[/QUOTE]
This means that nearly all windows programs do not comply with the ISO C++ standard! :)
-
September 7th, 2007, 08:47 AM
Has anyone ever used WSARecv with multiple buffers?
I can't see an obvious use for it - anyone care to enlighten me?
-
September 6th, 2007, 11:11 AM
Well, could you not change if for everyone then? :)
My proposal would be to still keep it in "American" order to please the Americans here, but to use a 3-letter month name thus: Sep 06 2007.
...
-
September 6th, 2007, 11:07 AM
I apologise if this is not directly relevant but you might want to consider handling win32 exceptions as C++ exceptions. To do this you need the _set_se_translator function:...
-
September 6th, 2007, 02:32 AM
The date format of the forums seems to be in "North American" format (mm/dd/yyyy) - how do I change to international format (dd/mm/yyyy). Even better would be able to display the name of the month.
...
|
Click Here to Expand Forum to Full Width
|