Du bist nicht angemeldet.

Stilllegung des Forums
Das Forum wurde am 05.06.2023 nach über 20 Jahren stillgelegt (weitere Informationen und ein kleiner Rückblick).
Registrierungen, Anmeldungen und Postings sind nicht mehr möglich. Öffentliche Inhalte sind weiterhin zugänglich.
Das Team von spieleprogrammierer.de bedankt sich bei der Community für die vielen schönen Jahre.
Wenn du eine deutschsprachige Spieleentwickler-Community suchst, schau doch mal im Discord und auf ZFX vorbei!

Werbeanzeige

41

11.03.2009, 21:11

okay aber wie? was ist .rc überhaupt für ein Dateiformat? Ich nehme an es ist eine resourcendatei aber wie bindet man die ein? (hatte bis jetzt wenig mit eigenen Resourcen zu tun)

42

11.03.2009, 21:18

rc = Ressourcenscript.
In der Projektmappe - rechte Maustaste auf Ordner Ressourcen (sofern vorhanden) - Hinzufügen - Vorhandenes Element
Dann die beiden Dateien auswählen.
fka tm

43

11.03.2009, 21:24

Visual C++ möchte dann ein resource script erstellen in dem es irgendeine afraxes.h includen möchte, die der Compiler wiederum nicht öffnen will....

So siehts aus:

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
// Microsoft Visual C++ generated resource script.

//

#include "Allgemeines.h"

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

//

// Generated from the TEXTINCLUDE 2 resource.

//

#include "mfc/afxres.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
    "Allgemeines.h\0"
END

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

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

#endif    // APSTUDIO_INVOKED



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

//

// Dialog

//


IDD_DIRECT3D_SETTINGS DIALOGEX 0, 0, 364, 236
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | 
    WS_CAPTION | WS_SYSMENU
CAPTION "Direct3D-Einstellungen"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
    LTEXT           "Wählen Sie einen &Adapter:",IDC_STATIC,6,6,86,8
    COMBOBOX        IDC_D3DS_ADAPTERS,96,6,126,60,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "&Gerätetyp:",IDC_STATIC,6,24,36,8
    COMBOBOX        IDC_D3DS_DEVICE_TYPES,96,24,126,60,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "Fenstermodus oder Vollbildmodus?",IDC_STATIC,6,48,78,18
    CONTROL         "&Fenstermodus",IDC_D3DS_WINDOWED_MODE,"Button",
                    BS_AUTORADIOBUTTON,96,48,61,10
    CONTROL         "&Vollbildmodus",IDC_D3DS_FULLSCREEN_MODE,"Button",
                    BS_AUTORADIOBUTTON,96,60,58,10
    LTEXT           "Vi&deomodus:",IDC_STATIC,6,78,42,8
    COMBOBOX        IDC_D3DS_VIDEO_MODES,96,78,126,120,CBS_DROPDOWNLIST |
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "Bild&pufferformat:",IDC_STATIC,6,96,56,8
    COMBOBOX        IDC_D3DS_BACK_BUFFER_FORMATS,96,96,126,60,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "&Z-Stencil-Buffer-Format:",IDC_STATIC,6,114,79,8
    COMBOBOX        IDC_D3DS_Z_STENCIL_BUFFER_FORMATS,96,114,126,60,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Multi-Sampling-&Typ:",IDC_STATIC,6,132,64,8
    COMBOBOX        IDC_D3DS_MULTI_SAMPLING_TYPES,96,132,126,60,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Multi-Sampling-&Qualität:",IDC_STATIC,6,150,77,8
    COMBOBOX        IDC_D3DS_MULTI_SAMPLING_QUALITIES,96,150,126,60,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Ha&rdware oder Softwaretransformation und -Beleuchtung?",
                    IDC_STATIC,6,174,78,24
    CONTROL         "&Hardware",IDC_D3DS_HARDWARE_TNL,"Button",
                    BS_AUTORADIOBUTTON,95,175,47,10
    CONTROL         "&Software",IDC_D3DS_SOFTWARE_TNL,"Button",
                    BS_AUTORADIOBUTTON,95,185,44,10
    DEFPUSHBUTTON   "&OK",IDC_D3DS_OK,305,210,50,18
    PUSHBUTTON      "A&bbrechen",IDC_D3DS_CANCEL,251,210,50,18
    LTEXT           "Beschreibung und Hinweise:",IDC_STATIC,234,6,90,8
    EDITTEXT        IDC_D3DS_DESCRIPTION,234,18,120,187,ES_MULTILINE | 
                    ES_AUTOVSCROLL | ES_READONLY | ES_WANTRETURN
    PUSHBUTTON      "Spe&ichern...",IDC_D3DS_SAVE,5,210,50,18
    PUSHBUTTON      "&Laden...",IDC_D3DS_LOAD,59,210,50,18
END


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

//

// DESIGNINFO

//


#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO 
BEGIN
    IDD_DIRECT3D_SETTINGS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 357
        TOPMARGIN, 7
        BOTTOMMARGIN, 229
    END
END
#endif    // APSTUDIO_INVOKED


#endif    // Deutsch (Deutschland) resources

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




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

//

// Generated from the TEXTINCLUDE 3 resource.

//



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

#endif    // not APSTUDIO_INVOKED

44

11.03.2009, 21:26

Was für ein Windows SDK hast du?
fka tm

45

11.03.2009, 21:29

wo kann ich das nachgucken?

46

11.03.2009, 21:35

Im SDK-Ordner befindet sich eine ReleaseNotes.Htm
fka tm

47

11.03.2009, 21:44

Ich weiß nicht ob du das meint aber ich glaub ich da einen Ordner gefunden mit namen v6.1, das ist zwar kein realease Notesordner aber ich meine das was ich gefunden hab hat was damit zu tun oder? Es war jedenfalls im Ordner Microsoft SDKs.....

48

11.03.2009, 21:50

Ist schon Ok.
Kannst mal versuchen, das afxres.h durch WinResrc.h zu ersetzen.
fka tm

49

11.03.2009, 21:54

nee hat nicht funktioniert.......muss jetzt auch ins bett, ich muss morgen früh raus.....Danke schonmal für deine Hilfe, ohne die hätt ich wahrscheinlich schon meinen Computer in die Ecke geschmissen :)

Ich werd mich dann morgen mit dem Problem weiter beschäftigen

50

11.03.2009, 21:55

Ok, dann bis morgen, in alter Frische. ;)
fka tm

Werbeanzeige