# 한글 COM 생성 안？

**URL:** <https://forum.developer.hancom.com/t/com/229>\
**Category:** 한글 컨트롤\
**Created:** [10월 21, 2021, 4:50오전 UTC](https://forum.developer.hancom.com/t/com/229 "2021-10-21T04:50:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev.community](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.developer.hancom.com/dev.community/32/488_2.png) [@dev.community](https://forum.developer.hancom.com/u/dev.community)\
**Post date:** [10월 21, 2021, 4:50오전 UTC](https://forum.developer.hancom.com/t/com/229/1 "2021-10-21T04:50:37Z")

</div>

_(예전 커뮤니티(2016-2020) 사이트에서 옮겨온 글입니다: [번호 192](https://www.hancom.com/board/devcommView.do?board_seq=48&artcl_seq=10706))_

작성자: dev  
날짜: 2020-09-22

* * *

```auto
var type = Type.GetTypeFromProgID("HWPFrame.HWPObject.2"); 
var instance = Activator.CreateInstance(type); 

```

한글 프로그램을 지우고, 완전히 삭제해도 계속 되어서 위 문제가 뜰 때마다 컴퓨터 포멧 작업을 하는데.. 해결하신 분이 있나요? 사용중인 환경은 Windows10, 한글2020 입니다. 에러메시지는 댓글에 있습니다

#### 댓글

##### dev (2020.09.22)

System.Runtime.InteropServices.COMException (0x800706BA): RPC 서버를 사용할 수 없습니다. (예외가 발생한 HRESULT: 0x800706BA) 위치: System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode,

##### dev (2020.09.24)

해결했습니다 COM Surrogate 프로세스를 다 죽이니까 되네요  
저처럼 고생 안하시길 바랍니다
