Is there a way to call a C function without having to screw around with the
linker on the command line?  In C#, for example, this is all you have to do:

        [DllImport( @"..\Debug\CLibTest.dll" )]    //location
        internal static extern int MyTestResult(); //name of function

        void CSUsingCLib()
        {
            int result = MyTestResult(); //use it
        }

Reply via email to