|
You have posted your question to the wrong forum. Try the Visual C++ forum.
Those guys love helping people with homework
System.IO.Path.IsPathRooted() does not behave as I would expect
|
|
|
|
|
|
Nah - this is the right board for homework questions. I refer all of them here
|
|
|
|
|
it is NOT homework
|
|
|
|
|
I didn't state that it was. I also replied to Josh
Anyway, have you re-posted on the C++/MFC board?
Mark
|
|
|
|
|
yes i have no one has gotten back
|
|
|
|
|
Try again here[^]
Don't mind any whiner nannys complaining
|
|
|
|
|
VS2005 C++ Express Edition is free. You're not going to find much help for Dev C++, especially when you're tring to do stuff that C++ ( the actual language ) does not support.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
heyhey
so, I searched everywhere and I cannot find the right answer...
I want to do a filter of my output in OpenGl. output actually means framebuffer but perhaps I have to do the operation somewhere else.
I want to subtract parts of the color, so let's say 50% red and 20% green.
I found the way of removing all the RGB parts by glColorMask(R,G,B,Alpha) but that's not exactly what I want, because it removes the whole R,G or B part!
I could use some BlendFunc I figured out but I'm not sure how to use it.
And I would need to set a certain background color for that.
I did something with that my 3d model got transparent, too, cause I need to use the alpha channel one way or the other. And I don't want that either.
Hope you got my question cause it's buggin me now for some days
zqueezy
|
|
|
|
|
You're using OpenGL with C++/CLI ? Or are you in the wrong forum ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
well actually that doesn't make a difference, does it? but I rewrote the question in another forum if that's OK for u guys
|
|
|
|
|
It matters for three reasons:
1 - this forum is for C++/CLI questions
2 - if someone gives you C++/CLI code to answer you, but you're not using C++/CLI, that doesn't help you much, does it ?
3 - there's about 7 people using C++/CLI. This forum is very quiet, there's more off topic posts, than on. If you want an answer, it helps to use the right forum, not many people come into this one
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hey people, is there a fairly simple way of accessing the serial port (COM1) to send and receive chars?
(using cygwin, g++, winXP)
|
|
|
|
|
MrVanx wrote: using cygwin, g++,
Seems unlikely that you're using C++/CLI then. Try the visual c++ forum. However, there is nothing in standard C++ about serial ports, you need access to platform specific libraries.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
please send me in code related to iris recognisation
|
|
|
|
|
That sounds like a compelling offer. NOT !!!
Anyhow, back in the real world... you need to do your own project. Or pay someone to do it for you. If you get stuck on a specific thing, by all means, ask here ( assuming your project is C++/CLI, otherwise, ask in the right forum ), and we'd love to help. 'please send me the code I need to do my project', is just not going to happen.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Given the current state of the WPF development tools, is it too early to ask the question of whether we can develop a WPF application in C++/CLI ?
Will it be possible down the road, if not now, to access WPF from C++?
--------------------------------
"All that is necessary for the forces of evil to win in the world is for enough good men to do nothing" -- Edmund Burke
|
|
|
|
|
Richie308 wrote: Given the current state of the WPF development tools, is it too early to ask the question of whether we can develop a WPF application in C++/CLI ?
Will it be possible down the road, if not now, to access WPF from C++?
See http://blog.voidnish.com/?p=121[^]
I wrote that last year, but the content is still valid. Except that wherever I wrote Avalon, it should now be WPF
|
|
|
|
|
Thank you for your reply. I am seriously considering purchasing your new book about C++/CLI !
But can you say when it will be released? Amazon says it's not yet available.
--------------------------------
"All that is necessary for the forces of evil to win in the world is for enough good men to do nothing" -- Edmund Burke
|
|
|
|
|
Richie308 wrote: Thank you for your reply. I am seriously considering purchasing your new book about C++/CLI !
But can you say when it will be released? Amazon says it's not yet available.
Unfortunately, there have been some publishing delays (beyond my control). The e-book (final) should be out by the end of this month, but the printed book may be 6-7 weeks away.
|
|
|
|
|
Hello!
When writing a C++ application with several forms we would like to have a simple form of docking/snapping. How can this easily be done?
We're using C++ .Net 2.0.
We would like to have the same look and feel as the rest of the windows.
We would like to have something simple.
In the example below we would like to be able to have a new form d
that can be snapped to main form by shrinking the main form.
The form d shall also be able to be freely placed, above the main form.
When moving towards the edge it shall snap, it should not be able to move outside the main form.
There is no need to show arrows when moving and so on.
Thanks in advance,
Cecilia
---------------------
|main form |form a|
|.............|......|
|.............|------
|.............|form b|
|.............|......|
|.............|-------
|.............|form c|
|.............|......|
----------------------
|form d .............|
|....................|
----------------------
To:
---------------------
|f |main form |form a|
|o |..........|......|
|r |..........|------
|m |..........|form b|
|..|..........|......|
|d |..........|-------
|..|..........|form c|
|..|..........|......|
----------------------
|form d .............|
|....................|
----------------------
|
|
|
|
|
I've tried to retrieve some information about the Delegates registered to an Event.
GetInvocationList should return an Array of Delegates, which works fine in C# but somehow fails in C++ with ' C3918 usage requires 'sampleEvent' to be a data member.'
using namespace System;
ref class sample{
delegate void Event(array<System::String ^> ^args);
event Event^ sampleEvent;
void main(array<System::String ^> ^args) {
sampleEvent += gcnew Event(this, &sample::main);
for each (Delegate^ d in sampleEvent->GetInvocationList()){
Console::WriteLine( d->Method );
}
}
};
Is there a problem with GetInvocationList or is it just me being to stupid to spot an Error?
|
|
|
|
|
Unfortunately, in C++/CLI you cannot do that with a trivial event. You'd have to use a non-trivial event to achieve what you want.
|
|
|
|
|
I am trying to get system name & ipaddress through my application in which i am working on C.
So please forward me the proper solution as soon as possible.
Thanks.
|
|
|
|
|
Is suggest to post this question in VC++[^], which is appropriate one.
|
|
|
|