|
if i got the hwnd of any process through process class
how will i convert it into HWND type?
r00d0034@yahoo.com
|
|
|
|
|
|
can any body tell if i want to inherite a managed class from csocket class how will i do it plz writ exact code i will be very thank full to u ?
and if i write a wraper class of csocket who will i over ride OnAccept and OnRecive method?
r00d0034@yahoo.com
|
|
|
|
|
|
First off I'm absolutely new to the .NET environment all together.
I recently bought Visual Studio .NET academic. I wrote a small web service in managed C++ but it keeps telling me that I must have IIS installed to run the service. Is there any other way to test this without running IIS? It's not that big a deal I'm just playing around with .NET at home. Just curious.
nay
|
|
|
|
|
You can definitely consume a web service without IIS, as to providing a web service I beleive they provide xml/soap messages via http, that is why they are so popular, distributed over a common protocol like http. So you are probably going to need a http server, it doesn't necessarily have to be IIS, I don't think.
Soliant | email
"The whole of science is nothing more than a refinement of everyday thinking." -Albert E.
|
|
|
|
|
Can you use MC++ as your code-behind for ASP.NET page ?
Soliant | email
"The whole of science is nothing more than a refinement of everyday thinking." -Albert E.
|
|
|
|
|
Not yet
cheers,
Chris Maunder
|
|
|
|
|
Microsoft wrote:
ASP.NET pages and ASP.NET XML Web Services files contain server-side logic (as opposed to client side logic) written in Visual Basic .NET, C# .NET, or any .NET compatible language. Source [http://msdn.microsoft.com/net/aspnet]
The above would make one beleive MC++ could be used for ASP.NET, the statement may be true, but I guess MS is assuming you will write the plumbing coding for the ASP_RUNTIME to recognize and compile MC++, not sure why they make this statement
Thanks.
Soliant | email
"The whole of science is nothing more than a refinement of everyday thinking." -Albert E.
|
|
|
|
|
Web services can definitely be written using MC++, but MC++ does is not supported by ASP.NET.
cheers,
Chris Maunder
|
|
|
|
|
Chris Maunder wrote:
but MC++ does is not supported by ASP.NET.
Chris,
I agree with this statement, ASP.NET does not support a Managed C++ parser, but you can program ASP.NET pages with Managed C++, please see my article
http://www.codeproject.com/useritems/HelloWorldMC.asp[^]
Thanks for your comments.
Soliant | email
"The whole of science is nothing more than a refinement of everyday thinking." -Albert E.
|
|
|
|
|
I've asked Nick Hodapp, Microsoft's C++ Product Manager to write a note regarding issues involved with using Managed C++ in ASP.NET. It *seems* like it works but there are some "gotcha's" that mean it's not advisable.
cheers,
Chris Maunder
|
|
|
|
|
Hi I tried this,
am getting an error during compling it. I get the standard "not recognised command" error. Any ideas why?
Regards,
Vinayak
|
|
|
|
|
is there an easy way to add mp3 playback, like a looping mp3 that plays throughout the life of the application
|
|
|
|
|
Yes, there is.
You can use DirectShow.
For more information see DirectShow MediaPlayer in C# by Daniel Strigl.
43 68 65 65 72 73 2c
4d 69 63 68 61 65 6c
|
|
|
|
|
I am having a few problems with the following code:
int main(){
double a, b, c, d;
cout << "Enter the first complex number:";
cin >> a >> b;
cout << "Enter the second complex number: ";
cin >> c >> d;
cout << "(" << a << "+" << b <<"i)" << " + (" << c << d << "i) = ";
cout << Sum(a,b,c,d)<< endl;
return 0;
}
double Sum(double& a, double& b, double& c, double& d){
double i;
double sum1, sum2;
sum1 = (a + c);
sum2 = i*(b + d);
return (sum1 + sum2);
}
When go to print the function to the screen will not display (7-i) but instead prints the value 7. How do I get around this problem?
|
|
|
|
|
Because u didn't identify i the output has some errs.Do not identify i by using double,identify it like characters.And finnaly add it to answer.
cout<<(a+c)+(b+d)<<".i"; like this .ok??
However if u want to make some other calculations on complex number theory , you have to identify the special properties of i.
|
|
|
|
|
can any body tell how to catch kebord and moue event on any child window ?
if i didnt know the buttions,and any other relevent components on window then who to get their hwnd and type?
r00d0034@yahoo.com
|
|
|
|
|
|
if i creat an application of mfc dll and i want to use its classes in c# how will i use it?
plz tell complete steps
may i have to use /clr option in mfc dll application if yes why?
may i haye to write mfc code in between namespace braces
namespace mfcdll
{
}
am i right?
r00d0034@yahoo.com
|
|
|
|
|
|
Hi Nish,
I am new to programming and have never
heard of a __gc wrapper?
Could you tell how I can find out more about
__gc wrappers?
Thanks
|
|
|
|
|
|
can u tell me how to wrep csocket class ?
plz nish
r00d0034@yahoo.com
|
|
|
|
|
You don't need to wrap CSocket. Here is how you can use CSocket in an MC++ application using IJW
AfxSocketInit();
CSocket s;
s.Create();
String* cmd = "GET /\r\n\r\n";
String* url = "www.google.com";
if(s.Connect((CString)url,80))
{
s.Send((CString)cmd,cmd->Length);
char buf[127];
while(int n = s.Receive(buf,128))
{
buf[n]=0;
System::Console::WriteLine(buf);
}
}
s.Close();
Nish
Author of the romantic comedy
Summer Love and Some more Cricket [New Win]
Review by Shog9
Click here for review[NW]
|
|
|
|