I often use j6 just so I can run its labs.

The .cpp suffix indicates a c++ file - so you would use a c++ compiler to
build that "dll".

Note that at one point in history, .cpp would probably have indicated a "c
pre processor" file. Then again, early versions of what became c++ were
apparently written in cpp's macro language.

Note also that "dll" implies windows. I think OsX uses ".dynlib" or
something like that. Linux and *BSD mostly use ".so" (shared object).

Anyways, you need a compiler to build a library file  (or you need a lot of
study to build one by hand - a good preliminary step in building a
compiler). And as we currently don't have any J compilers that can build
libraries (f. and 13 : could be thought of as J compilers, but they aren't
the right kind), ...

Enough said?

Thanks,

-- 
Raul
On Jul 9, 2014 4:55 AM, "Jon Hough" <[email protected]> wrote:

> In J7/8 is it possible to build and use DLL files and call them from other
> programs (e.g. .NET programs etc)?
> I tried doing one of the DLL Labs in J7.01, and got blocked when the Lab
> tried to load a non-existent file:
>
>
> open '~system\examples\dllwrite\dlltest.cpp'
>
> Presumably this is left over from J6, and is not included in later
> versions? Regardless, the cpp file does not exist.
>
> Also, I tried looking through the JWiki guide for using DLLs, which also
> seems to be only usable in J6?
>
> In J7/8 how can I :
>
> (a) call dll from J script?
>
> (b) create a DLL file to be called by another program?
>
>
> Regards,
> Jon
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to