From: Shakeel S. <sha...@gm...> - 2008-03-17 02:48:48
|
Hello, I need to call the following C++ method from java who takes LPCSTR and CString as arguments which is defined as follows. void GetXXX (LPCSTR arg1, LPCSTR arg2 ,LPCSTR arg3, CString& arg4) When I run the .i file, SWIG is generating SWIGTYPE_p_LPCSTR and SWIGTYPE_p_CString thinking that they are unknown data types. Does SWIG's java module supports the CString and LPCSTR by default? I see Cstring.i in Lib folder with no implementation. If no default support, Is there any other alternative to handle these data types from java? Please send me sample code if any one has examples on these. Thanks in advance Shakeel |