Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8173097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:00:49+00:00 2026-06-06T22:00:49+00:00

I have a C# .dll that interfaces with the API of a large external

  • 0

I have a C# .dll that interfaces with the API of a large external progam.

That program expects an entry point function in the dll with the form:

extern void entrypoint(
char * a,
int * b,
int c);

It doesn’t find this and complains.

The original/default entry point for my dll is just:

public static void Main(string[] args)

I’ve tried creating a function like

public static void entrypoint(char a, int b, int c)

But it’s obviously not that simple. I’ve seen a bunch of stuff about how to do this in C++ with __declspec(dllexport), and I’ve seen a few complex/hacky solutions for C#, but it seems like there ought to be a straightforward way to do it. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:00:51+00:00Added an answer on June 6, 2026 at 10:00 pm

    If your external system is COM based, there are ways to do this, as .NET is a COM object under the covers.

    Erick

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C++ dll which implements several COM interfaces, that I'm trying to
I have a dll that exports extern C __declspec(dllexport) int __stdcall Foo( void );
I have a c# .net 2.0 CF application that interfaces with a native DLL
I have a third-party (Win32) DLL, written in C, that exposes the following interface:
I have a DLL that contains all my object I need to build my
I have a DLL that is written in C++ and I want to suppress
I have a DLL that I can use to pull the following information about
I have a DLL that's compiled, and I don't have the source code for
I have a .DLL that i include in my Visual Studio 2008 project. The
I have a dll that comes in both 32bit and 64bit version. My .NET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.