Memory allocation help.
-
hi masters, i want to allocate memory (64k) at the desired location (address). i remember that it is possible. can any one give me some idea regarding this? thanks in advance.
before giving you more directions, i'd like to know your goals please. why are you needing to allocate such a huge amount of memory at a given location which windows will probably overwrite or already handles some...?
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
before giving you more directions, i'd like to know your goals please. why are you needing to allocate such a huge amount of memory at a given location which windows will probably overwrite or already handles some...?
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
toxcct wrote:
huge amount of memory
64K? Seriously?
-
before giving you more directions, i'd like to know your goals please. why are you needing to allocate such a huge amount of memory at a given location which windows will probably overwrite or already handles some...?
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
Hi thanks for your response. here is the task please guide me. i want to interact with an ISA device in the system, and to access its registers, it demands to access the memory available at some X location. this we came to understand by studying an obsolete console application written for that device. any ideas? thank you.
-
Hi thanks for your response. here is the task please guide me. i want to interact with an ISA device in the system, and to access its registers, it demands to access the memory available at some X location. this we came to understand by studying an obsolete console application written for that device. any ideas? thank you.
-
On NT4 and higher, you cannot directly access the devices registers. The OS will not permit it. You need to have a driver and your app then interacts with the driver. Judy
-
hi masters, i want to allocate memory (64k) at the desired location (address). i remember that it is possible. can any one give me some idea regarding this? thanks in advance.
-
before giving you more directions, i'd like to know your goals please. why are you needing to allocate such a huge amount of memory at a given location which windows will probably overwrite or already handles some...?
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
toxcct wrote:
why are you needing to allocate such a huge amount of memory
hehe
Mark Salsbery Microsoft MVP - Visual C++ :java: