help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkoctfile problem


From: Michael Goffioul
Subject: Re: mkoctfile problem
Date: Wed, 21 Jan 2009 11:05:43 +0000

On Wed, Jan 21, 2009 at 10:52 AM, Allahyari Rahim <address@hidden> wrote:
> hello,
>
> In my directory  "C:\CPLUSPLUS\MyDLL2\Debug"  subsist all this files
>
>
>
> MyDLL2.obj
>
> MyDLL2.dll
>
> MyDLL2.lib

So basically, you want to mix MSVC and MinGW compiled code. As long
as it's C code and it's not using __stdcall calling convention, this
should be fine.
However, I'm not sure that MinGW can deal directly with import lib files
generated by MSVC. What you can try is

mkoctfile -c TWUsetUserAgent.cc
mkoctfile -o TWUsetUserAgent.oct TWUsetUserAgent.o
C:/CPLUSPLUS/MyDLL2/Debug/MyDLL2.lib

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]