It is currently Sat Jan 23, 2021 9:21 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [My Menaron CDLL] Where is the Build DLL Tool?
PostPosted: Tue Jul 17, 2018 9:05 am 
Offline
User
User
User avatar

Joined: Sun Jun 24, 2018 12:28 pm
Posts: 34
Location: Holland
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:
;***************************************************************************************************************************************
;* 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.


Last edited by JamieVanCadsand on Tue Jul 17, 2018 9:29 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [My Menaron CDLL] Where is the Build DLL Tool?
PostPosted: Tue Jul 17, 2018 9:21 am 
Offline
Always Here
Always Here

Joined: Mon Sep 22, 2003 6:45 pm
Posts: 7446
Location: Norway
Compiler options -> executable format -> dll.


Top
 Profile  
Reply with quote  
 Post subject: Re: [My Menaron CDLL] Where is the Build DLL Tool?
PostPosted: Tue Jul 17, 2018 10:39 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14181
Location: France
You can also read the doc:

https://www.purebasic.com/documentation/ -> Build a DLL
https://www.purebasic.com/documentation ... e/dll.html


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye