|
hey dude...
gotta ask u aquestion...wat if a super user in UNIX operating sys has changed the rights of all users...??? is there ne way to change those rights to 777 so that every1 can access the files....plz do reply
manan
|
|
|
|
|
HI All,
What is the best way to load a dll explicitly? Which all header files and libraries need to be included for that. Actually i am not using gcc. We are using a compiler built internally by our company.
It does not support dllexport and dllimport attributes.
So, i want to link to the dll explicitly using OS calls. So, i want to know for windows/linux which all header files need to be included and which all libraries will be required so that i can include them in my code and see if all build well.
I know the standar procedure is to use LoadLibrary functions. But i have no idea in which files their definitions are present?
Can anybody please provide me the information regarding this?
One mroe question:
Lets say, i have int * i = (int *)0x90000; in my application. Then i write some value to this and then load a dll. In the dll i have another variable pointing to same address 0x90000 . But when i try to read the value in dll i get a different value from the one i set in the application. This is because these addresses are virtual addresses. Can anybody please let me know how this can be done so that both can access same memory.
This issue is very critical. Please help me out.
Regards,
Sapan
|
|
|
|
|
Dear All,
How can I solve this problem.
I am having Mandrake 9.1 ,Apache2 web server.
I am getting my .php file through browser but when accessing .js file through this .php file it is giving
HTTP/1.1 304 but .js is already present in correct location.
Please any help.
rpkumar
|
|
|
|
|
The HTTP status code 304 does not indicate an error. Instead, it means that the requested file has not changed since the last time the user agent requested it. This provides a certain amount of efficiency in HTTP-based communications by reducing the amount of bandwidth needed to realize a URL.
If you change one of the JavaScript files, then the next user agent request will result in a 200. Then, on the next request, your user agent should get a 304, again.
|
|
|
|
|
hi, i have a problem with my keyboard laptop. my laptop series dell c600 latitute. and i install two windows to run in order to learn too (windows xp home and xp professional). The problem occure when i try to start my computer in windows xp pro and when i need to type the user name and password, but the character display incorrectly. Key keyboard is QWERTY keyboard lay out but when i press the key on the left hand (ASDFG QWERT ZXCVB) it display correctly. But when i press on the key for right hand its display in correctly such as: when i pres:
- "m" character its display number "0".
- "n" character its display number "1".
... and so on.
I think this might be a problem with my keyboard but when i try to start in windows xp home edition. Every key is typing correctly. it is very surprise for me because i expect that the problem might occure the same as windows xp pro.
So now I do not know what the problem come from. I didn't change any configuration in windows control panel or REGEDIT. But now i can't identify why this problem come from. Could anyone give me any idea or solution to solve this issue?
|
|
|
|
|
|
No I didn't, and i also suspect about this point too. Because this machine is used to download many trail software which leave it online every night. But my windows anti-spyware are schedule to run at 2am in the morning. And every morning when i get up i found it already scan my computer and no spyware or viruses were found on my computer. But i will try to find another way to update its definition engine and try to scan again.
Thank you for your question.
|
|
|
|
|
|
My computer is a laptop. It do not have a numeric pad. So the number key is locate below the function key. According to your comment, what should i do to solve the problem?
|
|
|
|
|
|
Thank you very much for your comment. But my computer do not have a numeric keypad. Do you have any other solution to solve the problem?
|
|
|
|
|
Thank you very much Michael, I have check my laptop and found that the number lock is turn on. Because my laptop has only the number key near the function key (F1,F2...) so I didn't check that it has design another number area on the key MJKLIOP...
Now it is working again like before. Thank you very much for your help.
|
|
|
|
|
our company does not allows us to access any of our mail sites...
not even google...is there a work around.
there is a site www.meebo.com by which you can access messenger...
but is there a workaround for mail sites....
it would be of great help.
ciao,
LG
|
|
|
|
|
|
Your company did this for a reason. So, if you want to get fired, go right ahead and circumvent the block on those sites!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I just received a project notification from a ligitimate sight that matches programmers to projects. These two projects just set off all my RED flags.
Project 1:
1) A small application that is automatically downloaded to a person's desktop.
2) Records key strokes, mouse position, and URLs in IE.
3) Sends packages back to our server in text format with timestamps.
4) Security needs to be addressed if installs will prompt security notices.
5) Uninstall automatically after set time.
Project 1:
1) Read POP3 servers.
2) Modify subject header and add content to body of e-mails.
3) Post modified e-mails to localhost (Win98/ME/XP).
I can think of no ligitimate reasons why someone would need these programs. The first one sounds like a Trojan Hourse to me, and the second one sounds like a program for spamming or lunching a DOS attack.
Am I wrong?
Is there any ligitimate/legal reason for using either of these programs?
INTP
Every thing is relative...
|
|
|
|
|
I think your instincts are right.
I wouldn’t get involved with either project.
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
Ya! I just hope the service takes my note, about them, seriously.
INTP
Every thing is relative...
|
|
|
|
|
The first project reeks of spyware. "Oh yeah! We need it to circumvent all browser security!" Yeah, right... $10 Million US cash, up front, in small non-consecutive bills, ...
The second one just injects spam and adware into every email the person sends. Again, yeah, this is "useful" to all the "right" people.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Precisely why I sent the service a message!
I wonder if they have some one to read these job offers, before they are offered to us (dought it). I might not mind the job for a short while, or may be I could take the time to write a program that throws up flags based on content.
Oh, wait a minute, that's the goverments job.
It would be interesting to see a Trojan tracked back to a sight used to hire someone to write one.
INTP
"Cheeeese!" - Wallace and Gromet
|
|
|
|
|
The first project requirement 4 "Security needs to be addressed if installs will prompt security notices." made me laugh.
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
I thought it was pretty funny myself!
I tmade me think of who could possibly post a request like that. Some 15 year old punk maybe?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
as I thoutht:
an application can have many processes and then each process can have many threads. is it right??????
but, one process can only one main-thread , what about process of application???
the books i am reading syas:
"The physical separation of this memory and resources is called a process. Of course, the application may launch more than one process. It's important to note that the words "application" and "process" are not synonymous. "
thank you very much!!!
|
|
|
|
|
"Application" is another word for "program" or "executable", so one software product may contain several executable files. For example, MS Office contains winword.exe, excel.exe, etc. "Application" is a human concept, all that the OS knows is executables.
When you run an executable, the OS creates a process for it to run in, and creates one thread in that process that actually runs the code.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
Process boundaries isolate multiple applications running concurrently on the same machine. Memory is allocated to a process and is protected from other processes accessing it directly. You can’t pass a pointer to memory to another process. One process does not access another processes address space directly. There is always some indirection between processes, either a proxy or a memory mapped file.
Threads operate within a process and all threads can access common memory within the process that created them. Variables [or objects]that are global in scope can be accessed by any thread within the process. As with functions threads can also have local variables [or objects]that are unique to the individual thread which cannot be accessed by any other thread.
When you launch a process [execute a program] the OS assigns a unique process identifier to the process [PID] and launches the processes main thread. In this main thread you can launch many subordinate threads that run more or less simultaneously. It gets a little complicated with multiple CPUs so let’s just stick to one for illustration.
When you launch a thread you assign a dispatch priority [or take the default] which determines when (relative to other threads) a thread gets CPU cycles. The thread competes with every other thread on the machine for CPU resources in prioritized queues. Dispatching can get a little tricky so that no thread gets starved but to keep it simple, and in general, higher priority threads get resources [CPU cycles]before lower priority threads.
Take a look at the Windows Task Manager [ctl-alt-del] and in the "view - select columns" menu check PID, CPU, CPU Time and Thread Count. This will show all the process currently running on the machine. Double click the CPU column header to sort by CPU percentage and you will see the processes swapping in and out and the percentage of CPU cycles they are using.
Hope this helps.
I'm on-line therefore I am.
JimmyRopes
|
|
|
|