Wine, WineLib and "Programming Windows 95"
Last updated: 2001/2/4
Description
This is a DDE server program which can provide information about the
population of the USA states to a DDE client.
Wine tests
- Seems to work fine. If there's a problem I'll report it in the client
anyway.
Winelib tests
Tested API
- GDI32
GetStockObject
- KERNEL32
CloseHandle, CompareStringA, CompareStringW, ExitProcess, FlushFileBuffers, FreeEnvironmentStringsA, FreeEnvironmentStringsW, GetACP, GetCPInfo, GetCommandLineA, GetEnvironmentStrings, GetEnvironmentStringsW, GetFileType, GetLastError, GetLocalTime, GetModuleFileNameA, GetModuleHandleA, GetOEMCP, GetProcAddress, GetStartupInfoA, GetStdHandle, GetStringTypeA, GetStringTypeW, GetTickCount, GetTimeZoneInformation, GetVersion, GlobalAddAtomA, GlobalAlloc, GlobalDeleteAtom, GlobalFree, GlobalGetAtomNameA, GlobalLock, GlobalUnlock, HeapAlloc, HeapCreate, HeapFree, HeapReAlloc, LCMapStringA, LCMapStringW, LoadLibraryA, MultiByteToWideChar, RtlUnwind, SetEnvironmentVariableA, SetFilePointer, SetHandleCount, SetStdHandle, UnhandledExceptionFilter, WideCharToMultiByte, WriteFile, lstrcpyA
- USER32
CreateWindowExA, DefWindowProcA, DestroyWindow, DispatchMessageA, EnumChildWindows, FreeDDElParam, GetMessageA, GetWindowLongA, KillTimer, LoadCursorA, LoadIconA, PackDDElParam, PeekMessageA, PostMessageA, PostQuitMessage, RegisterClassExA, SendMessageA, SetTimer, SetWindowLongA, ShowWindow, TranslateMessage, UnpackDDElParam, UpdateWindow, wsprintfA
Last updated: 2000/12/2
Description
Same as ddepop1 but using the DDEML (DDE Management Library). it also updates the data
every five seconds.
Wine tests
- Displays a long list of messages warning us that DdePostAdvise is a stub:
fixme:ddeml:DdePostAdvise (1,0,0): stub
- When closing the application I get the following messages:
fixme:ddeml:DdeNameService (1,0,0,2): stub
fixme:ddeml:DdeUninitialize (1): partial stub
Winelib tests
Tested API
- GDI32
GetStockObject
- KERNEL32
CloseHandle, CompareStringA, CompareStringW, ExitProcess, FlushFileBuffers, FreeEnvironmentStringsA, FreeEnvironmentStringsW, GetACP, GetCPInfo, GetCommandLineA, GetEnvironmentStrings, GetEnvironmentStringsW, GetFileType, GetLastError, GetLocalTime, GetModuleFileNameA, GetModuleHandleA, GetOEMCP, GetProcAddress, GetStartupInfoA, GetStdHandle, GetStringTypeA, GetStringTypeW, GetTimeZoneInformation, GetVersion, HeapAlloc, HeapCreate, HeapFree, HeapReAlloc, LCMapStringA, LCMapStringW, LoadLibraryA, MultiByteToWideChar, RtlUnwind, SetEnvironmentVariableA, SetFilePointer, SetHandleCount, SetStdHandle, UnhandledExceptionFilter, WideCharToMultiByte, WriteFile
- USER32
CreateWindowExA, DdeCreateDataHandle, DdeCreateStringHandleA, DdeFreeStringHandle, DdeInitializeA, DdeNameService, DdePostAdvise, DdeQueryStringA, DdeUninitialize, DefWindowProcA, DestroyWindow, DispatchMessageA, GetMessageA, KillTimer, LoadCursorA, LoadIconA, MessageBoxA, PostMessageA, PostQuitMessage, RegisterClassExA, SendMessageA, SetTimer, ShowWindow, TranslateMessage, UpdateWindow, wsprintfA
Last updated: 2000/12/2
Description
Connects to the DDE server and queries it to get the population in each of the US states.
Wine tests
- To test this first start the server, wait for it to show up (as an icon), and then start the client.
- Displays an error window saying that it cannot connect to the server.
Winelib tests
Tested API
- GDI32
GetStockObject, GetTextMetricsA, SetTextAlign, TextOutA
- KERNEL32
CloseHandle, ExitProcess, FlushFileBuffers, FreeEnvironmentStringsA, FreeEnvironmentStringsW, GetACP, GetCPInfo, GetCommandLineA, GetEnvironmentStrings, GetEnvironmentStringsW, GetFileType, GetLastError, GetModuleFileNameA, GetModuleHandleA, GetOEMCP, GetProcAddress, GetStartupInfoA, GetStdHandle, GetStringTypeA, GetStringTypeW, GetTickCount, GetVersion, GlobalAddAtomA, GlobalAlloc, GlobalDeleteAtom, GlobalFree, GlobalGetAtomNameA, GlobalLock, GlobalUnlock, HeapAlloc, HeapCreate, HeapFree, LoadLibraryA, MultiByteToWideChar, RtlUnwind, SetFilePointer, SetHandleCount, SetStdHandle, UnhandledExceptionFilter, WideCharToMultiByte, WinExec, WriteFile
- USER32
BeginPaint, CreateWindowExA, DefWindowProcA, DispatchMessageA, EndPaint, FreeDDElParam, GetDC, GetMessageA, InvalidateRect, LoadCursorA, LoadIconA, MessageBoxA, PackDDElParam, PeekMessageA, PostMessageA, PostQuitMessage, RegisterClassExA, ReleaseDC, SendMessageA, ShowWindow, TranslateMessage, UnpackDDElParam, UpdateWindow, wsprintfA
Last updated: 2000/12/2
Description
Same as showpop1 but using DDEML.
Wine tests
Winelib tests
Tested API
- GDI32
GetStockObject, GetTextMetricsA, SetTextAlign, TextOutA
- KERNEL32
CloseHandle, ExitProcess, FlushFileBuffers, FreeEnvironmentStringsA, FreeEnvironmentStringsW, GetACP, GetCPInfo, GetCommandLineA, GetEnvironmentStrings, GetEnvironmentStringsW, GetFileType, GetLastError, GetModuleFileNameA, GetModuleHandleA, GetOEMCP, GetProcAddress, GetStartupInfoA, GetStdHandle, GetStringTypeA, GetStringTypeW, GetVersion, HeapAlloc, HeapCreate, HeapFree, LoadLibraryA, MultiByteToWideChar, RtlUnwind, SetFilePointer, SetHandleCount, SetStdHandle, UnhandledExceptionFilter, WideCharToMultiByte, WinExec, WriteFile
- USER32
BeginPaint, CreateWindowExA, DdeClientTransaction, DdeConnect, DdeCreateStringHandleA, DdeDisconnect, DdeFreeStringHandle, DdeGetData, DdeInitializeA, DdeQueryStringA, DdeUninitialize, DefWindowProcA, DestroyWindow, DispatchMessageA, EndPaint, GetDC, GetMessageA, InvalidateRect, LoadCursorA, LoadIconA, MessageBoxA, PostQuitMessage, RegisterClassExA, ReleaseDC, SendMessageA, ShowWindow, TranslateMessage, UpdateWindow, wsprintfA