Call C++ native dll from C# code -


i wrote total native c++ code dll , want call method thru c# code using p/invoke. need change in properties of native dll ?

p/invoking requires stdcall convention. if functions declarations preceeded __stdcall. otherwise stack gets corrupted.

also @ pinvokestackimbalance c# call unmanaged c++ function


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -