Page 1 of 1

[My Menaron CDLL] Where is the Build DLL Tool?

Posted: Tue Jul 17, 2018 9:05 am
by JamieVanCadsand
Hey Library Programmers...

Now i get write my first simple CDLL, called for per-integer units in there 1D, 2D, 3D and 4D Fields.
So this is my script, called in PB5.6.2, on windows XP:

Code: Select all

;***************************************************************************************************************************************
;* Menaron 0.00.001 *************************************************************************************************
;***************************************************************************************************************************************




;***************************************************************************************************************************************
;* Call Axises *************************************************************************************************************************
Global X.i = 0 ;First Dimension - Width
Global Y.i = 0 ;Second Dimension - Height
Global Z.i = 0 ;Thirth Dimension - Depth
Global T.i = 0 ;Fourth Dimension - Time



;***************************************************************************************************************************************
;* Call Functions **********************************************************************************************************************

;* Field1D *****************************************************************************************************************************
ProcedureCDLL mField1D(X)
  Return X
EndProcedure

;* Field2D *****************************************************************************************************************************
ProcedureCDLL mField2D(X, Y)
  Return X * Y
EndProcedure

;* Field3D *****************************************************************************************************************************
ProcedureCDLL mField3D(X, Y, Z)
  Return X * Y * Z
EndProcedure

;* Field4D *****************************************************************************************************************************
ProcedureCDLL mField4D(X, Y, Z, T)
  Return X * Y * Z * T
EndProcedure

;***************************************************************************************************************************************
;***************************************************************************************************************************************
;***************************************************************************************************************************************
So my question is just how i can export them as an dynamic link library, called in the PB5.6.2 Editor... i get search
the just tool, but i never found them...

So can anyone post pictures here, called the steps how i must be export my code as an CDLL?...,
Thanks for help, Jamie.

Re: [My Menaron CDLL] Where is the Build DLL Tool?

Posted: Tue Jul 17, 2018 9:21 am
by Trond
Compiler options -> executable format -> dll.

Re: [My Menaron CDLL] Where is the Build DLL Tool?

Posted: Tue Jul 17, 2018 10:39 am
by Fred