|
Well, in general terms mapping memory pages means that you assign them memory. This is usually done by the operating system, since different processes have independent address spaces wich reside in the same physical memory. So memory of two different processes can be mapped to the same physical memory (of course that requires some complex administration eg. swapping pages etc.). So if you allocate memory it means, that your process declares to the OS that it wants some memory. Some free memory within your process adress space is then mapped to some free physical memory by the OS. The OS guarantees that you can use that memory as if you owned it exclusively, wich is not necessarily the case. Now you can map that memory again to some Address Windowing Extension, wich means you tell the extension "here's some memory you can use", but you are still the owner of that memory.
Long story short - allocate means to tell the OS you need memory - mapping means to map (e.g. virtual addresses of your process's address space) adresses to other (e.g. physical addresses of your machine) addresses. I have no clue whatsoever on AWE, but i think the idea should be the same. This may not be what you wanted, and it may not be complete, but i think it describes the idea.
Hope that helps a little.
|
|
|
|
|
Thank you Mr.Brainley.
Thanks for help...
Good works...
|
|
|
|
|
Hi
I want my application in VC++ should display unicode characters in menu,messages and captions so for this i want to make setting for unicode during OS installations.
abbmmm
|
|
|
|
|
M. Atul wrote: so for this i want to make setting for unicode during OS installations.
During OS installation ??
I really don't understand what you are trying to do, but if you want to enable Unicode support in your application, there a preprocessor flag you can define in the project settings (sorry, I'm not an expert at all in unicode but other people might be of help here).
So, can you describe your problem more in detail ?
|
|
|
|
|
I want my VC++ application Unicode enable. i.e. I want to diplay menu ,messages,captions in Indian languages.For this someone send me reply from code project that first i want to install OS which is unicode enable so for this i want to make setting during OS installation.So please guide me Mr.Cedric Moonen.send ur yahoo email id.
Thanks and Regards
M.Atul
Atul
|
|
|
|
|
Atul, Have you checked article, posted in reply to you last post.
Dont be so impatient.
|
|
|
|
|
Click here[^] and read the article. It explains what you need to do. Don't create threads every now and then asking the same stupid stuff
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Posted same link to his last post here[^].
|
|
|
|
|
Yep. I also mentioned him to read the article pointed by you in my last post. Seriously this guy makes me angry.
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Hi,
LOL, you should get some work in helpdesk. That would teach you how to not be angry to anyone, ever, lol. It is always better to not respond than being rude. No question should ever be answered like this.
Regards
PS> I agree that for some people, reading forum stickies, about "how to get reply", forum rules, netiquette, etc... should be mandatory "at browser startup".
|
|
|
|
|
Ohhh Mr. Brahama ur very Hopeless guy, leave IT industry, Ur not suitable person to work in IT.If ur not able to understand problem then not to try any suggestion.
aaaa
|
|
|
|
|
I would like to know how to disable the USB device by programming?
Please help!
|
|
|
|
|
|
In fact that I would like to disble only USB jobstick to prevent student to play game with it! Please give me some hints!
|
|
|
|
|
Can we change the Volume Name Programatically?
For example we have NEW VOLUME( F: ) I want change this as KIRAN( F: ) Programatically?
Is it possible ,if then how we change?
|
|
|
|
|
I think you can try this:
SetVolumeLabel(_T("F:\\"), _T("KIRAN"));
I hope this works.
|
|
|
|
|
Can anybody tell me why some VC 6.0 pgms are failing in windows vista?
|
|
|
|
|
What type of failure you are talking about? There are changes/restriction in registry related API's.
There are few other changes. If you take care of this while porting, there should not be any problem.
|
|
|
|
|
Hi All,
I am using InstallShield 12 for a deployment proces.But in that how can we install a newer version of a product over the old version of the same product.The problem is that ,my application having 2 different features.One Installation needs to Install the first feature and other needs to install the second one.But in this situation the previous one exists there in Desktop(shortcut)as well as files too when the installing the second one.
Can any one plz help me to overcome this situation.
Thanks In advance
Jeeva
|
|
|
|
|
Hello Guys,
I have a controller device (RTOS). I connect to it using "telnet".
c:\>telnet ipaddress
When i connect to device through telnet, it will show the menu for configuration of device. For example:
Press 1 to view configuration.
Press 2 to change configuration.
...........
Now I want capture the same and display it on my form.
And also I want to provide buttons for "View Configuration" and
"Change Configuration".
ITS LIKE PROVIDING GUI FOR COMMAND PROMPT.
How can i do it in VC++? Please Help Me.
|
|
|
|
|
It is better to use Windows Pipeline ( for stdioIn and stdioOut ) with the tellnet application. You can read the output ( or write to the input ) of console application to ( or from ) a win32 application through pipelining the stdio file of the console application.
|
|
|
|
|
Thank you so much for the solution.
Will you please give some more information related to Pipeline?
(Like, Which Class in Win32? What is stdio file?)
|
|
|
|
|
As per my knowledge there are no class in MFC for handling pipelineing you have to use windows API like CreatePipe. CreateProcess etc. For extra reference over them please look at allapi.net and search in http://msdn.microsoft.com/library/default.asp
|
|
|
|
|
|
I am trying to sand mail using my smtp server to yahoo or gmail its giving these errors.
554 error :smtp server not ready for data
554 error :Relay denied
i suppose my server requires authentication...
can anybody plss tell me how to do so
or can give me any sample code to do so
thans in advance
|
|
|
|