This commit is contained in:
varada%netscape.com 1999-12-21 02:32:25 +00:00
Родитель 5400010341
Коммит da55b42344
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -43,13 +43,13 @@ WIDGET* SetGlobal(CString theName, CString theValue)
return w;
}
extern "C" __declspec(dllexport)
char *GetGlobal(CString theName)
__declspec(dllexport)
CString GetGlobal(CString theName)
{
WIDGET *w = findWidget(theName);
if (w)
return (char *) (LPCTSTR) w->value;
return (w->value);
return "";
}

Просмотреть файл

@ -6,7 +6,7 @@ extern __declspec(dllimport) int GlobalArrayIndex;
extern __declspec(dllimport) BOOL IsSameCache;
extern "C" __declspec(dllimport) char * GetGlobal(CString theName);
__declspec(dllimport) CString GetGlobal(CString theName);
extern "C" __declspec(dllimport) WIDGET* SetGlobal(CString theName, CString theValue);
extern "C" __declspec(dllimport) WIDGET* findWidget(CString theName);
extern "C" __declspec(dllimport) void CopyDir(CString from, CString to, LPCTSTR extension, int overwrite);