Interviewer And Interviewee Guide

Dot Net Remoting Interview Question:

How to directly call a native function exported from a DLL?

Submitted by: Administrator
Yes we can call a native function exported from a Dll in
the following way,
I used C#.Net for Coding.

Add a Namespace that "System.Runtime.InteropServices"

Then use the following code,

Syntax:
[DllImport("dllname")]
here place the function in "dllname" Dll.
Submitted by: Administrator

Read Online Dot Net Remoting Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.