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
david 0
NA
190
0
Fixing variables (unsafe) - HELP!
Oct 21 2003 10:31 PM
I need to call a legacy routine that is in a DLL. All of my calls are working except the one I am about to describe. I am fixing a number of scalar and single dimensional arrays with no problems, but am having a problem with this specific case. Any and all help greatly appreciated. extern int DLLFUNCTION(byte **data); The legacy interface is: byte *pOldBuffers[10]; for (int i=1; i<10;++i) pOldBuffers[i] = new byte[somevalue] DLLFUNCTION(pOldBuffers); where each of the 10 entries points to an array of bytes... The C# code has a byte [][] newBuffers = new byte[10][] for (int i=1;i<10;++i) newBuffers[i] = new byte[somevalue]; fix ("I can not figure out the right syntax!!!!" { DLLFUNCTION(pFixed); }
Reply
Answers (
0
)
DataGrid CheckBox problem
find Particular image area is free