This is a migrated thread and some comments may be shown as answers.

Incomplete decompile on [DllImport...]

1 Answer 11 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Severin
Top achievements
Rank 1
Severin asked on 20 Mar 2013, 10:59 AM
Hi,
decompiling a Dll with many [DllImport(... )] generated incomplete code, EntryPoint parameter is missing.

Example :
JustDecompile generated:
  
[DllImport("mclmcrrt8_0.dll", CharSet=CharSet.None)]
[SuppressUnmanagedCodeSecurity]
private static extern void mxDestroyArray([In] IntPtr pMXArray);

Correct Decompile:
[SuppressUnmanagedCodeSecurity]
[DllImport("mclmcrrt8_0.dll", EntryPoint = "mxDestroyArray_proxy")]
private static extern void mxDestroyArray([In] IntPtr pMXArray);

Brgds

1 Answer, 1 is accepted

Sort by
0
Momchil
Telerik team
answered on 20 Mar 2013, 01:51 PM
Hello,

Thanks for pointing us this problem.  It's completely reproducible at our side. We have logged it and we will be working on it in one of our future releases.  Please stay tuned for updates.

Thanks again!

Greetings,
Momchil
the Telerik team
Tell us what you think about JustDecompile. Your opinion matters! You can use our forum, or our JustDecompile UserVoice website for feature requests.
Tags
General Discussions
Asked by
Severin
Top achievements
Rank 1
Answers by
Momchil
Telerik team
Share this question
or