View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000655 | Ecere SDK | public | 2011-10-13 09:10 | 2013-05-19 22:15 | |
Reporter | samsam598 | Assigned To | jerome | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 0.44 Ryoan-ji | ||||
Summary | 0000655: Network system initialize | ||||
Description | It seems that the networking system needs to be initialized first for those functions to work.Given below code,hostName and address are still blank when MessageBox get called.At this moment an easy way to solve this problem is by declaring a global Service or Socket object: Socket socket { }; That will get them to work. [code] Button button1 { this, text = "button1", position = { 184, 112 }; bool NotifyClicked(Button button, int x, int y, Modifiers mods) { char hostName[256], address[64]; GetHostName(hostName, sizeof(hostName)); GetAddressFromName(hostName, address); //edtHostName.contents=CopyString(hostName); //edtHostAddress.contents=CopyString(address); MessageBox{contents=hostName}.Modal(); MessageBox{contents=address}.Modal(); return true; } }; [/code] | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-10-13 09:10 | samsam598 | New Issue | |
2011-10-14 05:52 | jerome | Status | new => resolved |
2011-10-14 05:52 | jerome | Fixed in Version | => 0.44 pre-release 2 |
2011-10-14 05:52 | jerome | Resolution | open => fixed |
2011-10-14 05:52 | jerome | Assigned To | => jerome |
2011-10-14 05:52 | jerome | Note Added: 0000475 | |
2012-03-08 15:49 | redj | Target Version | => 0.44 Ryoan-ji |
2013-05-19 22:15 | jerome | Status | resolved => closed |