반응형




MIME Type


MIME : Multipurpose Internet Mail Extensions


클라이언트에게 전송된 문서의 다양성을 알려주기 위한 메커니즘.

      • 웹에서 파일의 확장자는 별 의미가 없음. 
      • 그러므로, 각 문서와 함께 올바른 MIME 타입을 전송하도록, 서버가 정확히 설정하는 것이 중요함. 
      • 브라라우저들은 리소스를 내려받았을 때 해야 할 기본 동작이 무엇인지를 결정하기 위해 대게 MIME 타입을 사용.


E.g.

  • image/gif           GIF 이미지 (무손실 압축, PNG에 의해 대체됨)
  • image/jpeg         JPEG 이미지
  • image/png         PNG 이미지
  • image/svg+xml    SVG 이미지 (벡터 이미지)
  • ...


반응형

Please use the /MD switch for _AFXDLL builds


에러내용
IntelliSense: #error directive: Please use the /MD switch for _AFXDLL builds
c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxver_.h 81

코드
#if defined(_AFXDLL) && !defined(_DLL)
#error Please use the /MD switch for _AFXDLL builds
#endif

해결방법
1. Right-click the Project. 
2. Go to Config Properties->C/C++-> Code Gen ->. Double-click "Runtime Library" and set to "Multi-threaded Debug DLL (/MDd)" . If this value already appears to be set, make sure it is by selecting it again (it should then appear as bold).
3. Click OK.
=> 프로젝트속성 > c,c++ > code gen > Runtime library-Multi Debug DLL (BOLD) //다른옵션 선택후 다시 선택.

 



http://blog.naver.com/PostView.nhn?blogId=crazywlsgur&logNo=70100145542

반응형

'Trunk' 카테고리의 다른 글

Synology DS718+ 구매/개봉기  (0) 2018.11.09
ATNA : Audit Trail and Node Authentication  (0) 2017.01.23
[일본어] 히라가나 가타카나 표  (0) 2017.01.02
[HTTP] MIME Type  (0) 2016.12.26
[DevExpress] Show the Current Row Number  (0) 2016.12.20

데브익스프레스에서 자동으로 순번 입력하기.


1. Label 우클릭

2. Summary 선택

3. Summary Editor

a. Summary function : RecordNumber

b. Format strubg : { 0 : # }

c. Summary running : Report



참조 : https://documentation.devexpress.com/#XtraReports/CustomDocument5290



반응형

+ Recent posts