PDA

View Full Version : What are the exact PInvoke signature of FPDFBookmark_GetTitle


hashimsaleem
November 8th, 2007, 08:46 AM
Hi,

I am using the following signatures for FPDFBookmark_GetTitle()

// FPDFBookmark_GetTitle: Get title of a bookmark
[DllImport("fpdfview.dll", SetLastError = true)]
public static extern ulong FPDFBookmark_GetTitle(IntPtr bookmark, IntPtr buffer, ulong buflen);

But i m getting PInvokeStackImbalance mda activated.

Can someone point out what I am doing wrong?

I am programming in Visual Studio 2005 and the language is C#.

Regards,
Hashim Saleem