Look Up/RHostResolver Crash in 2nd Edition FP2
| Wed, 2008-06-04 07:03 | |
|
|
Hi All, I have a CActive Object that connects to a Server and Writes data to it. Infact i have several CActive Objects in Different DLLs. w.r.t this Bug, I connect to the server when the user selects an option in UI. The code that have is as follows iPort = aPort;As i said it works in 3rd Edition. I am also opening RsocketServ prior to this and have done all initializations required. However in 2nd edition it crashes at SetActive(). Some times i also get a Signal 5 Exception crash. I am not able to find why it crashes. If anyone has encountered any such scenarios please help!!! Thanks in Advance Shashi Kiran G M |






Forum posts: 96
Well i found out the Bug. The aUrl Parameter should be copied into a class member i.e all Variables used to connect should be global i.e TSockAddr,Server Name and Buffer Used to write Data in 2nd Editio FP2 should be declared as Class members.
Anybody else looking for a soution for a problem like this should find this post helpful.
Regards
Shashi kiran G M
Shashi Kiran G M