Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
Z

Ziad Elmalki

@Ziad Elmalki
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Visual Basic needs more credit
    Z Ziad Elmalki

    This is hilarious. This guy is straight out of dailywtf.

    The Lounge

  • Article Missing
    Z Ziad Elmalki

    Hi Chris, Sorry for posting in two message forums. I didn't know which one is the right place. I was getting a 301 to a 404 page. http://www.codeproject.com/script/common/404.aspx?aspxerrorpath=/kb/dotnet/clrmethodinjection.aspx I cleared my cache and it seems to be working now. Thanks Ziad

    Site Bugs / Suggestions csharp dotnet com question

  • Article Missing
    Z Ziad Elmalki

    My article used to be here for over two years but now it is gone. Was it deleted by accident or was there a reason? CLR Injection: Runtime Method Replacer[^] Thanks Ziad

    Site Bugs / Suggestions csharp dotnet com question

  • Why was my article deleted?
    Z Ziad Elmalki

    My article used to be here for over two years but now it is gone. Was it deleted by accident or was there a reason? http://www.codeproject.com/script/common/404.aspx?aspxerrorpath=/kb/dotnet/clrmethodinjection.aspx[] Thanks Ziad

    Article Writing csharp com tools question

  • Using C++ class in C#
    Z Ziad Elmalki

    Runtime Call Wrapepers are for COM. This is just a normal C++ class exposed in the export table. In C++ calling methods on a class use a calling convention called ThisCall. With ThisCall the "this" pointer gets passed into the method via the ECX register and everything else is the same as STD call. .Net supports this. You can specify this calling convention in the DllImport attribute. How the constructor and destructor get called is something else. When you specify ThisCall in the DllImport attribute the first parameter of the method must be a pointer to "This". The names are going to be mangled in the export table. Use a program like dependency walker to see what they are. Here is a good post I found on this site. How to Marshal a C++ Class[^]

    modified on Friday, October 1, 2010 2:38 PM

    C# csharp c++ help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups