You should provide some more information. At least the name of the 3rd party code and the operating system you are using (makefile files are commonly used with Linux). The file extension .prg can be anything. It may be an input file for the makefile (reading its content may help).
If the code is Open Source, there should be some documentation on how to build a library (in the project documentation or by searching the web).
If it is not Open Source, you should contact the supplier of the code.
My application must work on a remote computer with ports 500 and
4500 on UDP-protocol, but it doesn't work.
I tried to test these ports by this udp-server.
Antivirus is switched off, Firewall too.
When I start udp-server as "timeserver 500" or as "timeserver 4500"
I get message: "Could not bind name to socket".
But with other ports it works. Why? (In the source code I do not
see any restrictions for port-numbers.)
On my local home computer - the same behavior!
Can anyone explain this?
//Pop the frame data from the font of list.
if (m_FrameList.size() == 0) return 0L;
pFrameData = m_FrameList.front();
... Decoder the frame data
// use following code to push the frame data to the list.
SMyFrameData* pNewFrame = new SMyFrameData();
pNewFrame->lpData = pBuf;
pNewFrame->iSize = iSize;
But now there is a error happen "erators and references can become invalid." in code, pFrameData = m_FrameList.front(); I just use the CCriticalSection to avoid the conflict, but why the error happen.
There's no capturing of pointers here, pFrameData is a std::list.
Only deleting a list node invalidates an iterator to it. Having an iterator to the first node then adding to the head is not a problem, you just end up with an iterator to the second item in the list (the same is true for pointers to list items).
Well I don't think he did. If a post is edited after being created, then it gets the tag [modified] added to the title, and a date put in at the bottom, as you can see in my modified post[^], or indeed, in your first reply to me.
One of these days I'm going to think of a really clever signature.
I am going to edit this post.
This post has been edited five times. There was no modified additions after the first edit, but it did appear after the second. I'm guessing there's a window within which they don't appear. As to why they don't appear on the OP's post I'm not sure. I'm not making this stuff up, the post was edited: My post contains text copied from it using the clipboard and I provided a link from the poster where he says he did. I'm not sure what more I can do to convince you.
modified 14-Nov-12 8:48am.
Last Visit: 31-Dec-99 19:00 Last Update: 27-Feb-15 9:33