About DLL and other programming langage.
Posted: Sun Aug 22, 2004 2:55 pm
Hello.
I know thet it is not allowed to create Wrapper DLL with purebasic for other programming langage.
so, if I understand correctly,
Commands like this one are forbidden :
I understand that it is not allowed but , I'd like to know if a DLL with procedure like this one :
For a DLL to create highscores load/add/save is allowed ?
Even if I use it in another programming langage . Like Dark Basic Professional.
in fact, the objective for me is to put some of my procedure under DLL to protect my source code and make it now available for user because they'll use the DLL commands to call.
So, I need to know if it is allowed or not.
Thanks for your answer.
I know thet it is not allowed to create Wrapper DLL with purebasic for other programming langage.
so, if I understand correctly,
Commands like this one are forbidden :
Code: Select all
ProcedureDLL.f MyCos( Angle.f )
ProcedureReturn Cos(Angle )
EndProcedure
Code: Select all
ProcedureCDLL AddHighScore( Score.l, nomme.l , Level.l )
Position.l = 0
Repeat
Position = Position + 1
Until Score.l > Scores( Position ) Or Position = 33
If Position < 33
If Position < 31
For XLoop = 31 To Position Step - 1
Scores( XLoop ) = Scores( XLoop - 1 )
Names$( XLoop ) = Names$( XLoop - 1 )
Levels( XLoop ) = Levels( XLoop - 1 )
Next XLoop
Else
Scores( 32 ) = Scores( 31 )
Names$( 32 ) = Names$( 31 )
Levels( 32 ) = Levels( 31 )
EndIf
Scores( Position ) = Score
Names$( Position ) = PeekS( nomme )
Levels( Position ) = Level
Else
NULL$ = PeekS( nomme )
EndIf
EndProcedure
Even if I use it in another programming langage . Like Dark Basic Professional.
in fact, the objective for me is to put some of my procedure under DLL to protect my source code and make it now available for user because they'll use the DLL commands to call.
So, I need to know if it is allowed or not.
Thanks for your answer.