Ĺadny brzuch
mam visuala c++ EE 2005 i gdy daję pusty projekt i wpisuję m. in.
#include <windows.h> to wyskakuje błąd podczas komplikacji
fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
to samo jest jak daję winsock2.h
a jeszzcze dlaczego w Dev-C++ wyskakuje błąd gdy #include <winsock2.h> to wyskakuje błąd
2 untitled1.cpp
C:\DEV-C_~1\Include\winsock2.h:46: unbalanced `#endif' oraz w linker
g++: c:\documents and settings\norbert\pulpit\untitled1.o: No such file or directory
g++: file path prefix `C:\DEV-C_~1\Bin\' never used i
g++: c:\documents and settings\norbert\pulpit\untitled1.o: No such file or directory
g++: file path prefix `C:\DEV-C_~1\Bin\' never used
Co do pierwszego musisz sobie dociągnąć PlatformSDK ze stronki MS.
a ten winsock2.h? co z tym?
jezeli masz swieza instalacje Dev'a nic nie "przkombinowywaną" no to cos zrypales, zrob nowy projekt (nawet konsolowy) daj TYLKO:
#include <windows.h> // nie jestem pewny czy to jest konieczne :P #include <winsock2.h> int main() { return 0; }
Jak to bedzie miało problemy z kompilacja pod DevC++ to sprobuj reinstall Dev'a....
a co z winsock2.h?
P.s. mod chodzi o M$ visual c++ 2005ee a nie Dev-a
Użytkownik dgf45 edytował ten post 25 kwiecień 2006, 11:38
a co z winsock2.h?
P.s. mod chodzi o M$ visual c++ 2005ee a nie Dev-a
Tak może niezbyt na temat, ale...
a jeszzcze dlaczego w Dev-C++ wyskakuje błąd gdy #include <winsock2.h> to wyskakuje błąd
P.s. mod chodzi o M$ visual c++ 2005ee a nie Dev-a
Zdecyduj się. ;)
najpierw chodziło o Dev-a, potem o visuala ;)
bo
zainstalowałem, ale dalej jest ten sam błąd?
czy trzeba zrobić reinstalla Visuala?
p.s. sory za 2posta
jak zainstalowales PSDK to musisz dodac jeszcze sciezki w opcjach VC, teraz nie mam go przed soba (jestem w szkole) wiec ci nie powiem gdzie dokladnie, ale poszukaj include i library directories
nie mogę tego znaleźć :(
tools -> options a potem z listy po lewej: projects and solutions -> VC++ Directories
Tam jest lista podpisana Show directory for, wybierasz najpierw include files dodajesz folder [zainstalowane psdk]\include i odpowiednio do library files dodajesz folder lib.
hmmmmm..... znalazłem to jak sam, szukałem, ale jest pewien problem:
http://img132.images...beztytuu4aw.jpg
chyba powinno coś tam być, bo należygdzieś wpisać te lokalizacje
http://img278.images...mage=inc3tc.jpg
dziwnie to u Ciebie wyglada
no, to chyba nie moja wina:) :(
Ja mam wersje z eksperta
platformę z http://www.microsoft...FULLInstall.htm
xp z sp2 po PL i
co mam zorbić? bo to dziwne....
edit:
czysty przypadek, klikenłem i:
In Beta 2, the Win32 Windows Application type is disabled in the Win32 Application Wizard. To enable that type, you need to edit the file AppSettings.htm file located in the folder “%ProgramFiles%\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033\".
In a text editor comment out lines 441 - 444 by putting a // in front of them as shown here:
// WIN_APP.disabled = true;
// WIN_APP_LABEL.disabled = true;
// DLL_APP.disabled = true;
// DLL_APP_LABEL.disabled = true;
sprawdzam
@icek którego masz visuala?
p.s. nie działa :(
jak ktoś ma wersje BETA 2 to niech mi przyśle plikz katalogu Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033
AppSettings.htm chociaż w codeBoxie lub na maila moza@o2.pl
Użytkownik dgf45 edytował ten post 26 kwiecień 2006, 18:48
Wywal tą BETE i zciągnij VC2k5EE. Ok 400MB.
///
ew możesz przekopiować cały katalog lib include z PSDK do program files\Vsiual\Include i \lib, czy jak sie to tam zwie.
Powinno załatwić sprawe
Użytkownik Antrykot edytował ten post 26 kwiecień 2006, 19:15
Tak, najlepiej i najszybciej bedzie jak skopiujesz te pliki z include i lib do katalogu VC++...
Antrykot , moze po zainstalowaniu ma 400MB, ale sciaga sie o wiele mniej :).
Tak, najlepiej i najszybciej bedzie jak skopiujesz te pliki z include i lib do katalogu VC++...
Antrykot , moze po zainstalowaniu ma 400MB, ale sciaga sie o wiele mniej :).
tak, ale sciaga mniej niz 400MB...
chociaz teraz stracilem pewnosc, bo VC++, MSDN i .NET moze razem bylo by tyle. Ale sam VC++ wydawalo mi sie ze napewno mniej niz 100MB .... moze nawet ok 50MB, oczywiscie po zainstalowaniu moglo troche urosnac :)
tak, ale sciaga mniej niz 400MB...
chociaz teraz stracilem pewnosc, bo VC++, MSDN i .NET moze razem bylo by tyle. Ale sam VC++ wydawalo mi sie ze napewno mniej niz 100MB .... moze nawet ok 50MB, oczywiscie po zainstalowaniu moglo troche urosnac :)
w każdym razie ściągnełem obraz, wywaliłem bete i mogę dodawać tam te ścieżki, ale błędy są dalej, tym razem inne i poza tym:
popatrzcie:
http://img288.images...beztytuu1ys.jpg
cz u was też tak jest?,
coś jest bardzo źle chyba...
Użytkownik dgf45 edytował ten post 27 kwiecień 2006, 15:31
ale błędy są dalej, tym razem inne
To może pochwal sie jak one brzmią ?
A na screenie nie widze nic nie zwykłego. Normalny template do konsolowego programu.
teraz jeszcze nie podam błędów.. spieszę się, ale
myślałem, że w Visualu są jakieś dodatkowe funkcje do tworzenia aplikacji okienkowych Win32 (winapi)... bo chyba w visualu 6 były....
teraz jeszcze nie podam błędów.. spieszę się, ale
myślałem, że w Visualu są jakieś dodatkowe funkcje do tworzenia aplikacji okienkowych Win32 (winapi)... bo chyba w visualu 6 były....
błedy są takie:
------ Build started: Project: tesxt, Configuration: Debug Win32 ------
Compiling...
tesxt.cpp
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(334) : warning C4005: '__reserved' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(702) : see previous definition of '__reserved'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(341) : warning C4005: '__checkReturn' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(703) : see previous definition of '__checkReturn'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(344) : warning C4005: '__typefix' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(704) : see previous definition of '__typefix'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(349) : warning C4005: '__override' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(705) : see previous definition of '__override'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(350) : warning C4005: '__fallthrough' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(714) : see previous definition of '__fallthrough'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(351) : warning C4005: '__callback' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(706) : see previous definition of '__callback'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(352) : warning C4005: '__in' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(499) : see previous definition of '__in'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(353) : warning C4005: '__out' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(508) : see previous definition of '__out'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(354) : warning C4005: '__inout' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(527) : see previous definition of '__inout'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(356) : warning C4005: '__out_ecount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(509) : see previous definition of '__out_ecount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(357) : warning C4005: '__in_ecount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(500) : see previous definition of '__in_ecount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(358) : warning C4005: '__inout_ecount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(528) : see previous definition of '__inout_ecount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(359) : warning C4005: '__out_bcount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(510) : see previous definition of '__out_bcount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(360) : warning C4005: '__in_bcount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(501) : see previous definition of '__in_bcount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(361) : warning C4005: '__inout_bcount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(529) : see previous definition of '__inout_bcount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(606) : error C3641: 'Int64ShllMod32' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(637) : warning C4793: '__asm' : causes native code generation for function 'ULONGLONG Int64ShllMod32(ULONGLONG,DWORD)'
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(606) : see declaration of 'Int64ShllMod32'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(606) : error C3862: 'Int64ShllMod32': cannot compile an unmanaged function with /clr:pure or /clr:safe
    The function uses inline assembler or an unsupported intrinsic function
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(613) : error C3641: 'Int64ShraMod32' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(653) : warning C4793: '__asm' : causes native code generation for function 'LONGLONG Int64ShraMod32(LONGLONG,DWORD)'
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(613) : see declaration of 'Int64ShraMod32'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(613) : error C3862: 'Int64ShraMod32': cannot compile an unmanaged function with /clr:pure or /clr:safe
    The function uses inline assembler or an unsupported intrinsic function
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(620) : error C3641: 'Int64ShrlMod32' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(669) : warning C4793: '__asm' : causes native code generation for function 'ULONGLONG Int64ShrlMod32(ULONGLONG,DWORD)'
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(620) : see declaration of 'Int64ShrlMod32'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(620) : error C3862: 'Int64ShrlMod32': cannot compile an unmanaged function with /clr:pure or /clr:safe
    The function uses inline assembler or an unsupported intrinsic function
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1954) : warning C4793: '__asm' : causes native code generation for function 'PVOID GetFiberData(void)'
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1954) : see declaration of 'GetFiberData'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1954) : error C3862: 'GetFiberData': cannot compile an unmanaged function with /clr:pure or /clr:safe
    The function uses inline assembler or an unsupported intrinsic function
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1954) : error C3645: 'GetFiberData' : __clrcall cannot be used on functions compiled to native code
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1959) : warning C4793: '__asm' : causes native code generation for function 'PVOID GetCurrentFiber(void)'
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1959) : see declaration of 'GetCurrentFiber'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1959) : error C3862: 'GetCurrentFiber': cannot compile an unmanaged function with /clr:pure or /clr:safe
    The function uses inline assembler or an unsupported intrinsic function
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1959) : error C3645: 'GetCurrentFiber' : __clrcall cannot be used on functions compiled to native code
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(7573) : warning C4272: 'RtlFirstEntrySList' : is marked __declspec(dllimport); must specify native calling convention when importing a function.
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winbase.h(1200) : error C3641: '__InlineInterlockedCompareExchangePointer' : invalid calling convention '__cdecl ' for function compiled with /clr:pure or /clr:safe
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winuser.h(1549) : warning C4272: 'IsHungAppWindow' : is marked __declspec(dllimport); must specify native calling convention when importing a function.
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winuser.h(1556) : warning C4272: 'DisableProcessWindowsGhosting' : is marked __declspec(dllimport); must specify native calling convention when importing a function.
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winuser.h(8260) : warning C4272: 'PrivateExtractIconsA' : is marked __declspec(dllimport); must specify native calling convention when importing a function.
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winuser.h(8269) : warning C4272: 'PrivateExtractIconsW' : is marked __declspec(dllimport); must specify native calling convention when importing a function.
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winscard.h(58) : warning C4394: 'g_rgSCardT0Pci' : per-appdomain symbol should not be marked with __declspec(dllimport)
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winscard.h(59) : warning C4394: 'g_rgSCardT1Pci' : per-appdomain symbol should not be marked with __declspec(dllimport)
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winscard.h(60) : warning C4394: 'g_rgSCardRawPci' : per-appdomain symbol should not be marked with __declspec(dllimport)
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objbase.h(378) : error C2146: syntax error : missing ';' before identifier 'IRpcStubBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objbase.h(378) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objbase.h(378) : error C2079: 'IRpcStubBuffer' uses undefined struct 'IRpcStubBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objbase.h(379) : error C2146: syntax error : missing ';' before identifier 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objbase.h(379) : error C2371: 'IRpcChannelBuffer' : redefinition; different basic types
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(47) : error C2146: syntax error : missing ';' before identifier 'IUnknown'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(47) : warning C4091: '' : ignored on left of 'interface' when no variable is declared
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(53) : error C2146: syntax error : missing ';' before identifier 'AsyncIUnknown'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(53) : warning C4091: '' : ignored on left of 'interface' when no variable is declared
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(59) : error C2146: syntax error : missing ';' before identifier 'IClassFactory'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(59) : warning C4091: '' : ignored on left of 'interface' when no variable is declared
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(109) : error C2371: 'IUnknown' : redefinition; different basic types
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(47) : see declaration of 'IUnknown'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(135) : error C2065: 'This' : undeclared identifier
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(136) : error C2065: '_pRpcChannelBuffer' : undeclared identifier
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(136) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : error C2182: 'IUnknown_QueryInterface_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(138) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(145) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : error C2182: 'IUnknown_AddRef_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(147) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(154) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : error C2182: 'IUnknown_Release_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(156) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(285) : error C2371: 'AsyncIUnknown' : redefinition; different basic types
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(53) : see declaration of 'AsyncIUnknown'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(396) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : error C2182: 'AsyncIUnknown_Begin_QueryInterface_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(398) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(408) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : error C2182: 'AsyncIUnknown_Finish_QueryInterface_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(410) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(419) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : error C2182: 'AsyncIUnknown_Begin_AddRef_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(421) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(430) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : error C2182: 'AsyncIUnknown_Finish_AddRef_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(432) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(441) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : error C2182: 'AsyncIUnknown_Begin_Release_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(443) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(452) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : error C2182: 'AsyncIUnknown_Finish_Release_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(454) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(475) : error C2371: 'IClassFactory' : redefinition; different basic types
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(59) : see declaration of 'IClassFactory'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(559) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : error C2182: 'IClassFactory_RemoteCreateInstance_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(561) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(571) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : error C2182: 'IClassFactory_RemoteLockServer_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(573) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objidl.h(47) : error C2146: syntax error : missing ';' before identifier 'IMarshal'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objidl.h(47) : fatal error C1003: error count exceeds 100; stopping compilation
Build log was saved at "file://c:\Documents and Settings\norbert\Moje dokumenty\Visual Studio 2005\Projects\tesxt\tesxt\Debug\BuildLog.htm"
tesxt - 103 error(s), 42 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
jak wklejam windows.h to jest to samo jak winsock2.h też
dla jasności: włączam visuala, klikam new project windows forms.... w kodzie Source files dodaje #include "windows.h" lub <windows.h> nie dizała. W katalogach pliki są
P.S. pyanie dot. MFC?
Jak dobrze rozumiem to winAPI, i windows forms działają dzięki MFC, która umożliwia pracę okienek. Chyba że zastosuje się VCL lub coś innego. Jak źle myślę to mnie poprawcie:)
Użytkownik dgf45 edytował ten post 27 kwiecień 2006, 19:24
omg :D bo wybrales z CLR (i te okineka korzystaja z dot net.), zrob albo konsolowa z win32 albo empty project z general
nie, winapi nie dziala dzieki mfc
Użytkownik icek edytował ten post 27 kwiecień 2006, 21:40
omg :D bo wybrales z CLR (i te okineka korzystaja z dot net.), zrob albo konsolowa z win32 albo empty project z general
nie, winapi nie dziala dzieki mfc
programowanie okienkowe trochę słabo u mnie:
gdzies kiedyś słyszałem, że w vista nie jest pewne na 100% że będzie z API.
p.s. w takim razie nie mogę zorbić czegokolwiek z winsock na windows forms? Trochę źle.
e.... visual jest całkiem zły... Nie dość, że nie mogę zorbić nic w Windowsforms z winsocketem, to jeszcze długo się włącza... lepiej programować w czystym API w devie - najłatwiej i najlepiej
gdzies kiedyś słyszałem, że w vista nie jest pewne na 100% że będzie z API.
API to będzie na pewno :P
A WinAPI _MUSI_ być, bo inaczej nie dało by sie odpalić starszych programów.
To sie zwie kompatybilność wstecz.
Jedyna różnica w tej kwestii ma być taka, że na os'ach starszych od visty NETdziała w oparciu o WinAPI, a na viscie ma być na odwrót.
a dlaczego jak sobie daje new project > CLR > windows forms to nie mogę dodać #include <winsock2.h>. przecieźż przez to nie mogę zrobić nic z socketem...
a dlaczego jak sobie daje new project > CLR > windows forms to nie mogę dodać #include <winsock2.h>. przecieźż przez to nie mogę zrobić nic z socketem...
a dlaczego jak sobie daje new project > CLR > windows forms to nie mogę dodać #include <winsock2.h>. przecieźż przez to nie mogę zrobić nic z socketem...
Skoro juz tak marudzisz na tego Visuala to podpowiem Ci, przyjzyj sie przestrzeni nazw System::Net::Sockets jezeli juz chceszte CLR. I proponuje ci naprawde nauczyc sie programowania, porzadnie. Bo sie nie zdziwie jak zaraz zaczniesz brac sie za robienie FPP multiplayer w 3D.....
a dlaczego jak sobie daje new project > CLR > windows forms to nie mogę dodać #include <winsock2.h>. przecieźż przez to nie mogę zrobić nic z socketem...
acha, widzę, że visual w takim razie mi się nie sprzyda wogóle :(
.NET nie będe progrwmował, a w general i win32 nie ma nic wiecej co w devie.
P.S. @Antrykot, jakiego komplikatora używasz i czego do tworzenia okienek? Czystego API, czy może czegoś innego?
A moze po prostu VC++ jest dla Ciebie (na chwile obecna ofkoz) zbyt skomplikowany ?. Nie ma naprawde znaczenia - jesli dobrze Ci sie kodzi w DevC++ - zostan tam.
PS - VC++ to potezne narzedzie. Mozna (wersja VC++ 2005 express) kodzic natywne aplikacje Win32 (czyli nie .net-owe - zarowno konsolowe jak i GUI), mozna rowniez kodzic aplikacja pod AMD64 i IA64 - czyli 64-ro bitowe. Juz Ci ktos podawal co trzeba zrobic (PSDK).
Ale chyba lepiej chwilowo trenuj na DevC++
Użytkownik st3tc edytował ten post 29 kwiecień 2006, 10:43
mam tylko takie jedno pytanie dot. wcześniejszego tematu, ale myślę, że zapytam tu:
http://img151.images...beztytuu8nr.jpg
co zorbić żeby w dev-ie były takie przyciski jak w visualu? MOgę to zrobić czystym api, czy potrzebuję czegoś więcej?
mam tylko takie jedno pytanie dot. wcześniejszego tematu, ale myślę, że zapytam tu:
http://img151.images...beztytuu8nr.jpg
co zorbić żeby w dev-ie były takie przyciski jak w visualu? MOgę to zrobić czystym api, czy potrzebuję czegoś więcej?
Trzeba dodac manifest XP. Zeby nie kombinowac za duzo, mozna napisac pliczek o nazwie:
<moj_program>.manifest
Ten pliczek powinien byc w katalogu w ktorym jest exe. Sa wlasnie dwie mozliwosci dolaczenia manifestu: w zasobach (w DevC++ moze byc trudno), lub jako luzny plik lezacy razem z exe. WindaXP jak go znajdzie, to wie ze ma zastapic stare guziczki XP-ekowymi.
Zaraz Ci podam tekst przykladowego pliczku
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="Microsoft.Windows.<*****TU WSTAW NAZWE PROGRMU*****>" type="win32" /> <description>Your app description here</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> </assembly>
"<*****TU WSTAW NAZWE PROGRMU*****>" zamien na nazwe programu.
"Your app description here:" <- mozesz podac opis (ale nie musisz)
Nazwa pliku dla programu np "demo.exe" musi byc nastepujaca:
demo.exe.manifest
Pozdr.
Użytkownik st3tc edytował ten post 29 kwiecień 2006, 10:58
ps. z tego co wiem to Antrykot wogole nie uzywa komplikatora :)
Taaa..pierwsze pisze w c++, a potem w hexedytorze przepisuje na kod maszynowy :)
A tak poważnie to Free Toolkit 2003 + Code::Blocks. Okienka tworze raczej w WinAPI, a jak trzeba to do edycji wizualnej okienek i zasobów (RAD) używam starego środowiska Borland 5.02.
A tak poważnie to Free Toolkit 2003 + Code::Blocks. Okienka tworze raczej w WinAPI, a jak trzeba to do edycji wizualnej okienek i zasobów (RAD) używam starego środowiska Borland 5.02.
czy FreeToolkit 2003 to komplikator? :>
A to sorry :D
Komplikatorów to ja nie używam, bo tylko komplikują sprawy :D
kompilator się pisze niewygodnie, lepiej pisać komplikator :)
pozatym ten kompilator to dla mnie też jest komplikator życia :(
Użytkownik dgf45 edytował ten post 30 kwiecień 2006, 14:11
Wiec po co sobie cos komplikować? Zajmij sie czyms innym ;)
zanotowane.pl doc.pisz.pl pdf.pisz.pl zsf.htw.pl
#include <windows.h> to wyskakuje błąd podczas komplikacji
fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
to samo jest jak daję winsock2.h
a jeszzcze dlaczego w Dev-C++ wyskakuje błąd gdy #include <winsock2.h> to wyskakuje błąd
2 untitled1.cpp
C:\DEV-C_~1\Include\winsock2.h:46: unbalanced `#endif' oraz w linker
g++: c:\documents and settings\norbert\pulpit\untitled1.o: No such file or directory
g++: file path prefix `C:\DEV-C_~1\Bin\' never used i
g++: c:\documents and settings\norbert\pulpit\untitled1.o: No such file or directory
g++: file path prefix `C:\DEV-C_~1\Bin\' never used
Co do pierwszego musisz sobie dociągnąć PlatformSDK ze stronki MS.
a ten winsock2.h? co z tym?
jezeli masz swieza instalacje Dev'a nic nie "przkombinowywaną" no to cos zrypales, zrob nowy projekt (nawet konsolowy) daj TYLKO:
#include <windows.h> // nie jestem pewny czy to jest konieczne :P #include <winsock2.h> int main() { return 0; }
Jak to bedzie miało problemy z kompilacja pod DevC++ to sprobuj reinstall Dev'a....
a co z winsock2.h?
P.s. mod chodzi o M$ visual c++ 2005ee a nie Dev-a
Użytkownik dgf45 edytował ten post 25 kwiecień 2006, 11:38
a co z winsock2.h?
P.s. mod chodzi o M$ visual c++ 2005ee a nie Dev-a

Tak może niezbyt na temat, ale...
a jeszzcze dlaczego w Dev-C++ wyskakuje błąd gdy #include <winsock2.h> to wyskakuje błąd
P.s. mod chodzi o M$ visual c++ 2005ee a nie Dev-a
Zdecyduj się. ;)
najpierw chodziło o Dev-a, potem o visuala ;)
bo
zainstalowałem, ale dalej jest ten sam błąd?
czy trzeba zrobić reinstalla Visuala?
p.s. sory za 2posta
jak zainstalowales PSDK to musisz dodac jeszcze sciezki w opcjach VC, teraz nie mam go przed soba (jestem w szkole) wiec ci nie powiem gdzie dokladnie, ale poszukaj include i library directories
nie mogę tego znaleźć :(
tools -> options a potem z listy po lewej: projects and solutions -> VC++ Directories
Tam jest lista podpisana Show directory for, wybierasz najpierw include files dodajesz folder [zainstalowane psdk]\include i odpowiednio do library files dodajesz folder lib.
hmmmmm..... znalazłem to jak sam, szukałem, ale jest pewien problem:
http://img132.images...beztytuu4aw.jpg
chyba powinno coś tam być, bo należygdzieś wpisać te lokalizacje
http://img278.images...mage=inc3tc.jpg
dziwnie to u Ciebie wyglada
no, to chyba nie moja wina:) :(
Ja mam wersje z eksperta
platformę z http://www.microsoft...FULLInstall.htm
xp z sp2 po PL i
co mam zorbić? bo to dziwne....
edit:
czysty przypadek, klikenłem i:
In Beta 2, the Win32 Windows Application type is disabled in the Win32 Application Wizard. To enable that type, you need to edit the file AppSettings.htm file located in the folder “%ProgramFiles%\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033\".
In a text editor comment out lines 441 - 444 by putting a // in front of them as shown here:
// WIN_APP.disabled = true;
// WIN_APP_LABEL.disabled = true;
// DLL_APP.disabled = true;
// DLL_APP_LABEL.disabled = true;
sprawdzam
@icek którego masz visuala?
p.s. nie działa :(
jak ktoś ma wersje BETA 2 to niech mi przyśle plikz katalogu Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033
AppSettings.htm chociaż w codeBoxie lub na maila moza@o2.pl
Użytkownik dgf45 edytował ten post 26 kwiecień 2006, 18:48
Wywal tą BETE i zciągnij VC2k5EE. Ok 400MB.
///
ew możesz przekopiować cały katalog lib include z PSDK do program files\Vsiual\Include i \lib, czy jak sie to tam zwie.
Powinno załatwić sprawe
Użytkownik Antrykot edytował ten post 26 kwiecień 2006, 19:15
Tak, najlepiej i najszybciej bedzie jak skopiujesz te pliki z include i lib do katalogu VC++...
Antrykot , moze po zainstalowaniu ma 400MB, ale sciaga sie o wiele mniej :).
Tak, najlepiej i najszybciej bedzie jak skopiujesz te pliki z include i lib do katalogu VC++...
Antrykot , moze po zainstalowaniu ma 400MB, ale sciaga sie o wiele mniej :).

tak, ale sciaga mniej niz 400MB...
chociaz teraz stracilem pewnosc, bo VC++, MSDN i .NET moze razem bylo by tyle. Ale sam VC++ wydawalo mi sie ze napewno mniej niz 100MB .... moze nawet ok 50MB, oczywiscie po zainstalowaniu moglo troche urosnac :)
tak, ale sciaga mniej niz 400MB...
chociaz teraz stracilem pewnosc, bo VC++, MSDN i .NET moze razem bylo by tyle. Ale sam VC++ wydawalo mi sie ze napewno mniej niz 100MB .... moze nawet ok 50MB, oczywiscie po zainstalowaniu moglo troche urosnac :)

w każdym razie ściągnełem obraz, wywaliłem bete i mogę dodawać tam te ścieżki, ale błędy są dalej, tym razem inne i poza tym:
popatrzcie:
http://img288.images...beztytuu1ys.jpg
cz u was też tak jest?,
coś jest bardzo źle chyba...
Użytkownik dgf45 edytował ten post 27 kwiecień 2006, 15:31
ale błędy są dalej, tym razem inne
To może pochwal sie jak one brzmią ?
A na screenie nie widze nic nie zwykłego. Normalny template do konsolowego programu.
teraz jeszcze nie podam błędów.. spieszę się, ale
myślałem, że w Visualu są jakieś dodatkowe funkcje do tworzenia aplikacji okienkowych Win32 (winapi)... bo chyba w visualu 6 były....
teraz jeszcze nie podam błędów.. spieszę się, ale
myślałem, że w Visualu są jakieś dodatkowe funkcje do tworzenia aplikacji okienkowych Win32 (winapi)... bo chyba w visualu 6 były....

błedy są takie:
------ Build started: Project: tesxt, Configuration: Debug Win32 ------
Compiling...
tesxt.cpp
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(334) : warning C4005: '__reserved' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(702) : see previous definition of '__reserved'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(341) : warning C4005: '__checkReturn' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(703) : see previous definition of '__checkReturn'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(344) : warning C4005: '__typefix' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(704) : see previous definition of '__typefix'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(349) : warning C4005: '__override' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(705) : see previous definition of '__override'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(350) : warning C4005: '__fallthrough' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(714) : see previous definition of '__fallthrough'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(351) : warning C4005: '__callback' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(706) : see previous definition of '__callback'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(352) : warning C4005: '__in' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(499) : see previous definition of '__in'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(353) : warning C4005: '__out' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(508) : see previous definition of '__out'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(354) : warning C4005: '__inout' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(527) : see previous definition of '__inout'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(356) : warning C4005: '__out_ecount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(509) : see previous definition of '__out_ecount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(357) : warning C4005: '__in_ecount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(500) : see previous definition of '__in_ecount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(358) : warning C4005: '__inout_ecount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(528) : see previous definition of '__inout_ecount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(359) : warning C4005: '__out_bcount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(510) : see previous definition of '__out_bcount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(360) : warning C4005: '__in_bcount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(501) : see previous definition of '__in_bcount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\specstrings.h(361) : warning C4005: '__inout_bcount' : macro redefinition
    C:\Program Files\Microsoft Visual Studio 8\VC\include\sal.h(529) : see previous definition of '__inout_bcount'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(606) : error C3641: 'Int64ShllMod32' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(637) : warning C4793: '__asm' : causes native code generation for function 'ULONGLONG Int64ShllMod32(ULONGLONG,DWORD)'
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(606) : see declaration of 'Int64ShllMod32'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(606) : error C3862: 'Int64ShllMod32': cannot compile an unmanaged function with /clr:pure or /clr:safe
    The function uses inline assembler or an unsupported intrinsic function
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(613) : error C3641: 'Int64ShraMod32' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(653) : warning C4793: '__asm' : causes native code generation for function 'LONGLONG Int64ShraMod32(LONGLONG,DWORD)'
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(613) : see declaration of 'Int64ShraMod32'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(613) : error C3862: 'Int64ShraMod32': cannot compile an unmanaged function with /clr:pure or /clr:safe
    The function uses inline assembler or an unsupported intrinsic function
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(620) : error C3641: 'Int64ShrlMod32' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(669) : warning C4793: '__asm' : causes native code generation for function 'ULONGLONG Int64ShrlMod32(ULONGLONG,DWORD)'
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(620) : see declaration of 'Int64ShrlMod32'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(620) : error C3862: 'Int64ShrlMod32': cannot compile an unmanaged function with /clr:pure or /clr:safe
    The function uses inline assembler or an unsupported intrinsic function
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1954) : warning C4793: '__asm' : causes native code generation for function 'PVOID GetFiberData(void)'
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1954) : see declaration of 'GetFiberData'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1954) : error C3862: 'GetFiberData': cannot compile an unmanaged function with /clr:pure or /clr:safe
    The function uses inline assembler or an unsupported intrinsic function
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1954) : error C3645: 'GetFiberData' : __clrcall cannot be used on functions compiled to native code
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1959) : warning C4793: '__asm' : causes native code generation for function 'PVOID GetCurrentFiber(void)'
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1959) : see declaration of 'GetCurrentFiber'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1959) : error C3862: 'GetCurrentFiber': cannot compile an unmanaged function with /clr:pure or /clr:safe
    The function uses inline assembler or an unsupported intrinsic function
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(1959) : error C3645: 'GetCurrentFiber' : __clrcall cannot be used on functions compiled to native code
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winnt.h(7573) : warning C4272: 'RtlFirstEntrySList' : is marked __declspec(dllimport); must specify native calling convention when importing a function.
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winbase.h(1200) : error C3641: '__InlineInterlockedCompareExchangePointer' : invalid calling convention '__cdecl ' for function compiled with /clr:pure or /clr:safe
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winuser.h(1549) : warning C4272: 'IsHungAppWindow' : is marked __declspec(dllimport); must specify native calling convention when importing a function.
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winuser.h(1556) : warning C4272: 'DisableProcessWindowsGhosting' : is marked __declspec(dllimport); must specify native calling convention when importing a function.
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winuser.h(8260) : warning C4272: 'PrivateExtractIconsA' : is marked __declspec(dllimport); must specify native calling convention when importing a function.
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winuser.h(8269) : warning C4272: 'PrivateExtractIconsW' : is marked __declspec(dllimport); must specify native calling convention when importing a function.
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winscard.h(58) : warning C4394: 'g_rgSCardT0Pci' : per-appdomain symbol should not be marked with __declspec(dllimport)
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winscard.h(59) : warning C4394: 'g_rgSCardT1Pci' : per-appdomain symbol should not be marked with __declspec(dllimport)
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\winscard.h(60) : warning C4394: 'g_rgSCardRawPci' : per-appdomain symbol should not be marked with __declspec(dllimport)
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objbase.h(378) : error C2146: syntax error : missing ';' before identifier 'IRpcStubBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objbase.h(378) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objbase.h(378) : error C2079: 'IRpcStubBuffer' uses undefined struct 'IRpcStubBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objbase.h(379) : error C2146: syntax error : missing ';' before identifier 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objbase.h(379) : error C2371: 'IRpcChannelBuffer' : redefinition; different basic types
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(47) : error C2146: syntax error : missing ';' before identifier 'IUnknown'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(47) : warning C4091: '' : ignored on left of 'interface' when no variable is declared
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(53) : error C2146: syntax error : missing ';' before identifier 'AsyncIUnknown'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(53) : warning C4091: '' : ignored on left of 'interface' when no variable is declared
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(59) : error C2146: syntax error : missing ';' before identifier 'IClassFactory'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(59) : warning C4091: '' : ignored on left of 'interface' when no variable is declared
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(109) : error C2371: 'IUnknown' : redefinition; different basic types
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(47) : see declaration of 'IUnknown'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(135) : error C2065: 'This' : undeclared identifier
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(136) : error C2065: '_pRpcChannelBuffer' : undeclared identifier
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(136) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : error C2182: 'IUnknown_QueryInterface_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(137) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(138) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(145) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : error C2182: 'IUnknown_AddRef_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(146) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(147) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(154) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : error C2182: 'IUnknown_Release_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(155) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(156) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(285) : error C2371: 'AsyncIUnknown' : redefinition; different basic types
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(53) : see declaration of 'AsyncIUnknown'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(396) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : error C2182: 'AsyncIUnknown_Begin_QueryInterface_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(397) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(398) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(408) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : error C2182: 'AsyncIUnknown_Finish_QueryInterface_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(409) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(410) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(419) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : error C2182: 'AsyncIUnknown_Begin_AddRef_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(420) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(421) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(430) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : error C2182: 'AsyncIUnknown_Finish_AddRef_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(431) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(432) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(441) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : error C2182: 'AsyncIUnknown_Begin_Release_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(442) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(443) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(452) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : error C2182: 'AsyncIUnknown_Finish_Release_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(453) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(454) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(475) : error C2371: 'IClassFactory' : redefinition; different basic types
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(59) : see declaration of 'IClassFactory'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(559) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : error C2182: 'IClassFactory_RemoteCreateInstance_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(560) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(561) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(571) : error C2275: 'IRpcChannelBuffer' : illegal use of this type as an expression
    c:\program files\microsoft platform sdk for windows xp sp2\include\rpcndr.h(676) : see declaration of 'IRpcChannelBuffer'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : error C2146: syntax error : missing ')' before identifier '_pRpcMessage'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : warning C4229: anachronism used : modifiers on data are ignored
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : error C2182: 'IClassFactory_RemoteLockServer_Stub' : illegal use of type 'void'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : error C2078: too many initializers
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(572) : error C2275: 'PRPC_MESSAGE' : illegal use of this type as an expression
    C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\rpcdcep.h(51) : see declaration of 'PRPC_MESSAGE'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\unknwn.h(573) : error C2059: syntax error : ')'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objidl.h(47) : error C2146: syntax error : missing ';' before identifier 'IMarshal'
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\objidl.h(47) : fatal error C1003: error count exceeds 100; stopping compilation
Build log was saved at "file://c:\Documents and Settings\norbert\Moje dokumenty\Visual Studio 2005\Projects\tesxt\tesxt\Debug\BuildLog.htm"
tesxt - 103 error(s), 42 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
jak wklejam windows.h to jest to samo jak winsock2.h też
dla jasności: włączam visuala, klikam new project windows forms.... w kodzie Source files dodaje #include "windows.h" lub <windows.h> nie dizała. W katalogach pliki są
P.S. pyanie dot. MFC?
Jak dobrze rozumiem to winAPI, i windows forms działają dzięki MFC, która umożliwia pracę okienek. Chyba że zastosuje się VCL lub coś innego. Jak źle myślę to mnie poprawcie:)
Użytkownik dgf45 edytował ten post 27 kwiecień 2006, 19:24
omg :D bo wybrales z CLR (i te okineka korzystaja z dot net.), zrob albo konsolowa z win32 albo empty project z general
nie, winapi nie dziala dzieki mfc
Użytkownik icek edytował ten post 27 kwiecień 2006, 21:40
omg :D bo wybrales z CLR (i te okineka korzystaja z dot net.), zrob albo konsolowa z win32 albo empty project z general
nie, winapi nie dziala dzieki mfc

programowanie okienkowe trochę słabo u mnie:
gdzies kiedyś słyszałem, że w vista nie jest pewne na 100% że będzie z API.
p.s. w takim razie nie mogę zorbić czegokolwiek z winsock na windows forms? Trochę źle.
e.... visual jest całkiem zły... Nie dość, że nie mogę zorbić nic w Windowsforms z winsocketem, to jeszcze długo się włącza... lepiej programować w czystym API w devie - najłatwiej i najlepiej
gdzies kiedyś słyszałem, że w vista nie jest pewne na 100% że będzie z API.
API to będzie na pewno :P
A WinAPI _MUSI_ być, bo inaczej nie dało by sie odpalić starszych programów.
To sie zwie kompatybilność wstecz.
Jedyna różnica w tej kwestii ma być taka, że na os'ach starszych od visty NETdziała w oparciu o WinAPI, a na viscie ma być na odwrót.
a dlaczego jak sobie daje new project > CLR > windows forms to nie mogę dodać #include <winsock2.h>. przecieźż przez to nie mogę zrobić nic z socketem...
a dlaczego jak sobie daje new project > CLR > windows forms to nie mogę dodać #include <winsock2.h>. przecieźż przez to nie mogę zrobić nic z socketem...

a dlaczego jak sobie daje new project > CLR > windows forms to nie mogę dodać #include <winsock2.h>. przecieźż przez to nie mogę zrobić nic z socketem...

Skoro juz tak marudzisz na tego Visuala to podpowiem Ci, przyjzyj sie przestrzeni nazw System::Net::Sockets jezeli juz chceszte CLR. I proponuje ci naprawde nauczyc sie programowania, porzadnie. Bo sie nie zdziwie jak zaraz zaczniesz brac sie za robienie FPP multiplayer w 3D.....
a dlaczego jak sobie daje new project > CLR > windows forms to nie mogę dodać #include <winsock2.h>. przecieźż przez to nie mogę zrobić nic z socketem...

acha, widzę, że visual w takim razie mi się nie sprzyda wogóle :(
.NET nie będe progrwmował, a w general i win32 nie ma nic wiecej co w devie.
P.S. @Antrykot, jakiego komplikatora używasz i czego do tworzenia okienek? Czystego API, czy może czegoś innego?
A moze po prostu VC++ jest dla Ciebie (na chwile obecna ofkoz) zbyt skomplikowany ?. Nie ma naprawde znaczenia - jesli dobrze Ci sie kodzi w DevC++ - zostan tam.
PS - VC++ to potezne narzedzie. Mozna (wersja VC++ 2005 express) kodzic natywne aplikacje Win32 (czyli nie .net-owe - zarowno konsolowe jak i GUI), mozna rowniez kodzic aplikacja pod AMD64 i IA64 - czyli 64-ro bitowe. Juz Ci ktos podawal co trzeba zrobic (PSDK).
Ale chyba lepiej chwilowo trenuj na DevC++
Użytkownik st3tc edytował ten post 29 kwiecień 2006, 10:43
mam tylko takie jedno pytanie dot. wcześniejszego tematu, ale myślę, że zapytam tu:
http://img151.images...beztytuu8nr.jpg
co zorbić żeby w dev-ie były takie przyciski jak w visualu? MOgę to zrobić czystym api, czy potrzebuję czegoś więcej?
mam tylko takie jedno pytanie dot. wcześniejszego tematu, ale myślę, że zapytam tu:
http://img151.images...beztytuu8nr.jpg
co zorbić żeby w dev-ie były takie przyciski jak w visualu? MOgę to zrobić czystym api, czy potrzebuję czegoś więcej?

Trzeba dodac manifest XP. Zeby nie kombinowac za duzo, mozna napisac pliczek o nazwie:
<moj_program>.manifest
Ten pliczek powinien byc w katalogu w ktorym jest exe. Sa wlasnie dwie mozliwosci dolaczenia manifestu: w zasobach (w DevC++ moze byc trudno), lub jako luzny plik lezacy razem z exe. WindaXP jak go znajdzie, to wie ze ma zastapic stare guziczki XP-ekowymi.
Zaraz Ci podam tekst przykladowego pliczku
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="Microsoft.Windows.<*****TU WSTAW NAZWE PROGRMU*****>" type="win32" /> <description>Your app description here</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> </assembly>
"<*****TU WSTAW NAZWE PROGRMU*****>" zamien na nazwe programu.
"Your app description here:" <- mozesz podac opis (ale nie musisz)
Nazwa pliku dla programu np "demo.exe" musi byc nastepujaca:
demo.exe.manifest
Pozdr.
Użytkownik st3tc edytował ten post 29 kwiecień 2006, 10:58
ps. z tego co wiem to Antrykot wogole nie uzywa komplikatora :)
Taaa..pierwsze pisze w c++, a potem w hexedytorze przepisuje na kod maszynowy :)
A tak poważnie to Free Toolkit 2003 + Code::Blocks. Okienka tworze raczej w WinAPI, a jak trzeba to do edycji wizualnej okienek i zasobów (RAD) używam starego środowiska Borland 5.02.
A tak poważnie to Free Toolkit 2003 + Code::Blocks. Okienka tworze raczej w WinAPI, a jak trzeba to do edycji wizualnej okienek i zasobów (RAD) używam starego środowiska Borland 5.02.

czy FreeToolkit 2003 to komplikator? :>

A to sorry :D
Komplikatorów to ja nie używam, bo tylko komplikują sprawy :D

kompilator się pisze niewygodnie, lepiej pisać komplikator :)

pozatym ten kompilator to dla mnie też jest komplikator życia :(
Użytkownik dgf45 edytował ten post 30 kwiecień 2006, 14:11
Wiec po co sobie cos komplikować? Zajmij sie czyms innym ;)