TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
tamnt7152004
NA
12
0
How to change parameter in c#.
Dec 30 2003 3:05 AM
Hi everone. I have a Dll which is code by C++. And have function pointer after. with : void GetFileList(char[] lpsz, FileInfo[] fileInfo, long* count); with: FileInfo is struct{ char szname[256]; char pathname[256]; }FileInfo; I use DllImport in C# to import This dll : My code: " [DllImport( "MyDll")] unsafe public static extern void GetFileList(string lpsz, FileInfo [] fileInfo, long* count); with define FileInfo in C# is struct: public struct{ string szname; string pathname; } I call GetFileList("e:\\dll.zip", fileInfo, &count) ; But I can not receive fileInfo. fileInfo.szname = null; with count is True. please tell me as soon as possible . how to receive fileInfo. thank you.
Reply
Answers (
2
)
serial port comunication
How can i read a pdf using .Net