Ralf Habacker ralf.habacker@freenet.de writes:
- if (hwnd && graphics_driver)
- {
HMODULE shell32;
void (WINAPI *pShellDDEInit)( BOOL );
if ((shell32 = LoadLibraryA( "shell32.dll" )) &&
(pShellDDEInit = (void *)GetProcAddress( shell32, (LPCSTR)188)))
{
You shouldn't need to duplicate that code.