Hello laura, You can call functions in dlls from c#, it's a bit of a mess at times, but it does work. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On May 20, 2010, at 6:39 PM, qubit wrote: > 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 ** 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