9 messages in net.java.dev.jna.usersRe: [jna-users] pass LPCTSTR type in JNA
FromSent OnAttachments
Dario CardosoJun 30, 2008 8:03 am 
Paul LoyJun 30, 2008 8:10 am 
Paul LoyJun 30, 2008 8:15 am 
Dario CardosoJun 30, 2008 8:17 am.dll
Paul LoyJun 30, 2008 8:21 am 
Dario CardosoJun 30, 2008 8:35 am.zip
Paul LoyJun 30, 2008 8:52 am 
Michael Brewer-DavisJun 30, 2008 9:43 am 
Dario CardosoJun 30, 2008 9:43 am.zip
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] pass LPCTSTR type in JNAActions...
From:Paul Loy (kete@gmail.com)
Date:Jun 30, 2008 8:21:38 am
List:net.java.dev.jna.users

without your java mapping I will not be able to figure out why you are unable to get it to work in JNA.

On Mon, Jun 30, 2008 at 4:17 PM, Dario Cardoso <cbd_@hotmail.com> wrote:

Hi, in attach this cmll11.dll

This function work with JNA

LlSetOption

Syntax: INT LlSetOption(HLLJOB hJob, INT nMode, DWORD nValue);

Task: Sets diverse options in List & Label.

Parameter: hJob: List & Label job handle nMode: mode index, see below nValue: new value

Return Value: Error code

---

This function don't work with JNA

LlSetOptionString

Syntax: INT LlSetOptionString(HLLJOB hJob, INT nMode, LPCTSTR pszValue);

Task: Sets string options in List & Label.

Parameter: hJob: List & Label job handle nMode: mode index, see below pszValue: new value

Return Value: Error code

Why?

Thanks,

Dario

------------------------------ Date: Mon, 30 Jun 2008 16:10:43 +0100 From: kete@gmail.com To: use@jna.dev.java.net Subject: Re: [jna-users] pass LPCTSTR type in JNA

LPCTSTR = const char* or const wchar_t* depending on _UNICODE

So, if you're dealing with unicode you want a WString, otherwise you want a String.

On Mon, Jun 30, 2008 at 4:03 PM, Dario Cardoso <cbd_@hotmail.com> wrote:

hi,

how i pass LPCTSTR type with JNA ???

Dario

------------------------------ Conheça já o Windows Live Spaces, o site de relacionamentos do Messenger! Crie já o seu! <http://www.amigosdomessenger.com.br/>

--

--------------------------------------------- Paul Loy pa@keteracel.com http://www.keteracel.com/paul

------------------------------ Veja mapas e encontre as melhores rotas para fugir do trânsito com o Live Search Maps! Experimente já!<http://www.livemaps.com.br/index.aspx?tr=true>