Cygwin DirectX Vista Unhandled exception at ntdll.dll

초미남의 이미지

안녕하세요

Unhandled exception at ntdll.dll 내용에 대한 조언을 구합니다.

=========================================================================================
#include
#include
#include
#include
#include
int main()
{
LPDIRECTDRAW7 lpdd = 0;
const GUID IID_IDirectDraw7ex =
{
0x15e65ec0,0x3b9c,0x11d2,{0xb9,0x2f,0x00,0x60,0x97,0x97,0xea,0x5b}
};
printf("lpdd : %x \n",lpdd);
DirectDrawCreateEx(0,(void**)&lpdd,&IID_IDirectDraw7ex,0);
printf("lpdd : %x \n",lpdd);
Sleep(5000);
}

=========================================================================================
gcc -o testdirectx testdirectx.c ddraw.lib dxguid.lib

위와 같는 소스를 Cygwin 에서 컴파일 하여 실행하였습니다.
아래와 같은 오류 메시지가 뜹니다. (위소스를 VC++ 로 컴파일시 에러를 방생하지 않습니다.)

=========================================================================================
[Window Title]
Microsoft Windows

[Main Instruction]
testdirectx.exe의 작동이 중지되었습니다.

[Content]
문제가 발생하여 프로그램 작동이 중지되었습니다. Windows에서 해당 프로그램을 닫고 해결 방법이 있는지 알려줍니다.

[디버그(D)] [프로그램 닫기(C)]
=========================================================================================

Debug를 하여 VS2005로 디버그시

=========================================================================================
'testdirectx.exe': Loaded 'C:\Windows\System32\usp10.dll', Exports loaded.
'testdirectx.exe': Loaded 'C:\Windows\System32\atiumdag.dll', Exports loaded.
'testdirectx.exe': Loaded 'C:\Windows\System32\atiumdva.dll', Exports loaded.
Unhandled exception at 0x775d8e7a (ntdll.dll) in testdirectx.exe: 0xC0000710: 0xc0000710.
The thread 'Win32 Thread' (0x1488) has exited with code 0 (0x0).
First-chance exception at 0x775d8e7a (ntdll.dll) in testdirectx.exe: 0xC0000710: 0xc0000710.
Unhandled exception at 0x775d8e7a (ntdll.dll) in testdirectx.exe: 0xC0000710: 0xc0000710.
The thread 'Win32 Thread' (0xc48) has exited with code 0 (0x0).
'testdirectx.exe': Loaded 'C:\Windows\System32\psapi.dll', Exports loaded.

=========================================================================================

DirectDrawCreateEx(0,(void**)&lpdd,&IID_IDirectDraw7ex,0);
함수를 호출시 에러를 발생합니다.
적당한 조언을 해주시면 감사드리겠습니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.