Du bist nicht angemeldet.

Werbeanzeige

dauerzocker

Frischling

  • »dauerzocker« ist der Autor dieses Themas

Beiträge: 18

Beruf: Schüler

  • Private Nachricht senden

11

19.02.2010, 20:18

Ja, alles was in Algemein is hab ich zum Projekt hinzugefügt. Und hier der Code:

C-/C++-Quelltext

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
// Microsoft Visual C++ generated resource script.

//

#include "Resource.h"
#define IDC_STATIC -1

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////

//

// Generated from the TEXTINCLUDE 2 resource.

//

#include "windows.h"

/////////////////////////////////////////////////////////////////////////////

#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////

// Deutsch (Deutschland) resources


#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
#ifdef _WIN32
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
#pragma code_page(1252)
#endif //_WIN32


#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////

//

// TEXTINCLUDE

//


1 TEXTINCLUDE 
BEGIN
    "Resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED



/////////////////////////////////////////////////////////////////////////////

//

// Dialog

//


TB_IDD_CONFIG DIALOGEX 0, 0, 364, 316
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | 
    WS_CAPTION | WS_SYSMENU
CAPTION "TriBase-Engine-Konfigurationsdialog"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
    LTEXT           "Wählen Sie einen &Adapter:",IDC_STATIC,10,20,86,8
    COMBOBOX        TB_IDC_D3DC_ADAPTERS,100,20,126,60,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "&Gerätetyp:",IDC_STATIC,10,38,36,8
    COMBOBOX        TB_IDC_D3DC_DEVICE_TYPES,100,39,126,60,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "Fenstermodus oder Vollbildmodus?",IDC_STATIC,10,62,78,
                    18
    CONTROL         "&Fenstermodus",TB_IDC_D3DC_WINDOWED_MODE,"Button",
                    BS_AUTORADIOBUTTON,100,62,61,10
    CONTROL         "&Vollbildmodus",TB_IDC_D3DC_FULLSCREEN_MODE,"Button",
                    BS_AUTORADIOBUTTON,100,74,58,10
    LTEXT           "Vi&deomodus:",IDC_STATIC,10,92,42,8
    COMBOBOX        TB_IDC_D3DC_VIDEO_MODES,100,92,126,120,CBS_DROPDOWNLIST |
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "Bild&pufferformat:",IDC_STATIC,10,110,56,8
    COMBOBOX        TB_IDC_D3DC_BACK_BUFFER_FORMATS,100,111,126,60,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "&Z-Stencil-Buffer-Format:",IDC_STATIC,10,128,79,8
    COMBOBOX        TB_IDC_D3DC_Z_STENCIL_BUFFER_FORMATS,100,127,126,60,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Multi-Sampling-&Typ:",IDC_STATIC,10,146,64,8
    COMBOBOX        TB_IDC_D3DC_MULTI_SAMPLING_TYPES,100,146,126,60,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Multi-Sampling-&Qualität:",IDC_STATIC,10,164,77,8
    COMBOBOX        TB_IDC_D3DC_MULTI_SAMPLING_QUALITIES,100,164,126,60,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Ha&rdware oder Softwaretransformation und -Beleuchtung?",
                    IDC_STATIC,10,188,78,24
    CONTROL         "&Hardware",TB_IDC_D3DC_HARDWARE_TNL,"Button",
                    BS_AUTORADIOBUTTON,100,190,47,10
    CONTROL         "Soft&ware",TB_IDC_D3DC_SOFTWARE_TNL,"Button",
                    BS_AUTORADIOBUTTON,100,200,44,10
    DEFPUSHBUTTON   "&OK",TB_IDC_C_OK,305,295,48,14
    PUSHBUTTON      "A&bbrechen",TB_IDC_C_CANCEL,251,295,50,14
    LTEXT           "Beschreibung und Hinweise:",IDC_STATIC,235,100,90,8
    EDITTEXT        TB_IDC_C_DESCRIPTION,235,110,120,175,ES_MULTILINE | 
                    ES_AUTOVSCROLL | ES_READONLY | ES_WANTRETURN | 
                    WS_VSCROLL
    PUSHBUTTON      "Spe&ichern...",TB_IDC_C_SAVE,5,295,50,14
    PUSHBUTTON      "&Laden...",TB_IDC_C_LOAD,59,295,50,14
    CONTROL         102,IDC_STATIC,"Static",SS_BITMAP,235,10,120,83
    GROUPBOX        "Direct3D",IDC_STATIC,5,5,225,215
    GROUPBOX        "DirectSound",IDC_STATIC,5,225,225,60
    LTEXT           "&Soundtreiber:",IDC_STATIC,10,240,45,8
    COMBOBOX        TB_IDC_DSC_DRIVERS,100,240,126,60,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "Bits pro Sample:",IDC_STATIC,10,255,52,8
    CONTROL         "&8",TB_IDC_DSC_8_BITS,"Button",BS_AUTORADIOBUTTON,100,
                    255,20,10
    CONTROL         "1&6",TB_IDC_DSC_16_BITS,"Button",BS_AUTORADIOBUTTON,140,
                    255,24,10
    LTEXT           "Sa&mpling-Frequenz (Hz):",IDC_STATIC,10,270,78,8
    CONTROL         "11&025",TB_IDC_DSC_11025_HZ,"Button",BS_AUTORADIOBUTTON,
                    100,270,36,10
    CONTROL         "220&50",TB_IDC_DSC_22050_HZ,"Button",BS_AUTORADIOBUTTON,
                    140,270,36,10
    CONTROL         "&44100",TB_IDC_DSC_44100_HZ,"Button",BS_AUTORADIOBUTTON,
                    180,270,36,10
    CONTROL         "V-S&ync",TB_IDC_D3DC_VSYNC,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,160,190,38,10
END


/////////////////////////////////////////////////////////////////////////////

//

// Bitmap

//


TB_IDB_BITMAP1          BITMAP                  "Bitmap1.bmp"

/////////////////////////////////////////////////////////////////////////////

//

// Icon

//


// Icon with lowest ID value placed first to ensure application icon

// remains consistent on all systems.

TB_IDI_ICON1            ICON                    "Icon1.ico"

/////////////////////////////////////////////////////////////////////////////

//

// Version

//


TB_VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,1,0,0
 PRODUCTVERSION 1,1,0,0
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x29L
#else
 FILEFLAGS 0x28L
#endif
 FILEOS 0x4L
 FILETYPE 0x0L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040704b0"
        BEGIN
            VALUE "Comments", "---"
            VALUE "CompanyName", "Scherfgen-Software"
            VALUE "FileDescription", "TriBase-Engine"
            VALUE "FileVersion", "1, 1, 0, 0"
            VALUE "InternalName", "TriBase"
            VALUE "LegalCopyright", "Copyright © 2002"
            VALUE "LegalTrademarks", "---"
            VALUE "OriginalFilename", "TriBase(D).dll"
            VALUE "PrivateBuild", "---"
            VALUE "ProductName", "Scherfgen-Software TriBase-Engine"
            VALUE "ProductVersion", "1, 1, 0, 0"
            VALUE "SpecialBuild", "---"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x407, 1200
    END
END

#endif    // Deutsch (Deutschland) resources

/////////////////////////////////////////////////////////////////////////////




#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////

//

// Generated from the TEXTINCLUDE 3 resource.

//



/////////////////////////////////////////////////////////////////////////////

#endif    // not APSTUDIO_INVOKED

12

19.02.2010, 20:54

Hinzufügen alleine reicht oft nicht, da die Pfade im Include nicht stimmen. Du musst Allgemein in den Projektordner kopieren.

dauerzocker

Frischling

  • »dauerzocker« ist der Autor dieses Themas

Beiträge: 18

Beruf: Schüler

  • Private Nachricht senden

13

19.02.2010, 21:07

hab se noch mal neu eingefügt, jetzt wird dieser Fehler angezeigt:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1>------ Neues Erstellen gestartet: Projekt: Direckt3D Abzählung, Konfiguration: Debug Win32 ------
1>Die Zwischen- und Ausgabedateien für das Projekt "Direckt3D Abzählung" mit der Konfiguration "Debug|Win32" werden gelöscht.
1>Kompilieren...
1>Direct3DEnum.cpp
1>Dreieck.cpp
1>InitDirect3D.cpp
1>InitWindow.cpp
1>Code wird generiert...
1>Ressourcen werden kompiliert...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>fatal error RC1110: could not open ..\Resource.rc
1>Projekt : error PRJ0002 : Fehler "1" wurde von "C:\Programme\Microsoft SDKs\Windows\v6.0A\bin\rc.exe" zurückgegeben.
1>Das Buildprotokoll wurde unter "file://c:\Dokumente und Einstellungen\Martin\Desktop\Hauptordner\Programme\Meine Porgrame\Uncompilirt\Dreieck\Dreieck\Debug\BuildLog.htm" gespeichert.
1>Direckt3D Abzählung - 1 Fehler, 0 Warnung(en)
========== Alles neu erstellen: 0 erfolgreich, Fehler bei 1, 0 übersprungen ==========

Werbeanzeige