달력

12

« 2024/12 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

WinCE5에서 외부 COM DLL을 로드하기 위하여 초기화를 해주는

CoInitialize()라는 함수는 WinCE5에서 지원하지 않는다

 

MSDN을 살펴 본 결과

역시... 죽으란 법은 없나보다

 

This function is not supported. Instead, your application should call CoInitializeEx using the COINIT_MULTITHREADED constant in the second parameter, like this:


CoInitializeEx(x, COINIT_MULTITHREADED);


If your application uses calls to CoInitialize, you can use a #define directive to map CoInitialize to CoInitializeEx, like this:


#define CoInitialize(x)     CoInitializeEx(x, COINIT_MULTITHREADED)

 

역시 MSDN…

:
Posted by Lunaness