|
Did you mean to post this here?
If it's intended as a comment to an existing message, then use the "Reply" feature, not "New Message" - that way the conversation "flows" and the person you are replying to gets an email to let them know (just like you did to this comment)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
With the new open source .Net implementation is there an open source implementation of C++\CLI?
|
|
|
|
|
Not sure exactly which part of .NET you're asking about but they are not open-sourcing the C++/CLI compiler.
|
|
|
|
|
I am pretty sure that it's just ASP.NET 5 that is going open source. I have not heard about anything else.
http://www.asp.net/open-source[^]
You can lead a developer to CodeProject, but you can't make them think.
The Theory of Gravity was invented for the sole purpose of distracting you from investigating the scientific fact that the Earth sucks.
|
|
|
|
|
|
You can lead a developer to CodeProject, but you can't make them think.
The Theory of Gravity was invented for the sole purpose of distracting you from investigating the scientific fact that the Earth sucks.
|
|
|
|
|
Also does C++\CLI support C++ 11 and 14 feature that are also supported by the native C++ 11 complier
|
|
|
|
|
|
Hi I want delete or remove or clear all label from my form how can I do this?
please give me an example.
|
|
|
|
|
Please do not repost. I gave you a suggestion to your original question.
|
|
|
|
|
Unfortunately I don't understand your suggestion.
Please explain more and give me a example.
Thanks.
|
|
|
|
|
|
Exactly I don'n know what I write.
I barely know about windows form because I just start it.
if you know equivalent of that code in c++,please help me.
|
|
|
|
|
|
Tank you but still there is a problem!
I don't access label name because it made dynamically and before that i cant access to this label.
Even I know label name the compiler don't allow me to remove in that way.
|
|
|
|
|
Sorry, but I do not understand what you mean. If you are iterating through a collection of controls then you do not need their name. As you look at each control in the collection you get its type to check if it is a label. Then you read its content to see if it is one of the candidates for deletion.
|
|
|
|
|
Well,how can I get the controls type?
is there any function to return this?
And how I check it is label or not?
|
|
|
|
|
Go back to the link I gave you previously and study the documentation.
|
|
|
|
|
I read them but they code are in c# and I don't know equivalent of this part in c++ :
" C.GetType() == typeof(System.Windows.Forms.TextBox) "
c.GetType exist in c++ but "typeof(System.Windows.Forms.TextBox)" no,do you know what is it in c++?
(I'm sorry that I ask a lot question.)
|
|
|
|
|
I have not tried this but you should be able to use the GetType method[^] and compare it against the same result from a known object of that class, something like:
Label ll = new Label();
if (control.GetType() == ll.GetType())
|
|
|
|
|
Hi I want delete or remove or clear all label from my form how can I do this?
is there any way that I can remove specific controls without it name?
|
|
|
|
|
You can iterate through all the controls on the form and check their type, thus identifying the labels. You can then decide whether to remove them or not.
|
|
|
|
|
Help me!
I want convert file .mp3 to file .sty (play with Organ player).
Thank you so much!
modified 29-Jun-15 3:14am.
|
|
|
|
|
What have you tried and where are you stuck?
|
|
|
|
|
I'm looking into perf tuning in our application and one area we've identified when converting many strings between String^ and a native array of UTF-8 chars. Currently, I use code similar to this:
array<Byte>^ byteArray = System::Text::Encoding::UTF8->GetBytes(str);
pin_ptr<Byte> p = &byteArray[0];
I then proceed to memcpy from p to my own storage block.
Has anyone compared Encoding::UTF8->GetBytes() to pinning a string^ and using WideCharToMultiByte(CP_UTF8, ...)?
I suspect it will be faster to use WideCharToMultiByte even if I call twice (once to get byte count, once to convert) and will investigate today but I thought there may be a war story or two out there.
Any lessons learned?
John
|
|
|
|