| 102 } |
102 } |
| 103 |
103 |
| 104 printf("GTK+ path found: %s\n", path); |
104 printf("GTK+ path found: %s\n", path); |
| 105 |
105 |
| 106 if((hmod=GetModuleHandle("kernel32.dll"))) { |
106 if((hmod=GetModuleHandle("kernel32.dll"))) { |
| 107 MySetDllDirectory = (LPFNSETDLLDIRECTORY)GetProcAddress(hmod, "SetDllDirectory"); |
107 MySetDllDirectory = (LPFNSETDLLDIRECTORY)GetProcAddress(hmod, "SetDllDirectoryA"); |
| 108 if(!MySetDllDirectory) |
108 if(!MySetDllDirectory) |
| 109 printf("SetDllDirectory not supported\n"); |
109 printf("SetDllDirectory not supported\n"); |
| 110 } |
110 } |
| 111 else |
111 else |
| 112 printf("Error getting kernel32.dll module handle\n"); |
112 printf("Error getting kernel32.dll module handle\n"); |