Инструкция по адресу «0x010ea8ba» обратилась к памяти по адресу «0x001d2092». Память не может быть «read».
Причем возникает обычно один раз после компилирования проекта, т.е. откомпилировал проект запустил EXE-шник — появилась ошибка, запустил второй раз — работает нормально. Как можно избежать этой ошибки.
Alexeis
Дата 29.10.2007, 16:19 (ссылка) | (нет голосов) Загрузка .
Обсуждение действий администрации форума производятся только в этом форуме
гениальность идеи состоит в том, что ее невозможно придумать
Правила форума «Delphi: Звук, графика и видео»
1. Публиковать ссылки на вскрытые компоненты
2. Обсуждать взлом компонентов и делится вскрытыми компонентами
Литературу по Дельфи обсуждаем здесь
Действия модераторов можно обсудить здесь
С просьбами о написании курсовой, реферата и т.п. обращаться сюда
Вопросы по реализации алгоритмов рассматриваются здесь
90% ответов на свои вопросы можно найти в DRKB (Delphi Russian Knowledge Base) — крупнейшем в рунете сборнике материалов по Дельфи
По вопросам разработки игр стоит заглянуть сюда
Если Вам помогли и атмосфера форума Вам понравилась, то заходите к нам чаще! С уважением, Girder, Snowy.
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
« Предыдущая тема | Delphi: Звук, графика и видео | Следующая тема »
[ Время генерации скрипта: 0.0919 ] [ Использовано запросов: 21 ] [ GZIP включён ]
Mci command handling windows
Спасибо за поддержку!
Опции темы
Поиск в этой теме
Language
01.09.2005, 16:18
#1
02.09.2005, 09:31
#2
03.09.2005, 13:31
#3
04.09.2005, 10:13
#4
Ошибка интерфейса управления средой передачи данных. выскакивает
видать где то реестр перекосило.
Пробуй откатиться F8 Последняя рабочая конфигурация.
так же ..смотри в Просмотре событий.
если нет. переустановка оси.. мдя.
Уважаемые пользователи портала 2BakSa.WS и форума NoWa.cc !
Рады Вам сообщить, что у нас открылся Torrent трекер >> BRODIM.COM
Приглашаем вас принять участие в обмене полезной информацией,
MCI_WINDOW command
The MCI_WINDOW command specifies the window and the window characteristics for graphic devices. Digital-video, and video-overlay devices recognize this command.
To send this command, call the mciSendCommand function with the following parameters.
Parameters
Device identifier of the MCI device that is to receive the command message.
MCI_NOTIFY, MCI_WAIT, or, for digital-video devices, MCI_TEST. For information about these flags, see The Wait, Notify, and Test Flags.
Pointer to an MCI_GENERIC_PARMS structure. (Devices with extended command sets might replace this structure with a device-specific structure.)
Return Value
Returns zero if successful or an error otherwise.
Remarks
Graphic devices should create a default window when a device is opened but should not display it until they receive the MCI_PLAY command. The MCI_WINDOW command is used to supply an application-created window to the device and to change the display characteristics of an application-defined or default display window. If the application supplies the display window, it should be prepared to update an invalid rectangle on the window.
The following additional flags are used with the digitalvideo device type:
The handle of the window needed for use as the destination is included in the hWnd member of the structure identified by lpWindow.
The nCmdShow member of the structure identified by lpWindow contains parameters for setting the window state.
The lpstrText member of the structure identified by lpWindow contains an address of a buffer containing the caption used in the window title bar.
For digital-video devices, the lpWindow parameter points to an MCI_DGV_WINDOW_PARMS structure.
The following additional flags are used with the overlay device type:
Disables stretching of the image.
Enables stretching of the image.
The handle of the window used for the destination is included in the hWnd member of the structure identified by lpWindow. Set this flag to MCI_OVLY_WINDOW_DEFAULT to return to the default window.
The nCmdShow member of the lpWindow structure contains parameters for setting the window state. This flag is equivalent to calling ShowWindow with the state parameter. The constants are the same as those defined in WINDOWS.H (such as SW_HIDE, SW_MINIMIZE, or SW_SHOWNORMAL).
The lpstrText member of the structure identified by lpWindow contains an address of a buffer containing the caption used for the window.
For video-overlay devices, the lpWindow parameter points to an MCI_OVLY_WINDOW_PARMS structure.
Classifications of MCI Commands
MCI defines four command classifications: system, required, basic, and extended. The following list describes these command classifications:
System commands are handled by MCI directly, rather than by the driver.
Required commands are handled by the driver. All MCI drivers must support the required commands and flags.
Basic commands (or optional commands) are used by some devices. If a device supports a basic command, it must support a defined set of flags for that command.
Extended commands are specific to a device type or driver. Extended commands include commands, like the put (MCI_PUT) and where (MCI_WHERE) commands for the digitalvideo and overlay device types, and extensions to existing commands (like the «stretch» flag of the status (MCI_STATUS) command for the overlay device type).
While system and required commands are the minimum command set for any MCI driver, basic and extended commands are not supported by all drivers. Your application can always use system and required commands and their flags, but if it needs to use a basic or extended command or flag, it should first query the driver by using the capability (MCI_GETDEVCAPS) command. The following sections summarize the specific commands in each category.
System Commands
MCI processes the following system commands directly, rather than passing them to MCI devices.
String
Message
Description
break
MCI_BREAK
Sets a break key for an MCI device.
sysinfo
MCI_SYSINFO
Returns information about MCI devices.
Required Commands
All MCI devices support the following required commands.
String
Message
Description
capability
MCI_GETDEVCAPS
Obtains the capabilities of a device.
close
MCI_CLOSE
Closes the device.
info
MCI_INFO
Obtains textual information from a device.
open
MCI_OPEN
Initializes the device.
status
MCI_STATUS
Obtains status information from the device. Some of this command’s flags are not required, so it is also a basic command.
Devices must also support a standard set of command flags for the required commands.
Basic Commands
The following list summarizes the basic commands. The use of these commands by an MCI device is optional.
String
Message
Description
load
MCI_LOAD
Loads data from a file.
pause
MCI_PAUSE
Stops playing. Playback or recording can be resumed at the current position.
play
MCI_PLAY
Starts transmitting output data.
record
MCI_RECORD
Starts recording input data.
resume
MCI_RESUME
Resumes playing or recording on a paused device.
save
MCI_SAVE
Saves data to a disk file.
seek
MCI_SEEK
Seeks forward or backward.
set
MCI_SET
Sets the operating state of the device.
status
MCI STATUS
Obtains status information about the device. This is also a required command; since some of its flags are not required, it is also listed here. (The optional items support devices that use linear media with identifiable positions.)
stop
MCI_STOP
Stops playing.
If a driver supports a basic command, it must also support a standard set of flags for the command.
Extended Commands
Some MCI devices have additional commands, or they add flags to existing commands. While some extended commands apply only to a specific device driver, most of them apply to all drivers of a particular device type. For example, the command set for the sequencer device type extends the set (MCI_SET) command to add time formats that are needed by MIDI sequencers.
You should not assume that the device supports the extended commands or flags. You can use the capability (MCI_GETDEVCAPS) command to determine whether a specific feature is supported, and your application should be ready to deal with «unsupported command» or «unsupported function» return values.
The following extended commands are available with the listed device types.