Thanks a lot. Problem solved. I attached the segment before forking. When i was later printing the memory address, it was giving different values. So didnt knw what to do :D. But now works fine.
...
Type: Posts; User: doom
Thanks a lot. Problem solved. I attached the segment before forking. When i was later printing the memory address, it was giving different values. So didnt knw what to do :D. But now works fine.
...
shm++;
printf("Client Attach\n");
i=*shm; //Error in this line
printf("Read");
printf("%d",i);
If i remove this...
This is a little urgent. I have to do use shared memory segments. I wrote this programme. I have tried everything, as you can see (void *, int * printing and so on), but havent been able to debug the...
The above is a link to page to download the project. Instead of letting us download the entire project, why dont you tell us your exact problem? Cant you execute dbase queries in your page or you...
I dont know what is a memory mapped file. Can you give me a link to a tutorial or some place where they can provide info on this topic/books recommended etc.
Its not about discouraging or encouraging. The plain truth with .net and java is that they make life easier for programmers, allowing us to program really complex problems or even day to day problems...
None of us disagree from the fact that C++ is more powerful and faster than C#, but C# has its own advantages. Firstly .NET frameworks central idea is inter operatability. I have a team where some...
Apart from the things mentioned above, the code seems ok.
when 12 15 2 16 2 4 is input.
At the third position (i=2, for 0 to <n) id_min becomes =2.
Now when we encounter the second time, we...
Safe State is to the best of my knowledge is related to Oprating system. A OS is said to be in a safe state if no resources that are demanded by the process locked. By locked we mean that the OS can...
I want to catch all exceptions that have not been caught.
Though i have used try block in my code, but still some uncaught exception might be thrown.
I was trying this
AppDomain d;
Suppose you have a character variable c.
then a char * is a variable that points to this variable i.e. store its address.
For eg we have
char c;
char *pc;
pc = &c;
this implies pc contains...
How can i share some memory space among two programmes (or processes)?
I have two executable running on the same machine and i want to share a particular variable (like different threads share...
This seems to be for Windows forms. ASP.net are webforms and i dont know if they support such a thing.
Why not put them in the session or cache?
Anyways the proper way to do this is to create a reference.
In the old page add
<%@Page ClassName="SenderPage" %>
Is it a web app in ASP.net? What error does it give?
Ya rite. So basically i need to write some code, that would ape a driver? I saw the samples with DDK, but couldnt understand much.
I agree with you. Whats even shocking is that its a networking class. Most of my friends are making a simple program for implementing a client server thing, but due to special enimity towards me, he...
No i dont need to develop a Driver (Thankfully, from what i have heard from you people). The thing is really weird and vague. If some one had asked me a similar question i would have echoed the same...
I want to make a sys file. I dont have any objective in particular, just that i need to make a sys file.
One of my techers told me to use Microsoft Driver Development Kit, but i dont know what to...