Type: Posts; User: Night_Wulfe
Search took 0.01 seconds.
April 20th, 2010, 09:41 PM
It's been a very long time since I've played with JAVA, so there may be some restrictions in JAVA I'm unaware of. That said, there is no reason you can't have multiple sockets per thread as they're...
April 20th, 2010, 12:37 PM
Thanks, Dvyukov, that gives me some patterns to research!
April 20th, 2010, 12:25 PM
I believe the error is stating that you don't have a main entry point into the program. This could be a function called WinMain, main, or DllMain, depending on your project settings. Verify that...
April 19th, 2010, 02:07 PM
Having written a small amount of multi-threaded code, one of the hardest things to deal with is detecting where race conditions could occur. This is especially true in code you write, believing it...
April 16th, 2010, 05:40 PM
I believe it needs to be:
typedef int (__stdcall * voidFunc)(int);
April 16th, 2010, 12:46 PM
Currently I'm designing and prototyping an integration application that routes messages between other applications. In addition to transferring messages between applications, it can perform...
April 14th, 2010, 07:10 AM
I'd love such a book, myself!
I wouldn't mind the allocator there, nor would I mind if you had been saying that :D Considering how low level memory allocation and object management is in a...
April 13th, 2010, 12:26 PM
Rebinding is something I thought about a little later. I realized that the only way this would work is if the ConstructionPolicy didn't support a rebind, and the Factory would always just use the...
April 12th, 2010, 04:06 PM
Unless Araxis sets a registry key telling you where it is installed, I believe your only option is to have a configuration that allows the user to specify where the compare.exe file is located.
April 12th, 2010, 03:32 PM
Oh I see. The problem is you're trying to pass a string type to a char* (sbyte* to C#) type. These types are incompatible. There are two ways around this:
1) If you'd rather use the string type...
April 12th, 2010, 03:20 PM
Thanks guys, I appreciate the responses.
Like I said before a lot of this is just experimentation as a learning experience on my part. So, this may very well end up with me saying "You're right,...
April 12th, 2010, 02:14 PM
If you were calling an exported function from the DLL, you would use the PInvoke as described by Chris. However, since you want to execute a member function of a class inside your DLL, things may be...
April 12th, 2010, 01:01 PM
Sorry, I misread your post. You can't really encapsulate the two variables on their own. As BigEd said, without more information about what your code does, you're stuck with declaring the two...
April 12th, 2010, 12:21 PM
Thanks for the reply, superbonzo.
I agree that you have to specify where an object is to be constructed before hand. You can't put the cart before the horse, but you can swap out the horses and...
April 12th, 2010, 01:33 AM
I believe you have to save your Icon with the transparent color as the background and Windows will take care of the rest when displaying the icon. There should be an option for doing this in...
April 12th, 2010, 01:24 AM
Hi there! I chose to post here as I'm coding in pure C++ and that has a direct impact on my implementation. I apologize if I chose the incorrect location.
I've been writing C++ professionally...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!