an article about how to run an exe file in protected-mode

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
david
Member
Member
Posts: 93
Joined: Tue Aug 21, 2007 4:22 am
Location: Beijing.China
Contact:

an article about how to run an exe file in protected-mode

Post by david »

I wrote an article about how to run an exe file in protected-mode, the exe file developped by MASM and VC, if you are interesting in this, please read it here. I also want to know how to run the exe file which includes LIB, DLL etc. Please tell me if you have this information. Thank you! :D
Just For Fun
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: an article about how to run an exe file in protected-mode

Post by neon »

david wrote:I also want to know how to run the exe file which includes LIB, DLL etc. Please tell me if you have this information.
LIB files would be part of the program binary, so loading the program binary will in turn load the libs.

DLLs require a little setup, but isnt to hard. Ill describe it a little later after work if you want.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Post Reply