Tech Support > Microsoft Windows > Development Resources
How to create bitmap of window form.
Posted on August 1st, 2006 | 1 Comments

Melisa wrote: Melisa, Handle WM_PRINT Message of your window. You'll need to do something like that: 1. Create the bitmap of size euqal to window size 2. Create compatible DC from the one you got...

DIB to HBITMAP - goes black
Posted on August 1st, 2006 | 13 Comments

"Grzegorz Wróbel" </dev/null@localhost.localdomain> schrieb im Newsbeitrag news:eafnsf$jjq$1@atlantis.news.tpi.pl... Doh! Thank you. There was some other problem as well, but I got it working now.

Communicate to device connected to PC through USB port
Posted on August 1st, 2006 | 0 Comments

HI, Sorry if this a really simple question to as.I am newbie. I wnat to write a code in C#.net to communicate with a card reader connected to the PC through the USB cable, Can anyone tell how to go...

Convert CString into int, how??
Posted on August 1st, 2006 | 7 Comments

Bertel Brander wrote: True. I am just stating every possible way of doing what the OP wants to do. But if you are already using boost in your project, for example, why not use boost::lexical_cast...

custom filters in open file dialog
Posted on July 31st, 2006 | 5 Comments

* jahhaj: Just perhaps the CDN_FOLDERCHANGE you processed was not the one you posted. I'd a try a WM_COMMAND. In the worst case you could set up a timer. -- A: Because it messes up the order in...

How to change the icon of a specific file under Windows?
Posted on July 31st, 2006 | 3 Comments

A quick solution is to create a shortcut for your text file. You can then right click, select properties, and change the icon to whatever you wish. Anthony

linking lib file
Posted on July 31st, 2006 | 5 Comments

Thanks, eventually I used VC++ and evertyhing worked fine :) I googled that gcc does not support *.lib files that might have been the reason why it didnt work.

STOP service - dwControlsAccepted &= ~(SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN);
Posted on July 31st, 2006 | 0 Comments

when I fire "net stop MyService", I get warning message "he MyService service could not be stopped. ". But actually service stops (process cleanup & service applet shows service as Stopped) My...

Message passing between applications
Posted on July 31st, 2006 | 6 Comments

Florian Stinglmayr wrote: Fantastic advice. Great link as well. See you in Code Project Lounge sometime. Thanks a lot.

MCIWndSeek broken?????
Posted on July 31st, 2006 | 0 Comments

hi there i am using MCIWnd* to play audio files (WAV and mp3) - and i want the user to be able to seek (using a slider), but when i call MCIWndSeek() the track stops playing almost immediately, even...

incorrect audio track length returned from MCIWndGetLength for mp3
Posted on July 31st, 2006 | 2 Comments

thanx - its all becoming clearer now! a broken API - damn! and MCIWnd is so simple to use....... David Ching wrote:

I have to write out Esc code then a stringt to com port
Posted on July 30th, 2006 | 1 Comments

On Sun, 30 Jul 2006 23:18:29 +0100, "Don't Spam Me" <nospam@gmail.com> wrote in comp.os.ms-windows.programmer.win32: No, you are writing this wrong. try \x1b, without the '0', and see what...

I have to write out Esc code then a string to com port
Posted on July 30th, 2006 | 0 Comments

Hello I am writing a program to send SMS messages via a modem. I have got the basic code working the Win32 comm api. For example I can send text to com port etc. But I need to send in Esc...

can i record from micprophone with Video For Windows library?
Posted on July 30th, 2006 | 1 Comments

bhu Boue vidya wrote: I think you can: http://windowssdk.msdn.microsoft.com/en-us/library/ms710551.aspx -- Absolutely not the best homepage on the net: http://home20.inet.tele.dk/midgaard But it's...

what is precompiled header file ?
Posted on July 30th, 2006 | 2 Comments

Florian Stinglmayr wrote: An if you are fortunate enough to use Borland: http://support.borland.com/entry.jspa?categoryID=136&externalID=3917 -- Absolutely not the best homepage on the...

UDN_DELTAPOS and ranges
Posted on July 29th, 2006 | 1 Comments

Also, The MSDN documentation claims that returning zero from the handler tells the control to allow the change and returning non-zero prevents a change from taking place. No matter what I return...

MFC Doc/View Structure Design Question
Posted on July 29th, 2006 | 11 Comments

In article <1153948627.510945.161150@s13g2000cwa.googlegroups.com>, joseph.burgel@gm.com says... Here's your mistake: a document doesn't need to (and in this case probably shouldn't) correspond...

Expanding the stack
Posted on July 29th, 2006 | 3 Comments

In article <1154171856.120998.103280@s13g2000cwa.googlegroups.com>, grg2@comcast.net says... That's exactly what I'm suggesting. The reserve parameter doesn't mean it's using that much memory all...

GetProcAddress typecasting
Posted on July 29th, 2006 | 2 Comments

Alf P. Steinbach wrote: specified. Most Windows API functions are declared with WINAPI which is a macro that expands to the __stdcall specifier. This means that the function cleans up the stack,...

FindFirstFile fails on long directory name component
Posted on July 29th, 2006 | 13 Comments

harry dot news at armadillo dot fr wrote: VC 6.0 and no MFC It also works with GCC, BorlandC++ and DMC -- Absolutely not the best homepage on the net: http://home20.inet.tele.dk/midgaard But it's...