Search:
Type: Posts; User: greg_dolley
Search:
Search took 0.10 seconds.
-
December 24th, 2006, 02:20 PM
Yes, it's possible to do it in MC++.
Greg Dolley
-
December 24th, 2006, 02:18 PM
I haven't seen it, but you could have easily done this in order to free the queue resources:
{
MessageQueue ^mq = gcnew MessageQueue("DestinationQueueName");
mq->Send(gcnew Message("my...
-
December 24th, 2006, 02:10 AM
Arjay, remember there are different implementations of STL, written by different companies. Their class structures, function parameters, etc. are all the same, but how the functions are coded is...
-
December 23rd, 2006, 04:42 AM
Arjay, and in MC++ it gets even easier! ;) Check it out:
MessageQueue ^mq = gcnew MessageQueue("DestinationQueueName");
mq->Send(gcnew Message("my message"));
Greg Dolley
-
December 23rd, 2006, 04:17 AM
Are you serious?! Hmmm... Why is this?
Greg Dolley
-
December 23rd, 2006, 04:14 AM
They're close but not exactly the same.
Greg Dolley
-
December 23rd, 2006, 04:11 AM
CPUWizard, if you're using the old CLR syntax where the "new" keyword can create either a managed or unmanaged object, yeah it's easy to make a mistake and accidentally write unsafe code. But with...
-
December 22nd, 2006, 07:27 AM
IMHO, I don't see why programmers shy away from managed C++ (MC++). Seems like a lot of people are using C# instead of MC++. I use MC++ when I need performance or when I want to use templates and...
-
December 18th, 2006, 06:36 AM
Very easy:
void do_something(void)
{
double number;
double percent;
double result;
-
December 18th, 2006, 06:31 AM
Yup, that is wrong. Sorry. ;) The % sign is a modulus operator. It gives you the remainder of a division operation. For example, 2 % 10 = 0 because two divides evenly into 10 leaving no remainder;...
-
December 14th, 2006, 02:44 AM
I changed the options in my profile, so you should be able to send me emails now. :)
Greg Dolley
-
December 13th, 2006, 02:15 AM
Wow, that's really strange. Can you send me the project (zipped preferably)? I can try it in my Visual Studio and do some experiments.
Greg Dolley
-
December 12th, 2006, 04:40 AM
I'm not 100% sure on this one, but here goes:
When you specify 0 as the first parameter to TrackPopupMenu() and use the ON_COMMAND handler, don't you specify the resource id of the menu item in...
-
December 12th, 2006, 04:29 AM
Do you have to use fstream? If you are writing a series of just one struct to a file, then I would just use fread() and fwrite(). Those are functions that read/write plain binary data to/from a file....
-
December 12th, 2006, 04:05 AM
Close Visual Studio, delete the .ncb file (this would be in the project root folder), reopen the project, and do a "Rebuild All." Now check the class view window. If it still displays no classes, let...
-
December 12th, 2006, 03:49 AM
When you create a program bigger than one source file, you will see. ;) Also, when sharing a class you wrote with other developers, all working on the same program, you want them to include your...
-
December 5th, 2006, 05:34 AM
Hmmmm.... There's too little information to go on. Is it possible for you to attach a zip of your project? I can figure it out pretty quickly then.
Greg Dolley
-
November 9th, 2006, 04:01 PM
OK, I'll just spill it, even though it's long and tedious, here's how I make a custom height for title bars, toolbars, and docking panes...
Even though the app has the non-client area owner-draw,...
-
November 8th, 2006, 01:50 AM
Only for your application.
Greg Dolley
-
November 7th, 2006, 06:08 AM
As far as I know, you can't do this to an individual window. But you can make your dialog NC owner-draw allowing you to draw the title bar yourself.
Greg Dolley
-
November 3rd, 2006, 04:39 AM
I'm trying to find a good registry cleaner. Who has a good one to recommend?
Greg Dolley
-
November 3rd, 2006, 04:32 AM
Light both ends of the one hour rope. This will take 30 minutes to burn. When it is burnt out, light both ends of the half hour rope. This one will take 15 minutes to burn. When it is done, you have...
-
November 2nd, 2006, 06:57 AM
cilu is right, there's no way you can get handles of the controls because the control itself doesn't exist. It looks like you're wanting an easy way to do it. If so, try using DDX through the wizard....
-
November 1st, 2006, 08:01 PM
The practice of commenting every function is rarely followed completely. If you can do it 100% of the time, that's really good.
Greg Dolley
-
November 1st, 2006, 03:49 AM
Why do you have "WRITE<...>"? Do you know angular brackets are not used this way?
You didn't ask a question in your post, so I'm not clear what you want help with. Do you need help in...
|
Click Here to Expand Forum to Full Width
|