Windows Heap Overrun Monitoring

Programming/VisualStudio 2015. 7. 9. 16:12

'Programming > VisualStudio' 카테고리의 다른 글

VAssistX.RefactorCreateImplementation  (0) 2017.03.19
Python 사용하기  (0) 2016.03.21
Show build time  (0) 2015.02.05
Productivity Power Tools 2013  (0) 2014.11.21
SAL 이해  (0) 2014.11.10

D3DXFX_LARGEADDRESS_HANDLE

Programming/C/C++ 2015. 6. 4. 10:32

-. 32bit 프로세스에서 최대 4G까지 메모리를 사용할 수 있는 링크 옵션.

-. 의외로 기존 개발자 중에 이 옵션을 모르는 개발자들이 많다.

-. 64bit가 가야 할 길이지만 현실은 그리 만만하지 않다.

 


1. 켜는 법

-. EXE 프로젝트 속성창/구성 속성/링커/시스템 항목에 큰 주소 처리를 켠다.

(DLL 프로젝트는 변경해도 의미가 없다.)

2. 추가 작업

-. 전처리기에 D3DXFX_LARGEADDRESS_HANDLE 매크로 정의

-. D3DXGetShaderConstantTable() => D3DXGetShaderConstantTableEx() 로 변경 후

플래그에 D3DXCONSTTABLE_LARGEADDRESSAWARE 추가.

-. 쉐이더 이펙트 생성시 D3DXFX_LARGEADDRESSAWARE 추가.

-. 이펙트 핸들 이름으로 스트링 사용 금지.

출처:LAA <- 오타 많음

 

https://msdn.microsoft.com/ko-kr/library/windows/desktop/bb172855(v=vs.85).aspx

http://www.slideshare.net/devcatpublications/10ndc2012 <- 여기도 오타 있음

 

이펙트 핸들 이름으로 스트링 사용 금지

D3DXFX_LARGEADDRESSAWARE Enables the allocation of an effect resource into the uppder address space of a machine. One important limitation is that you cannot use strings and handles interchangeably. For example, the following would no longer work.
Copy

g_pEffect->SetMatrix( "g_mWorldViewProjection", &mWorldViewProjection );

Instead, a method such as GetParameterByName must be used to store the handle of the parameter, which is then used to pass variables to the effect.
위 링크 중 전형규님께서 알려주신 내용입니다.

 

'Programming > C/C++' 카테고리의 다른 글

rand() 알고리즘  (0) 2016.03.31
국가 코드 얻기  (1) 2015.01.13
StackWalk  (0) 2014.11.10
HeapValidate function  (2) 2014.08.21
CPUInfo  (0) 2014.07.22

모바일

Programming/UE4 2015. 4. 6. 11:50

'Programming > UE4' 카테고리의 다른 글

C++ 파일 추가 후 삭제  (0) 2015.11.12
가장 중요한 단축키 Shift + F1  (0) 2015.10.31
back button  (0) 2015.04.05
UMG UButton with Release Event  (0) 2015.03.13
UMG  (0) 2015.02.23

back button

Programming/UE4 2015. 4. 5. 17:19

'Programming > UE4' 카테고리의 다른 글

가장 중요한 단축키 Shift + F1  (0) 2015.10.31
모바일  (0) 2015.04.06
UMG UButton with Release Event  (0) 2015.03.13
UMG  (0) 2015.02.23
svn  (0) 2014.11.20

UMG UButton with Release Event

Programming/UE4 2015. 3. 13. 16:35

UMG UButton with Release Event

 

http://www.barisatamer.com/button-with-release-event/

 

 

'Programming > UE4' 카테고리의 다른 글

모바일  (0) 2015.04.06
back button  (0) 2015.04.05
UMG  (0) 2015.02.23
svn  (0) 2014.11.20
Time of Day  (0) 2014.11.03

UMG

Programming/UE4 2015. 2. 23. 06:03

https://www.youtube.com/watch?v=3XO_stF_r1A


UMG 튜토리얼을 하다보면 막히는 부분

https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/4/index.html

해결방법

https://answers.unrealengine.com/questions/42595/no-option-to-cast-object.html

에디터 개인설정 - 콘텐츠 에디터 - 블루프린트 에디터 - User Experience - Use Legacy Menuing System 체크

'Programming > UE4' 카테고리의 다른 글

back button  (0) 2015.04.05
UMG UButton with Release Event  (0) 2015.03.13
svn  (0) 2014.11.20
Time of Day  (0) 2014.11.03
substance-ue4  (0) 2014.10.27

Show build time

Programming/VisualStudio 2015. 2. 5. 22:33

'Programming > VisualStudio' 카테고리의 다른 글

Python 사용하기  (0) 2016.03.21
Windows Heap Overrun Monitoring  (0) 2015.07.09
Productivity Power Tools 2013  (0) 2014.11.21
SAL 이해  (0) 2014.11.10
DirectX SDK (June 2010) 설치할 때 Error Code S1023  (0) 2014.11.01

국가 코드 얻기

Programming/C/C++ 2015. 1. 13. 17:37

// OS 정보를 얻어 국가 코드를 얻는다.

Code:
int iLang = 0;
char szNation[7];
if( 0 != GetLocaleInfo( LOCALE_SYSTEM_DEFAULT, LOCALE_ICOUNTRY, szNation, 7 ) )
{
     iLang = atoi( szNation );
}

switch( iLang )
{
    case 82:        // KOR(대한민국)
    case 1:        // USA(미국)
    case 7:        // RUS(러시아)
    case 81:        // 일본
    case 86:        // 중국
    ...
    break;
}

http://www.statoids.com/wab.html

'Programming > C/C++' 카테고리의 다른 글

rand() 알고리즘  (0) 2016.03.31
D3DXFX_LARGEADDRESS_HANDLE  (1) 2015.06.04
StackWalk  (0) 2014.11.10
HeapValidate function  (2) 2014.08.21
CPUInfo  (0) 2014.07.22

Productivity Power Tools 2013

Programming/VisualStudio 2014. 11. 21. 08:49

Productivity Power Tools 2013

https://visualstudiogallery.msdn.microsoft.com/dbcb8670-889e-4a54-a226-a48a15e4cace

 

 

http://blogs.msdn.com/b/eva/archive/2013/05/16/productivity-power-tools-2012.aspx

 

설치 방법은 VS 키시고 도구 -> 확장 및 업데이트 -> 온라인 탭 클릭 -> 검색

 

'Programming > VisualStudio' 카테고리의 다른 글

Windows Heap Overrun Monitoring  (0) 2015.07.09
Show build time  (0) 2015.02.05
SAL 이해  (0) 2014.11.10
DirectX SDK (June 2010) 설치할 때 Error Code S1023  (0) 2014.11.01
디버깅 팁  (0) 2014.10.27

svn

Programming/UE4 2014. 11. 20. 10:46

'Programming > UE4' 카테고리의 다른 글

UMG UButton with Release Event  (0) 2015.03.13
UMG  (0) 2015.02.23
Time of Day  (0) 2014.11.03
substance-ue4  (0) 2014.10.27
알아두면 좋을 언리얼 엔진 4 라이브러리  (0) 2014.10.27