Question : Choosing Word as Editor in Outlook 2010

Where is the option to use word 2010 as the editor in Outlook 2010 -Although it's the default, certain features are enabled if this choice is used

Answer : Choosing Word as Editor in Outlook 2010

Same with the CALLBACK. A bit different from what evilrix says but the same meaning.

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:
#include <Windows.h>

class SomeClass  
{  
public:  
	typedef void (CALLBACK *SOMEFUNC)();  
	SOMEFUNC SomeFunc;  
};

void __stdcall OnSomeFunc()  
{  
	MessageBox(NULL, L"Hello", L"A test", MB_OK | MB_SETFOREGROUND);  

}  

int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, 
					  LPWSTR lpCmdLine, int nCmdShow)
{
	SomeClass * myClass = new SomeClass();  
	myClass->SomeFunc = OnSomeFunc;  
	myClass->SomeFunc();

	delete myClass;
	return 0;
}
Random Solutions  
 
programming4us programming4us