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
lduanebyron
NA
1
0
Returning an "out ushort" handle
Jul 8 2004 11:07 AM
I AM TRYING TO GET THE HANDLE RETURNED FROM "out ushort FlibHndl" IN CLASS BELOW. [DllImport("FWLIB32.dll", EntryPoint="cnc_allclibhndl3")] public static extern short cnc_allclibhndl3( [In,MarshalAs(UnmanagedType.AsAny)] Object ip, ushort port,int timeout, out ushort FlibHndl); C# DOES NOT LET ME DECLARE "out ushort hCNC" private void GetRBit_Click(object sender, System.EventArgs e) { out ushort hCNC; HOW DO I DECLARE THIS TO ACQUIRE MY FlibHndl??? bool ret; Focas1 FOCAS1 = new Focas1(); ret = FOCAS1.cnc_allclibhndl3( "190.190.11.11", 8193, 10, hCNC ) ; }
Reply
Answers (
0
)
DateTime Objects
Global Variable