[Confusing functionality] + [New features] = [Documentation that can be confusing]

The question that came in:

...problems with the Alt Gr Key on the German keyboard layout under Windows 2000/XP but it works under Windows Vista.

Function calls:
    IntPtr vHkl = Win32Api.GetKeyboardLayout(Win32Api.GetWindowThreadProcessId(Win32Api.GetForegroundWindow(), IntPtr.Zero));
    Keys virtualKey = Win32Api.MapVirtualKeyEx(0xe038, 3, vHkl);

Details regarding the function calls above:
*  Win32Api is customer’s own P/Invoke wrapper class around the Win32 API.
*  His current keyboard layout is Swiss German.lire la suite

Lien du post: http://blogs.msdn.com/michkap/archive/2008/02/02/7385461.aspx

Sur le même thème :


    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2368980284highlight_approx_match( )../mininew.php:106
    50.2369982220preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2371980852highlight_approx_match( )../mininew.php:110
    50.2373982456preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 27 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2371980852highlight_approx_match( )../mininew.php:110
    50.2374982900preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2418988720highlight_approx_match( )../mininew.php:110
    50.2419990480preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2439984740highlight_approx_match( )../mininew.php:106
    50.2440986292preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2442984916highlight_approx_match( )../mininew.php:110
    50.2443986468preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 27 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2442984916highlight_approx_match( )../mininew.php:110
    50.2444986856preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2468984408highlight_approx_match( )../mininew.php:110
    50.2470986068preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2477982084highlight_approx_match( )../mininew.php:110
    50.2478983872preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 23 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2490987720highlight_approx_match( )../mininew.php:110
    50.2490988504preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 27 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2490987720highlight_approx_match( )../mininew.php:110
    50.2492989200preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2546995280highlight_approx_match( )../mininew.php:110
    50.2548996676preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 27 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2546995280highlight_approx_match( )../mininew.php:110
    50.2549996916preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2585990764highlight_approx_match( )../mininew.php:110
    50.2586992088preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 27 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2585990764highlight_approx_match( )../mininew.php:110
    50.2587992396preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2603987156highlight_approx_match( )../mininew.php:106
    50.2604989040preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2606987912highlight_approx_match( )../mininew.php:110
    50.2607989268preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 27 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2606987912highlight_approx_match( )../mininew.php:110
    50.2608999900preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2616996936highlight_approx_match( )../mininew.php:106
    50.2617998436preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 17 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2619997068highlight_approx_match( )../mininew.php:110
    50.2620998320preg_match ( )../newfunction.php:517

    ( ! ) Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 27 in /var/www/lib/newfunction.php on line 517
    Call Stack
    #TimeMemoryFunctionLocation
    10.000198396{main}( )../detail.php:0
    20.0249777596include( '/var/www/odowa/web/search_simple.php' )../detail.php:48
    30.0250777968require( '/var/www/odowa/web/search/mininew.php' )../search_simple.php:5
    40.2619997068highlight_approx_match( )../mininew.php:110
    50.2621998560preg_match ( )../newfunction.php:517
  • New features for the plugin system

    My previous post about the plugin system generated some more feedback from the community. The requested features make sense, so I have implemented most of them. The new version has been deployed with the following new features: * Plugin developers have now a new description field to give an overview of the plugin.

  • New Features in C# 4.0 Paper, plus Feedback and Samples

    Mads Torgersen, a C# PM and member of the C# design team, has worked with other members of the C# team to create a document that outlines the new features in C# 4.0. Along with Anders’ PDC talk, this is probably the best way to get an overview of what the C# team has planned for the next release of the language.

  • Kyte announces funding, new features

    Kyte just announced a B-round of funding from Telefonica, Nokia, DoCoMo, Swisscom, Holtzbrinck and DFJ of $15 million, adding on to an earlier round of $2.25 million. Whew, the video space is really heating up. But more significant than the money is the distribution.

  • SQL Server 2008 (Katmai) New Features Overview

    SQL Server 2008 (Katmai) New Features Overview Nice article on SQL 2008 (Katmai) New Features: http://blogs.mssqltips.com/blogs/chadboyd/archive/2007/10/15/katmai-sql-2008-the-list-of-new-features.aspx   Posted: Saturday, December 29, 2007 10:59 AM by mwilmot

  • Spell checker update 2.1: a few bug fixes and couple of new features

    Spell checker update 2.1: a few bug fixes and couple of new features Bug fixes: · Text was not handled correctly. · Comments in blocks were not included in spell checking. · Spell checking terminated prematurely under certain conditions after encountering  block.

  • New features and changes in pear.php.net

    I just did a new release of pear.php.net which has a bunch of new features and bug fixes, most of which you can see here. The more noticeable new things are (in none specific order): · One column design instead of the 2 column design · New menu system · The main skeleton uses divs instead of tables.

  • Down And Dirty With Saints Row 2's New Features [Thq Gamers Day]

    I kicked off last night's THQ Gamer's Day with a look at Saints Row 2 for the Xbox 360 and PlayStation 3. As we reported earlier today, the release date has been set for August 26th and, from the looks of it, THQ and Volition have packed it full of new features.

  • TomTom RIDER 2 now with new features

    TomTom RIDER 2 now with new features Published on April 25th, 2008 in gps navigation, on bikes, tomtom TomTom RIDER 2 which has been around for about a year just got updated with some new features: · Map Share technology · “Help Me” menu · latest map guarantee · trip statistics · itinerary planning The new TomTom RIDER 2 will be available as early as next month in the U.

  • Murderer-developed file systems introduce new features [Crime]

    Hans Reiser, the software engineer who developed code for the Linux operating system, wasn't just convicted of first degree murder in the disappearance of his ex-wife. He's also become the butt of an incredibly obscure joke.

  • The Onion Outlines GTA IV's New Features [Gta Iv]

    When I say that every major news outlet had stories about Grand Theft Auto IV last week, I mean every major news outlet, including venerable parody news site and internet staple The Onion, who took some time to inform their readers of the new features in Rockstar's latest entry in the series.



ODOWA
Accueil Inscription Contact