gdi, gdi+ from microsoft
FreeImage library from sourceforge
Kuphryn
Type: Posts; User: kuphryn
gdi, gdi+ from microsoft
FreeImage library from sourceforge
Kuphryn
tcp is one-to-one, or direct connection. servers may share data. this process is independent of tcp.
Kuphryn
robust winsock io models are limited to 64 sockets each thread, except iocp. you have two choices: multiple threads or iocp.
Kuphryn
two typical threads are worker and ui. on windows platform an instance of an application resides in a process. the process has a default main ui thread. update ui objects from within the ui...
several choices such as constructor, oncreate, etc.
Kuphryn
static ip
check out msdn for winsock api to get network ip address or router api (system is connected to the internet via router)
dynamic ip
one approach is to connect to an external server...
as an experiment removed the call to InvalidateRect()
Kuphryn
not too easy to get dynamic internet ip via pure winsock
static or dynamic?
Kuphryn
should add parentheses
Kuphryn
another possible approach is typeid
Kuphryn
another approach is void pointer
Kuphryn
possible firewall
what port?
Kuphryn
all api should be unicode and 32-bit api are legacy code
Kuphryn
size_t a = wcstombs(NULL, b, wcslen(b)) + 1
Kuphryn
check out wcstombs()
Kuphryn
validate pointers and window handles
Kuphryn
SetMenuItemBitmaps()
Kuphryn
dynamic_cast()
Kuphryn
increment coordinates by 10
bitmap is empty after initial render?
Kuphryn
what values are RasterX and RasterY?
Kuphryn
make sure you initialize enum
Kuphryn
keep both
Kuphryn
return doesnt exist after return
verify via reference
Kuphryn
pointers not references
post couple lines api create thread and callback function
Kuphryn
depends
completely valid be careful parameters
Kuphryn