[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [Bug #3387] string[]'s and PInvode
From: |
nobody |
Subject: |
[Pnet-developers] [Bug #3387] string[]'s and PInvode |
Date: |
Tue, 29 Apr 2003 06:50:34 -0400 |
=================== BUG #3387: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3387&group_id=353
Submitted by: None Project: DotGNU Portable.NET
Submitted on: Tue 04/29/2003 at 06:50
Category: None Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None Status: Open
Summary: string[]'s and PInvode
Original Submission: After calling a C method that takes a char**, the result
is garbage (not even a partial conversion.)
For example:
------------------- C Library -----------------------------
extern "C" void c_myFunc(int i, const char* str[])
{
/* This prints garbage */
printf(str);
}
-------------------- C# Class -----------------------------
...
[DllImport("mylib")] static extern void c_myFunc(int i, string[] str);
public void myFunc(int i, string[] str)
{
c_myFunc(i, str);
}
...
No Followups Have Been Posted
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3387&group_id=353
- [Pnet-developers] [Bug #3387] string[]'s and PInvode,
nobody <=