Hi guys,
Before embark down this path, I wonder if anyone could tell me how one goes about adding dll's to the project. I want to add a dll to help with CSV file reading but do not know where to start. Currently using VC# 2008 Express.
With thanks in advance,
MK
Adding dll's to the project
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Adding dll's to the project
Hello MidKnight,
It depends on the type of the dll you are using.
For C# dll you need to add a reference in PowerLanguage .Net Editor (Right click on the workarea with the code in PowerLanguage .Net Editor->References-> Add reference/Add global reference).
For C++ dll you need to reference the functions that are provided by this dll for ex:
For COM dll please refer to this page.
It depends on the type of the dll you are using.
For C# dll you need to add a reference in PowerLanguage .Net Editor (Right click on the workarea with the code in PowerLanguage .Net Editor->References-> Add reference/Add global reference).
For C++ dll you need to reference the functions that are provided by this dll for ex:
Code: Select all
[DllImport( "mTestMCdll.dll", CharSet = CharSet.Unicode )]
public static extern void CreateGPanelHDCHWND( IntPtr hdc, IntPtr hwnd );