calling a DLL

A

Amirallia

Hello,

I develop with VS.net 2005 and would like to call a DLL in my c#
project. I created this DLL with a development tool (CLARION).

I declare my dll :

[DllImport("faq.dll")]
extern public static string ps_GetAlpha_Tri(int x);


When I call the ps_GetAlpha_Tri function I've got the message : Entry
Point not Found

Have you any idea? Do I compile my DLL in another way?

Thanks in advance
 
I

Ignacio Machin ( .NET/ C# MVP )

Hello,

I develop with VS.net 2005 and would like to call a DLL in my c#
project. I created this DLL with a development tool (CLARION).

I declare my dll :

[DllImport("faq.dll")]
extern public static string ps_GetAlpha_Tri(int x);

When I call the ps_GetAlpha_Tri function I've got the message : Entry
Point not Found

Have you any idea? Do I compile my DLL in another way?

Thanks in advance

You use P/invoke to call a win32 native dll, I bet your dll is a COM,
if this is the case try by Adding a reference, there is a TAB for COM
and do a browse
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top