-
Ok Now I'm able to get UPnP information for Microsoft devices, I just commented out the Question mark string stripping in URI.CPP line 125-129 and now Microsoft devices information are properly displayed.... I'm not sure if this will cause a problem with other devices but so far I've been able to fetch all UPnP devices on my network, except for the WMP media server that is currently on the...
2009-06-15 07:19:27 UTC in CyberLink for C++
-
I have noticed this also, In SocketInputStream.cpp Line 66, when receiving the socket that holds the information of the discovered device, all Microsoft devices, Media Servers and Media Renderers returned a packet of type "HTTP/1.1 400 Bad Request"... I'm still trying to figure out how to work around this issue, any suggestions.... I haven't tested it with a Microsoft router as I don't...
2009-06-14 10:27:24 UTC in CyberLink for C++
-
Just solved the threads problem, I'm not sure if this was intentional or just a typo but when closing a socket..... The program checks the socket if it's valid or not. The problem was that valid sockets were not closed as the condition was wrong....... Another part of the solution was to first close the opened sockets then stop the SSDP Notify and search lists and the HTTP server list a swell...
2009-06-08 05:56:30 UTC in CyberLink for C++
-
Turns out that all memory leaks are generated from one place, this is the Thread.cpp file. What you're doing is terminating the thread first and the waiting for it to finish which is irrelevant, of course using TerminateThread will result in dumping all objects that has not been properly deleted yet. Now the problem seems that one of the threads keeps running for a long period of time, and needs...
2009-06-07 08:29:47 UTC in CyberLink for C++
-
Thanks for the advise.... I did do that and some were solved then I deleted each device that was returned from the deviceadded method and this solved almost all of the other leakages. Now it seems that the problem remaining originates from the generated uuid's. Not all of them are deleted once the control point is stopped. And this is annoying since the dumped objects increase when more devices...
2009-05-20 05:23:59 UTC in CyberLink for C++
-
Hi...
I am currently using the cyberlink library to create a UPnP control point. I have linked the library with my MFC dialog that should display UPnP devices that were found. I have noticed that when there were memory leaks and that they are recursive. Currently I have found these points where they supposedly generate leaks.
______________File_Name_____________ _LineNo_...
2009-05-18 13:38:43 UTC in CyberLink for C++