[program-l] C flavors: peaceful coexistence???

  • From: "qubit" <lauraeaves@xxxxxxxxx>
  • To: "bprogramming" <programmingblind@xxxxxxxxxxxxx>, <program-l@xxxxxxxxxxxxx>
  • Date: Thu, 20 May 2010 19:39:27 -0500

Before I invest too much time in trial and error, I want to ask those who 
have experience with .NET programming whether it is possible for a C# 
program to call functions in a DLL written in C and compiled with MSYS. The 
answer is probably no, but I have to ask.  If the answer is yes, my job will 
be easy.  If no, I need to know what, if any, changes need to be done to the 
source code for the library to make it compatible, and whether I need to 
compile it using VS (horrors, as VS's C++ compiler is not intended for use 
on C).
Or are there libraries that I can link to the C code in MSYS to make it 
compatible as a DLL?

Given that there are many DLL's that are used by many programs, I am 
thinking I probably don't have much to worry about.  Am I right? Is Windows 
actually more user friendly to program than people make it out to be?

Thanks much in advance for any comments.
--le


** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: