Ignore:
Timestamp:
Mar 12, 2008, 9:54:46 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

実験として書いていたControlクラスを追加(せめてコミット前に既存のContorolに混ぜようとしたがコンパイルできなかった)。
ほかForms, Drawing及びGDI+の修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/basic/dos_console.sbp

    r432 r473  
    1010Dim _System_hConsoleIn = GetStdHandle(STD_INPUT_HANDLE)
    1111System.Console.SetIn(
    12     New System.IO.StreamReader(
    13         New System.IO.FileStream(_System_hConsoleIn, System.IO.FileAccess.Read, False)))
     12    System.IO.TextReader.Synchronized(New System.IO.StreamReader(
     13        New System.IO.FileStream(_System_hConsoleIn, System.IO.FileAccess.Read, False))))
    1414
    1515'---------- command.sbp内で定義済み ----------
     
    5757
    5858    Dim dwAccessBytes As DWord
    59 #ifdef __STRING_UNICODE_WINDOWS_ANSI
    60 '   Debug
    61     Dim oldAlloc = _System_AllocForConvertedString
    62     _System_AllocForConvertedString = AddressOf (_System_malloc)
    63     Dim pszOut As PCSTR
    64     Dim len = GetStr(buf, pszOut)
    65     _System_AllocForConvertedString = oldAlloc
    66     WriteConsole(_System_hConsoleOut, pszOut, len, dwAccessBytes, 0)
    67     _System_free(pszOut)
    68 #else
    6959    WriteConsole(_System_hConsoleOut, buf.StrPtr, buf.Length, dwAccessBytes, 0)
    70 #endif
    7160End Sub
    7261/* TODO: _System_GetUsingFormatを用意して実装する
Note: See TracChangeset for help on using the changeset viewer.