|
|
all i am doing there is calling the beginread to listen for any data and when it comes just do an end read and read the data in a loop synchronously. Here is a Screenshot[^] of what i am doing here.
-- modified at 18:00 Monday 19th November, 2007
UPDATE:
Pretty wierd...after troubleshooting it further, i got it to work. before i sent the data on the client side, i converted it to a base64 string and on the server side the encoding function worked. what the piece of data is that i am trying to send through is a serialized object using binaryformatter. I guess the GetString function didn't like the format of the data???
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
how can i prevent the system to switch tasking in a critical section ?
|
|
|
|
|
What in the hell are you talking about?
Is this a .NET question? This forum is for "C++/CLI managed and mixed mode" questions as the title states, as does the top (first) post.
So far it seems you are in the wrong forum and have no idea what you are talking about, hows that working out for you?
|
|
|
|
|
led mike, if you do not know the answer don't replay...
it's very simple
|
|
|
|
|
Gilpaz, if you do not know the answer don't develop software...
it's very simple
|
|
|
|
|
what i'm doing in my life is none of your business
|
|
|
|
|
.NET does not use the term, critical section, but uses the System.Threading.Monitor class. Also, task switching is a very low level system activity. Thus, your post is not appropriate here.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
Mike is right, even if he was brusque in the delivery, you have asked in the wrong forum. This matters because this forum is a ghost town. Asking in the right forum will help you get an answer.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: even if he was brusque in the delivery
what me?
|
|
|
|
|
Christian Graus wrote: This matters because this forum is a ghost town
That explains why this forum gets all the tumble weed posts!
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
what is the difference bitween multi theading and multi tasking?
thank you!
|
|
|
|
|
|
thank you
|
|
|
|
|
|
thank you very much!
|
|
|
|
|
|
hi please tell
How i can change custom level of security (for example ActiveX control and plugins) of trusted sites , programmatically?
Is it possible by using IInternetSecurityManager interface?
Thanks.
destined to win
|
|
|
|
|
Have you been able to do this?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
#using<mscorlib.dll>
#using"CSharpHelloWorld.netmodule"
using namespace System;
public __gc class HelloWorldC
{
public:
CSharpHelloWorld __gc *t; // Provide .NET interop and garbage collecting to the pointer.
HelloWorldC() {
t = new CSharpHelloWorld(); // Assign the reference a new instance of the object
}
// This inline function is called from the C++ Code
void callCSharpHelloWorld() {
t->displayHelloWorld();
}
};
thanks in advance
-- modified at 4:57 Monday 19th November, 2007
|
|
|
|
|
"how compile" ?? what does that mean?
Are you working through a book or tutorial? Provide a reference. If not find one and use it, I believe there are some good one here in the CodeProject Articles.
|
|
|
|
|
|
What is the problem? Looks okay.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I have some dialog boxes implemented in CLI, and when the display DPI is set to 120, it throws everything off. It makes a tree control so large that it overlaps other controls, for instance.
Are there any easy ways to deal with this?
|
|
|
|
|
AutoScaleDimensions and AutoScaleMode doesn't help?
|
|
|
|