MARSHALING WITH C# POCKET REFERENCE
© 2010 MOHAMMAD ELSH EIMY
4
ABOUT THE AUTHOR
Mohammad Elsheimy
Mohammad is a MCP, MCTS, and MCPD independent
consultant, trainer, and author. He was born in 1991 in KB,
Egypt.
Besides self-studying computer science, yet, he is a student in
Al-Azhar Holy Quran Institute. There, he studies Islamic
legislation and sciences related to Islam, The Holy Quran, and
the Arabic language.
Mohammad loves community work. He always works on
helping developers and average users all over the world. He is writing in many
places including his own blog, http://JustLikeAMagic.WordPress.com.
You can reach Mohammad at
[email protected]. In addition, you can
reach him directly at +2 018 577 1171.
WHO SHOULD READ THIS BOOK?
This book discusses the marshaling process between managed and unmanaged
code using C#, devoted for developers who know the basics of unmanaged code
(especially Windows API) and platform invocation.
For the sake of simplicity, this book focuses on Windows API as the source for
unmanaged code. However, information in this book can be applied to any of the
unmanaged environments.
In addition, this book assumes a 32-bit version of Windows. All DWORDs,
HANDLEs, etc. are considered 4-bytes. If you want to hand your application to
64-bit machine, consider revising your code to avoid memory layout problems.
For VB.NET developers, it is helpful reading pages in Appendix A.