C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[53664] 이 에러 아시는분?
박성일 [bstory] 1797 읽음    2008-06-14 02:20
Directories1.JPG 35.8KB Directories에서 include 설정
Directories2.JPG 35.8KB Directories에서 lib 설정
지금현재 다이렉트사운드 쓰려고 하는데요

DSound.h , MMsystem.h는 제가 고친 것도 없고 있는거 갖다 쓰는건데요
MMsystem.h 헤더는 DirectSound (WAV 읽기) 에 필요한 헤더 파일로 쓰고 있는데요

빌드 하면 아래와 같이 에러 뜨는데요  멀티 선언 되어 있는 것 같은데 음 이거 어떻게 해결 하면 되죠?

Project/Option/Directories 설정도 혹시나 해서 include / Lib 맨위로 올려 놓고 했는데도 안되는데요

고수님들 해결 좀 해주세요 ㅜㅜ  ( 첨부파일에 스샷 찍어 올렸습니다.)

-------------------------------------------------------------------------------------------------
Build
  [C++ Error] DSound.h(61): E2257 , expected
  [C++ Error] DSound.h(128): E2303 Type name expected
  [C++ Error] DSound.h(128): E2139 Declaration missing ;
  [C++ Error] DSound.h(142): E2303 Type name expected
  [C++ Error] DSound.h(142): E2139 Declaration missing ;
  [C++ Error] DSound.h(193): E2303 Type name expected
  [C++ Error] DSound.h(193): E2139 Declaration missing ;
  [C++ Error] MMsystem.h(803): E2238 Multiple declaration for 'WAVEFORMATEX'
  [C++ Error] DSound.h(61): E2344 Earlier declaration of 'WAVEFORMATEX'
  [C++ Error] MMsystem.h(803): E2238 Multiple declaration for 'WAVEFORMATEX'
  [C++ Error] DSound.h(61): E2344 Earlier declaration of 'WAVEFORMATEX'
  [C++ Error] DS.cpp(61): E2316 'lpwfxFormat' is not a member of '_DSBUFFERDESC'
  [C++ Error] DS.cpp(112): E2034 Cannot convert 'tWAVEFORMATEX *' to 'int'
  [C++ Error] DS.cpp(112): E2342 Type mismatch in parameter 'LPCWAVEFORMATEX' (wanted 'int', got 'tWAVEFORMATEX *')
  [C++ Error] DS.cpp(227): E2316 'lpwfxFormat' is not a member of '_DSBUFFERDESC'

+ -

관련 글 리스트
53664 이 에러 아시는분? 박성일 1797 2008/06/14
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.