Base Address 0x00400000 Visual studio 2008

i want to use 0x00400000 this base address , in visual studio 2008 what i need to write for this base address ?? I am writing  &H00400000 but when i am checking base address looking like 00cf0000. ? &H?????????.
GknrsyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
if you try to load more than 1 DLL at this address, 1 will be moved. Do you have something else at this address?
0
GknrsyAuthor Commented:
i just want to load 1 dll not more than 1 dll.
0
dericstoneCommented:
How are you trying to set the base address? What language? It looks like you can use the project settings, compiler command-line options or specify in code. If using the project settings in C#, write the address as 0x00400000.
0
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

GknrsyAuthor Commented:
i am trying in vb2008 , where project properties > compile > advanced compile options > dll base address

but here i cannot write 0x00400000 because they accept just like &H00400000 , when i write this base address , when i start the file  base address look like 00cf0000

That's my problem :)
0
dericstoneCommented:
Sounds like you are specifying it correctly, but remember that this is only a "preferred" address, and only gives a hint as to where to load. If the address you enter is unavailable for any reason, the system will load it somewhere else. My guess is that Windows is already using the address that you want to use.

You can try to debug this by, for example, set the address to 0x00cf0000 and see if stays there. Then move to 00d00000 and see if it moves there. Keep moving around until you find where the limit is.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Éric MoreauSenior .Net ConsultantCommented:
>>i just want to load 1 dll not more than 1 dll.

There maybe another DLL that is already loaded at that address that prevent you to load there.
0
GknrsyAuthor Commented:
ok i see :) before this dll working another dll with same base address :) thank you very much :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.