Type: Posts; User: ReorX
Search took 0.01 seconds.
October 9th, 2004, 09:01 AM
Why are you using UDP instead of TCP? TCP does pretty much what you need without too much overhead.
With UDP, you might even have funny problems in larger networks when a datagram may overtake...
September 15th, 2004, 12:53 PM
Actually, both look the same to me - can anyone else see a problem (except perhaps scaling, but that's a minor issue)?
September 15th, 2004, 12:49 PM
You have to link the library of the exporting DLL (secondll) to the objects and libraries in your importing DLL (dlltest).
See project settings/link/input/object+library modules!
August 24th, 2004, 09:47 AM
See Q176420, which describes, why timeouts cannot be set with InternetSetOption (Bug with Microsoft)
Huffman's alogorithm looks like this:
A) Start with as many trees as there are symbols.
B) While there is more than one tree:
1. Find the two trees with the smallest total weight.
Indeed, I misunderstood your intention of using UDP to find out something about the local interface adapter.
I always use "GetIfTable" where you get all interfaces and their operational state!
Usually when using UDP, you do not care - packets can get lost whenver they "want".
If you do care for the other side still being present, use either TCP or set up a protocol yourself on top of...
Not everything that is new'd by a User is allowed to be deleted by the User.
Frameworks like Qt for example take over the ownership for Widgets with a non-NULL-parent.
So you must not delete...
April 21st, 2004, 06:41 AM
NMAKE is very limited in its features and I haven't found a way to do SUBST in NMAKE.
I would recommend porting to gmake instead, which is usually acceptable, as gmake can be invoked from DevStudio...
April 20th, 2004, 06:01 AM
There are two things you can try:
(1) Pass a Ctring& into the DLL instead of returning a CString.
The problem will NOT disappear, but debugging is easier!
(2) Instead of returning a CString,...
April 15th, 2004, 07:27 AM
Your commandline requires quoted strings!
Currently, CreateProcess tries to start C:\Program.exe because that's where the first blank separates program and parameters.
The rest of your commandline...
April 15th, 2004, 07:21 AM
April 11th, 2004, 09:31 AM
What are the functions supposed to do? From the code, it's impossible to tell, as it does not make any sense to me.
usResult = (usOutputBit | 0x8000) | usResult2;
usResult = usResult <<...
April 7th, 2004, 11:37 AM
Actually, I think you will have further DLLs on your customers computers which will cause trouble, not only OPENGL32.dll. PGP Plugins for example love to pop into your applications address space by...
February 19th, 2004, 07:17 AM
I can't belive this code is working in debug mode. Add &fileException as third parameter to the Open call and see what's happening.
February 17th, 2004, 07:42 AM
the first thing you need is a common timebase.
So if somebody enters a value in China lets say at 8:00 and somebody does the same at the very same moment in London (lets say local...
February 16th, 2004, 12:10 PM
Easy, the difference is 8 hours expressed in seconds.
The Constructor you chose is a special constructor, as it makes a conversion to UTC. As GMT + 8 is 8 hours ahead of UTC, at least now in the...
February 3rd, 2004, 06:08 AM
See the XML SDK around MSXML Api. It contains an excellent access to XML. It can be downloaded from MS Homepage (SDK and separate Runtime Distribution).
January 30th, 2004, 07:54 AM
I'd assume. in step 1 they use the IMAGEHLP Library to find out implicit linkage information and then in step 2 hook LoadLibrary[AW] to recursively apply step (1) on the newly loaded library....
January 13th, 2004, 07:50 AM
To get real protection, you'd need a processor on the memory stick.
Otherwise, you'll have the problem of getting the (secret) key out of the stick for processing on the host computer and in this...
January 8th, 2004, 10:14 AM
I think, Digital Fountain has a patent on all this. You could probably look up what they write in their patent.
But I think, you will run into a legal problem anyway ... :-(
January 2nd, 2004, 05:50 AM
January 2nd, 2004, 05:44 AM
I have used Frontpage 2000 for a large HTML Help project and actually - I would not do it again.
This has two reasons:
- Frontpage adds "nasty" code to the HTML-Code which lateron had to be...
December 10th, 2003, 12:06 PM
Have you enabled IP forwarding on your computer?
This might cause your symptoms.
See IPEnableRouter in MSDN and your registry.
Beware: Disabling it might cripple your computer if it is used for...
December 8th, 2003, 07:28 AM
The second if must must read --pThis->m_dwRef
(two minus signs) thus decrementing the ref-counter!
Once the references are down to zero, the object is deleted!
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!