Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Игры";
Текущий архив: 2004.05.16;
Скачать: [xml.tar.bz2];

Вниз

Вот смотрю примеры прог под ДиректХ, в делфи 5 нормально работает   Найти похожие ветки 

 
Igloo   (2004-01-03 15:19) [0]

а в делфи 6 и 7 не компилиться пишет ошибки типа:
[Warning] DirectDraw.pas(80): Unsafe code "(null)"
[Error] DirectDraw.pas(80): Variable name expected
[Warning] DirectDraw.pas(85): Unsafe type "TRefGUID"
[Warning] DirectDraw.pas(168): Unsafe type "TDDBltFX"
[Error] DirectDraw.pas(173): Type "IDirectDrawSurface" needs finalization - not allowed in variant record
[Error] DirectDraw.pas(180): Type "IDirectDrawSurface" needs finalization - not allowed in variant record
[Error] DirectDraw.pas(190): Type "IDirectDrawSurface" needs finalization - not allowed in variant record
[Error] DirectDraw.pas(197): Type "IDirectDrawSurface" needs finalization - not allowed in variant record
[Error] DirectDraw.pas(209): Type "IDirectDrawSurface" needs finalization - not allowed in variant record
[Warning] DirectDraw.pas(475): Unsafe type "TDDPixelFormat_DX5"
[Warning] DirectDraw.pas(512): Unsafe type "TDDPixelFormat_DX6"
[Warning] DirectDraw.pas(579): Unsafe type "TDDOverlayFX"
[Error] DirectDraw.pas(590): Type "IDirectDrawSurface" needs finalization - not allowed in variant record
[Error] DirectDraw.pas(592): Type "IDirectDrawSurface" needs finalization - not allowed in variant record
[Warning] DirectDraw.pas(720): Unsafe type "Pointer"
[Warning] DirectDraw.pas(732): Unsafe type "TDDSurfaceDesc_DX5"
[Warning] DirectDraw.pas(744): Unsafe type "Pointer"
[Warning] DirectDraw.pas(767): Unsafe type "TDDSurfaceDesc_DX6"
[Warning] DirectDraw.pas(779): Unsafe type "Pointer"
[Warning] DirectDraw.pas(813): Unsafe type "TDDSurfaceDesc2"
[Warning] DirectDraw.pas(825): Unsafe type "Pointer"
[Warning] DirectDraw.pas(877): Unsafe type "Pointer"
[Warning] DirectDraw.pas(879): Unsafe type "Pointer"
[Warning] DirectDraw.pas(881): Unsafe type "Pointer"
[Warning] DirectDraw.pas(883): Unsafe type "Pointer"
[Warning] DirectDraw.pas(885): Unsafe type "Pointer"
[Warning] DirectDraw.pas(907): Unsafe type "Pointer"
[Warning] DirectDraw.pas(916): Unsafe type "Pointer"
[Warning] DirectDraw.pas(919): Unsafe type "Pointer"
[Warning] DirectDraw.pas(947): Unsafe type "Pointer"
[Warning] DirectDraw.pas(956): Unsafe type "Pointer"
[Warning] DirectDraw.pas(959): Unsafe type "Pointer"
[Warning] DirectDraw.pas(989): Unsafe type "Pointer"
[Warning] DirectDraw.pas(998): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1001): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1039): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1048): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1051): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1094): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1096): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1098): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1137): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1139): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1168): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1197): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1199): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1229): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1258): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1260): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1290): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1324): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1326): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1370): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1372): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1395): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1397): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1441): Unsafe type "Pointer"
[Warning] DirectDraw.pas(1443): Unsafe type "Pointer"
[Warning] DirectDraw.pas(4747): Unsafe type "PAnsiChar"
[Warning] DirectDraw.pas(4748): Unsafe type "PAnsiChar"
[Warning] DirectDraw.pas(4748): Unsafe type "Pointer"
[Warning] DirectDraw.pas(4749): Unsafe type "PWideChar"
[Warning] DirectDraw.pas(4750): Unsafe type "PWideChar"
[Warning] DirectDraw.pas(4750): Unsafe type "Pointer"
[Warning] DirectDraw.pas(4757): Unsafe type "PAnsiChar"
[Warning] DirectDraw.pas(4758): Unsafe type "PAnsiChar"
[Warning] DirectDraw.pas(4758): Unsafe type "Pointer"
[Warning] DirectDraw.pas(4760): Unsafe type "PWideChar"
[Warning] DirectDraw.pas(4761): Unsafe type "PWideChar"
[Warning] DirectDraw.pas(4761): Unsafe type "Pointer"
[Warning] DirectDraw.pas(4772): Unsafe type "Pointer"
[Warning] DirectDraw.pas(4774): Unsafe type "Pointer"
[Warning] DirectDraw.pas(4776): Unsafe type "Pointer"
[Warning] DirectDraw.pas(4779): Unsafe type "Pointer"
[Warning] DirectDraw.pas(4781): Unsafe type "Pointer"
[Warning] DirectDraw.pas(4783): Unsafe type "Pointer"
[Warning] DirectDraw.pas(5588): Unsafe type "Pointer"
[Warning] DirectDraw.pas(5636): Unsafe type "Pointer"
[Warning] DXCommon.pas(18): Unsafe type "PAnsiChar"
[Warning] DXCommon.pas(90): Unsafe code "@ operator"
[Warning] DXCommon.pas(93): Unsafe type "PChar"
[Warning] DXCommon.pas(96): Unsafe code "@ operator"
[Warning] DXCommon.pas(96): Unsafe code "@ operator"
[Warning] DXCommon.pas(97): Unsafe type "PChar"
[Warning] DXCommon.pas(97): Unsafe code "@ operator"
[Warning] DXCommon.pas(97): Unsafe code "@ operator"
[Warning] DXCommon.pas(112): Unsafe type "PChar"
[Warning] DXCommon.pas(127): Unsafe type "PChar"
[Fatal Error] DirectDraw.pas(5650): Could not compile used unit "DXCommon.pas"

Везде есть делфиХ, а файлы прилагаемые с примерами не компиляться (это файлы directdraw.pas,dxcommon.pas И т.д.)чтобы могло это значить?


 
Gnom ©   (2004-01-03 20:32) [1]

я конечно не знаю точно, но помойму для каждой версии дельфи надо ставить свой компонент делфиХ, для конкретной версии


 
Jenaxx ©   (2004-01-04 15:13) [2]

ставил, видимо в д7 криво с директом обстоит



Страницы: 1 вся ветка

Форум: "Игры";
Текущий архив: 2004.05.16;
Скачать: [xml.tar.bz2];

Наверх




Память: 0.46 MB
Время: 0.044 c
14-1082600202
Думкин
2004-04-22 06:16
2004.05.16
С днем рождения! 22 апреля.


1-1083226372
Nk
2004-04-29 12:12
2004.05.16
Подключение новой DLL работающей программой.


7-1080733780
binr
2004-03-31 15:49
2004.05.16
Работа с RS-232


7-1081145534
Clawhammer
2004-04-05 10:12
2004.05.16
Установка Time Zone...


1-1082870526
Schummi
2004-04-25 09:22
2004.05.16
Быстрое заполнение AdvStringGrid





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский