title image


Smiley Wer kann mir folgende kleine DLLs in C++ erstellen?
Hallo,

ich habe leider keine C++ Kenntniss und das notwendige Programm auch nicht.

Ich benötige 3 DLLs damit Exchange die richtige Sprache der Clients erkennt.

Hier die engl. Anleitung von der Microsoft Webseite.



"How to Write the Filter:

To write such a filter, use the ISAPI Extension Wizard in Microsoft Visual C++ 6.0: 1. Start Visual C++, and click New on the File menu.

2. Click ISAPI Extension Wizard, give the project a name, such as AcceptLanguage, and click OK.

3. Click to select Generate a Filter object, click to clear Generate a Server Extension object, and then click Next.

4. Click to select Post-preprocessing of the request headers, click Finish, and then click OK.

5. In step 4, a new workspace is created in Visual C. This workspace has one main file that is named CacceptLanguageFilter(). Double-click this file in the workspace.

6. Scroll down to the DWORD CAcceptLanguageFilter::OnPreprocHeaders function.

7. In this function, above the RETURN value, insert the following text:



NOTE: The following example hard codes the Accept-Language to en-us, which is the value for American English. Change this value to the language that you want to hard code into the interface. To find out what the value is for the desired language, you can see the list in Internet Explorer's language selector dialog box.



char* sz;

sz = "en-us";

pHeaderInfo->SetHeader(pCtxt->m_pFC, "Accept-Language:", sz);



8. On the Build menu, click Set Active Configuration.

9. Click AcceptLanguage - Win32 Release, and then click OK.

10. On the Build menu, click Build AcceptLanguage.dll, or press F7 to build a dynamic link library (DLL). This DLL is usually placed in the C:\Program Files\Microsoft Visual Studio\MyProjects\AcceptLanguage folder or something similar.



Genaue Anleitung steht hier:

http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B310599



Ich benötige diese DLL für Sprache US:



char* sz;

sz = "en-us";

pHeaderInfo->SetHeader(pCtxt->m_pFC, "Accept-Language:", sz);



Ich benötige diese DLL für Sprache CH:



char* sz;

sz = "de-ch";

pHeaderInfo->SetHeader(pCtxt->m_pFC, "Accept-Language:", sz);



und zuletzt diese DLL für Sprache DE:



char* sz;

sz = "de";

pHeaderInfo->SetHeader(pCtxt->m_pFC, "Accept-Language:", sz);





ICH SAGE SCHON MAL DANKE FUER EURE HILFE!!!

mailto:sasser@gmx.de
Geht nicht gibts doch :-)

geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: