Builder.cz - Informacni server o programovani

Odběr fotomagazínu

Fotografický magazín "iZIN IDIF" každý týden ve Vašem e-mailu.
Co nového ve světě fotografie!

 

Zadejte Vaši e-mailovou adresu:

Kamarád fotí rád?

Přihlas ho k odběru fotomagazínu!

 

Zadejte e-mailovou adresu kamaráda:



Programek na obrazovku do videa

Seznam témat     Nová odpověď

Přihlásit se     Registrace     Zapomenuté heslo

Re: Programek na obrazovku do videa

Autor: Zangief

15:43:14 22.01.2009

Docela by mě zajímala decimální hodnota slova "pokročilejší" zkušenosti s WinAPI.
Když se na ten zdroják podívám já (jakožto pokročilejší ve WinAPI), tak zcela jasně vidím jak co se tam dělá, tak které části jsou ty o kterých píšeš. Omáčka okolo znamená, že autor vyvíjel aplikaci ortogonálně, rozkládal problémy na menší a osobně s tím nemám žádný problém. Nevím co víc lze čekat.

Citovat příspěvek

 

Re: Programek na obrazovku do videa

Autor: BLWojtech

22:53:48 18.01.2009

Ja jeste zpetne dekuji panu Valerianovi za Taksi. S prestavkami program debuguju jiz necele 2 tydny.

Nebudu zas plne inteligentni programator, ale tento program obsahuje mnoho omacky a stale se nemuzu dobrat jednoducheho programu, ktery by nahraval celou plochu do videa.

Proste neco odlehceneho, co umi jen toto, abych mel sanci to pochopit. Vite jeste o necem jinem?

Citovat příspěvek

 

Re: Programek na obrazovku do videa

Autor: JiriValerian

16:57:40 08.01.2009

[color=#008000]BLWojtech Napsal:
-------------------------------------------------------
> Dobry napad, zkusil jsem to zakomentovat, avsak
> stale mam problemy s prekladem.
>
> Pokud spustim preklad v DEBUG dostanu tento vystup...[/color]

Otevřete si v [b]Notepadu[/b] soubor projektu [b]TaksiDll.vcproj[/b]
a na dvou místech je tam uveden řádek:

[b]AdditionalDependencies="vfw32.lib dxguid.lib winmm.lib dinput8.lib"[/b]

změňte to u obou řádků na toto:

[b]AdditionalDependencies="vfw32.lib winmm.lib"[/b]

V nastavení projektu někde v [b]C/C++[/b] -> [b]General[/b] si vypněte
položku [b]"Detect 64-bit Portability Issues"[/b]

Doplňte si na počátek hlavičkového souboru [b]stdafx.h[/b]

[b]#define _CRT_SECURE_NO_WARNINGS[/b]

Ve zdrojáku [b]taksidll.cpp[/b] proveďte od řádku [b]33[/b] úpravu vložením [b]#ifdef USE_DX[/b].

[size=14px][code][b]Původně je tam toto:[/b]
[color=#0000FF]static[/color] CTaksiGraphX[color=#800000]*[/color] [color=#0000FF]const[/color] s_GraphxModes[color=#800000][[/color] TAKSI_GRAPHX_QTY [color=#800000]][/color] [color=#800000]=[/color]
[color=#800000]{[/color]
[color=#800000]&[/color]g_OGL[color=#800000],[/color] &g_OGL, [color=#008000]// TAKSI_GRAPHX_OGL[/color]
[color=#800000]&[/color]g_DX8[color=#800000],[/color]
[color=#800000]&[/color]g_DX9[color=#800000],[/color]
[color=#800000]&[/color]g_GDI[color=#800000],[/color] &g_GDI, [color=#008000]// TAKSI_GRAPHX_GDI // Last[/color]
[color=#800000]}[/color][color=#800000];[/color]

[b]opravit na toto:[/b]
[color=#0000FF]static[/color] CTaksiGraphX[color=#800000]*[/color] [color=#0000FF]const[/color] s_GraphxModes[color=#800000][[/color] TAKSI_GRAPHX_QTY [color=#800000]][/color] [color=#800000]=[/color]
[color=#800000]{[/color]
[color=#800000]&[/color]g_OGL[color=#800000],[/color] &g_OGL, [color=#008000]// TAKSI_GRAPHX_OGL[/color]
[color=#0000FF]#ifdef[/color] USE_DX
[color=#800000]&[/color]g_DX8[color=#800000],[/color]
[color=#800000]&[/color]g_DX9[color=#800000],[/color]
[color=#0000FF]#endif[/color]
[color=#800000]&[/color]g_GDI[color=#800000],[/color] &g_GDI, [color=#008000]// TAKSI_GRAPHX_GDI // Last[/color]
[color=#800000]}[/color][color=#800000];[/color]
[/code][/size]

Dále na konec zdrojáku [b]taksidll.cpp[/b] přidejte toto:
[size=14px][code][color=#0000FF]#ifdef[/color] USE_DX
[color=#0000FF]#pragma[/color] [color=#0000FF]comment[/color][color=#800000]([/color][color=#0000FF]lib[/color][color=#800000],[/color][color=#800080]"dxguid.lib"[/color][color=#800000])[/color]
[color=#0000FF]#pragma[/color] [color=#0000FF]comment[/color][color=#800000]([/color][color=#0000FF]lib[/color][color=#800000],[/color][color=#800080]"dinput8.lib"[/color][color=#800000])[/color]
[color=#0000FF]#endif[/color]
[/code][/size]

Citovat příspěvek

 

Re: Programek na obrazovku do videa

Autor: BLWojtech

14:51:41 08.01.2009

Dobry napad, zkusil jsem to zakomentovat, avsak stale mam problemy s prekladem.

Pokud spustim preklad v DEBUG dostanu tento vystup:

[code]
1>------ Build started: Project: TaksiDll, Configuration: Debug Win32 ------
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>TaksiDll.cpp
1>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\dll\taksidll.cpp(33) : error C2065: 'g_DX8' : undeclared identifier
1>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\dll\taksidll.cpp(34) : error C2065: 'g_DX9' : undeclared identifier
1>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\dll\taksidll.cpp(34) : error C2078: too many initializers
1>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\dll\taksidll.cpp(584) : warning C4244: 'initializing' : conversion from '__w64 int' to 'int', possible loss of data
1>Build log was saved at "file://c:\Documents and Settings\arschenegger\Plocha\taksi-0.7.6-src\main\src\Debug\BuildLog.htm"
1>TaksiDll - 3 error(s), 2 warning(s)
2>------ Build started: Project: TaksiExe, Configuration: Debug Win32 ------
2>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>Taksi.cpp
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\taksi.cpp(17) : warning C4311: 'type cast' : pointer truncation from 'const TCHAR *' to 'DWORD'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\taksi.cpp(19) : warning C4311: 'type cast' : pointer truncation from 'const TCHAR *' to 'DWORD'
2>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>Gui.cpp
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(48) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(52) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(75) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(79) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(83) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(241) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(275) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(333) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(338) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(455) : warning C4244: 'return' : conversion from 'INT_PTR' to 'int', possible loss of data
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\gui.cpp(638) : warning C4244: 'argument' : conversion from 'WPARAM' to 'int', possible loss of data
2>guiConfig.cpp
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\guiconfig.cpp(87) : warning C4996: '_tcslwr': This function or variable may be unsafe. Consider using _tcslwr_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\tchar.h(1880) : see declaration of '_tcslwr'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\guiconfig.cpp(170) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\guiconfig.cpp(201) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\guiconfig.cpp(206) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\guiconfig.cpp(221) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_snprintf'
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\exe\guiconfig.cpp(470) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> c:\program files\microsoft visual studio 9.0\vc\include\string.h(157) : see declaration of 'strncpy'
2>Test_dx8.cpp
2>Test_dx9.cpp
2>CFileDirDlg.cpp
2>CWndToolTip.cpp
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\common\cwndtooltip.cpp(67) : warning C4244: 'initializing' : conversion from 'UINT_PTR' to 'int', possible loss of data
2>c:\documents and settings\arschenegger\plocha\taksi-0.7.6-src\main\src\common\cwndtooltip.cpp(78) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'int', possible loss of data
2>Generating Code...
2>Compiling resources...
2>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>Compiling manifest to resources...
2>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>Linking...
2>LINK : fatal error LNK1104: cannot open file '..\debug\taksidll.lib'
2>Build log was saved at "file://c:\Documents and Settings\arschenegger\Plocha\taksi-0.7.6-src\main\src\Debug\BuildLog.htm"
2>TaksiExe - 1 error(s), 23 warning(s)
3>------ Skipped Build: Project: TaksiInstaller, Configuration: Debug ------
3>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 1 skipped ==========
[/code]

a ve versi RELEASE:

[code]
1>------ Build started: Project: TaksiDll, Configuration: Release Win32 ------
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>TaksiDll.cpp
1>.\TaksiDll.cpp(33) : error C2065: 'g_DX8' : undeclared identifier
1>.\TaksiDll.cpp(34) : error C2065: 'g_DX9' : undeclared identifier
1>.\TaksiDll.cpp(34) : error C2078: too many initializers
1>.\TaksiDll.cpp(584) : warning C4244: 'initializing' : conversion from '__w64 int' to 'int', possible loss of data
1>Build log was saved at "file://c:\Documents and Settings\arschenegger\Plocha\taksi-0.7.6-src\main\src\Release\BuildLog.htm"
1>TaksiDll - 3 error(s), 2 warning(s)
2>------ Build started: Project: TaksiExe, Configuration: Release Win32 ------
2>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>Taksi.cpp
2>.\Taksi.cpp(17) : warning C4311: 'type cast' : pointer truncation from 'const TCHAR *' to 'DWORD'
2>.\Taksi.cpp(19) : warning C4311: 'type cast' : pointer truncation from 'const TCHAR *' to 'DWORD'
2>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>CWndToolTip.cpp
2>..\common\CWndToolTip.cpp(67) : warning C4244: 'initializing' : conversion from 'UINT_PTR' to 'int', possible loss of data
2>..\common\CWndToolTip.cpp(78) : warning C4244: 'argument' : conversion from 'UINT_PTR' to 'int', possible loss of data
2>CFileDirDlg.cpp
2>Test_dx9.cpp
2>Test_dx8.cpp
2>guiConfig.cpp
2>.\guiConfig.cpp(87) : warning C4996: '_tcslwr': This function or variable may be unsafe. Consider using _tcslwr_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\tchar.h(1880) : see declaration of '_tcslwr'
2>.\guiConfig.cpp(170) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\guiConfig.cpp(201) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\guiConfig.cpp(206) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\guiConfig.cpp(221) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\guiConfig.cpp(470) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy'
2>Gui.cpp
2>.\Gui.cpp(48) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\Gui.cpp(52) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\Gui.cpp(75) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\Gui.cpp(79) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\Gui.cpp(83) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\Gui.cpp(241) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\Gui.cpp(275) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\Gui.cpp(333) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\Gui.cpp(338) : warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_snprintf'
2>.\Gui.cpp(455) : warning C4244: 'return' : conversion from 'INT_PTR' to 'int', possible loss of data
2>.\Gui.cpp(638) : warning C4244: 'argument' : conversion from 'WPARAM' to 'int', possible loss of data
2>Generating Code...
2>Compiling resources...
2>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>Linking...
2>LINK : fatal error LNK1181: cannot open input file 'dinput8.lib'
2>Build log was saved at "file://c:\Documents and Settings\arschenegger\Plocha\taksi-0.7.6-src\main\src\Release\BuildLog.htm"
2>TaksiExe - 1 error(s), 23 warning(s)
------ Starting pre-build validation for project 'TaksiInstaller' ------
------ Pre-build validation for project 'TaksiInstaller' completed ------
3>------ Build started: Project: TaksiInstaller, Configuration: Release ------
Building file 'C:\Documents and Settings\arschenegger\Plocha\taksi-0.7.6-src\main\src\TaksiInstaller\Release\TaksiInstaller.msi'...
ERROR: Unable to build shortcut named 'Taksi Desktop Video Recorder', located in '[ProgramMenuFolder]'
ERROR: Unable to build shortcut named 'Taksi Desktop Video Recorder', located in '[DesktopFolder]'
Build process cancelled
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
[/code]


Zkousel jsem ruzne pridavat cesty pro include trebas toho 'dinput8.lib' a nic nejde.
Mozna jsem opravdu natvrdlej :-)

Pomuzete?

Vazim si Vasi pomoci pane Valerian!

Citovat příspěvek

 

Re: Programek na obrazovku do videa

Autor: JiriValerian

14:31:24 08.01.2009

[color=#008000]BLWojtech Napsal:
-------------------------------------------------------
> Program dnes cely den zkousim zkompilovat a nedari
> se. Nejdrive to skoncilo zpravou, ze (mimojine)
> chybi include soubor d3d8.h
>
> Pochopil jsem tedy nutnost stazeni DirectX SDK
> (November 2008), ktere jsem nainstaloval, ale tam
> zadny d3d8.h neexistuje, protoze jde o novejsi
> verzi DirectX.
>
> Poupravil jsem zdrojak na includovani novejsiho
> souboru d3d9.h a ted na me vyjelo asi 100
> chybovych hlaseni, ktere, zda se, nejsou v mojich
> silach opravit.
>
> Pomohli byste mi to rozchodit?
>
> P.S. - mam Visual Studio 2008[/color]

Mělo by to jít přeložit i [b]bez DirectX[/b].
V centrálním hlavičkovém souboru [b]stdafx.h[/b] je uvedeno toto:

[b]#define USE_DX // [color=#FF0000]remove this to compile if u dont have the DirectX SDK[/color][/b]

Takže si to zakomentujte např. takto:

[b]//#define USE_DX[/b]

a pak to zkuste kompletně znovu přeložit.

Citovat příspěvek

 

Re: Programek na obrazovku do videa

Autor: BLWojtech

14:05:50 08.01.2009

Program dnes cely den zkousim zkompilovat a nedari se. Nejdrive to skoncilo zpravou, ze (mimojine) chybi include soubor d3d8.h

Pochopil jsem tedy nutnost stazeni DirectX SDK (November 2008), ktere jsem nainstaloval, ale tam zadny d3d8.h neexistuje, protoze jde o novejsi verzi DirectX.

Poupravil jsem zdrojak na includovani novejsiho souboru d3d9.h a ted na me vyjelo asi 100 chybovych hlaseni, ktere, zda se, nejsou v mojich silach opravit.

Pomohli byste mi to rozchodit?

P.S. - mam Visual Studio 2008

Citovat příspěvek

 

Re: Programek na obrazovku do videa

Autor: BLWojtech

10:54:59 07.01.2009

pane Valerian diky moc, podivam se na to!

Preji hezky den

Citovat příspěvek

 

Re: Programek na obrazovku do videa

Autor: JiriValerian

9:47:02 07.01.2009

[color=#008000]BLWojtech Napsal:
-------------------------------------------------------
> Ahoj lidi,
>
> premyslim nad bakalarskou praci do skoly. Napadlo
> me tema na programek pro zachytavani obrazovky do
> videa (avi napriklad). Mam pokrocilejsi zkusenosti
> s WinApi a C++ avsak nedokazu vyhodnotit,jak je
> tato uloha narocna.
>
> Pomohli byste mi se rozhodnout? Co je pro tuto
> ulohu vsechno treba a jak narocna bude?[/color]

Viz níže je odkaz na balík obsahující kompletní zdrojáky jednoduchého programu
pro zachytávání obrazovky do videa. Podle toho se můžete inspirovat.

[b]Taksi[/b]
http://downloads.sourceforge.net/taksi/taksi-0.7.6-src.zip?modtime=1150991819&big_mirror=0

[img]http://sourceforge.net/dbimage.php?id=74728[/img]

Citovat příspěvek

 

Programek na obrazovku do videa

Autor: BLWojtech

8:32:51 07.01.2009

Ahoj lidi,

premyslim nad bakalarskou praci do skoly. Napadlo me tema na programek pro zachytavani obrazovky do videa (avi napriklad). Mam pokrocilejsi zkusenosti s WinApi a C++ avsak nedokazu vyhodnotit,jak je tato uloha narocna.

Pomohli byste mi se rozhodnout? Co je pro tuto ulohu vsechno treba a jak narocna bude?

Citovat příspěvek

 

 

 

Přihlášení k mému účtu

Uživatelské jméno:

Heslo: