Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
572 B

  1. // GetResources.cpp : Implementation of CGetResources
  2. #include "stdafx.h"
  3. #include "GetResources.h"
  4. #include "GetResourceLink.h"
  5. #include "windows.h"
  6. // CGetResources
  7. STDMETHODIMP CGetResources::GetAllResources(BSTR bstLang, IDispatch** oRS)
  8. {
  9. // TODO: Add your implementation code here
  10. CGetResourceLink ogrl;
  11. TCHAR strLang[5];
  12. CComBSTR strTemp;
  13. strTemp = bstLang;
  14. //strLang = (TCHAR *)strTemp;
  15. lstrcpyn(strLang, OLE2T(strTemp),4);
  16. ogrl.m_Lang = strLang;
  17. ogrl.OpenAll();
  18. MessageBox(NULL, "Test", "Test", MB_OK);
  19. return S_OK;
  20. }