Re: [Deinterlace-discuss] Bugs in scheduling code
Brought to you by:
adcockj,
dschmelzer
|
From: Radoslav M. <rad...@se...> - 2007-03-01 15:08:25
|
Ah.. So 'A' calls are for single....I thouhgt for Multi-Byte. I thought is reversed. Sorry my stupid mistake. Thanks for making it clear to me. -----Original Message----- From: dei...@li... [mailto:dei...@li...] On Behalf Of Rob Muller Sent: Wednesday, February 28, 2007 11:51 PM To: dei...@li... Subject: Re: [Deinterlace-discuss] Bugs in scheduling code At 21:16 24-02-07, Radoslav Masaryk wrote: > >One other thing makes me wonder is you are using the 'A' calls >directly, for example 'GetDlgItemTextA'. Why? > >Don't know surely.....may Visual Studio 2005 leaving me just 'A' >functions in choice when Multi-Byte code is set in project...but there >is nothing wrong calling directly 'A'. Normally you don't directly call the A-functions. Only when you are doing things that *must* be single or multi-byte code you directly code with A/W-functions. Nearly all of the time you don't have to call A or W functions yourself, let the compiler handle it. What is wrong with directly calling the A-functions is that you break Unicode. If a future DScaler version is compiled with Unicode support your code breaks when someone wants the schedule a recording on a channel with a Japanese name (not tested but you get the idea). Try renaming your printer to some name with Unicode characters in it. Many programs can't print to it anymore. Rob ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Deinterlace-discuss mailing list Dei...@li... https://lists.sourceforge.net/lists/listinfo/deinterlace-discuss |