PDA

View Full Version : Custom DLL - How to get started



NewsArchive
03-16-2013, 08:02 AM
Hi All!

I needc to extract a field from a TPS based licens file for naming of
my setup.
I had a very bad experience of delevering a setup
to a wrong custumer....

Weel, that should be easy:

Create a dll, which has the file structrure of the licens file as data
and something like (CLARION 6.3):
DATA
[file structure licenfile]
returnvalue STRING(100)
CODE
Open licensfile
set licensfile
next licensfile
returnvalue = lic.name

With a prototype of ()STRING

But how to get the returnvalue into the setupboiloder at compile time?

best regards

Edvard Korsbęk

NewsArchive
03-16-2013, 08:02 AM
Edvard,

> With a prototype of ()STRING
>
> But how to get the returnvalue into the setupboiloder at compile time?

I would suggest to check the "Call Dll" Examples from the Examples Package.
It comes with 5 source code Clarion DLL projects.

Friedrich

NewsArchive
03-16-2013, 08:03 AM
And of course, the "Calling a DLL" topic in the Learning SetupBuilder Part
I.

Friedrich