Página 1 de 1

How to create dll?

Publicado: Mié Ene 02, 2008 3:21 pm
por Gejza Horvath
Hi,
is it possible to create a dll file with Xailer? I want to create modules, which can be
used from another apps writed for ex. in Visual Basic. If not, how can I share my code
with other apps?
Best regards
Gejza Horváth

How to create dll?

Publicado: Jue Ene 10, 2008 9:03 pm
por Nick Hilder
Hi Gejza
I'm far from an expert on dll's, but as far as I know you are still limited
by the language they where written in.
eg. You create a dll in xh, only xh apps could access and use the dll.
If you look at the ADS DLL's, you will see that xh programmers have written
"wrappers" that convert xh code to c code which then calls the c functions
in the dll.
If you used say an OLE Server (whoch is a xh dll) you could then use a late
bound ole connection from VB to access the OLE server which internally would
be running xh code.
I think you can do what you want in the world of .Net, but of course xh
isn't in that world.
BTW, I maybe wrong here, but thats my basic understanding.
Nick
"Gejza Horvath" <_hsoftkn@nextra.sk> wrote in message
news:[email=477b9e65@ozsrv2.ozlan.local...]477b9e65@ozsrv2.ozlan.local...[/email]
> Hi,
>
> is it possible to create a dll file with Xailer? I want to create modules,
> which can be used from another apps writed for ex. in Visual Basic. If
> not, how can I share my code with other apps?
>
> Best regards
>
> Gejza Horváth
>

How to create dll?

Publicado: Jue Ene 10, 2008 9:03 pm
por Nick Hilder
Hi Gejza
I'm far from an expert on dll's, but as far as I know you are still limited
by the language they where written in.
eg. You create a dll in xh, only xh apps could access and use the dll.
If you look at the ADS DLL's, you will see that xh programmers have written
"wrappers" that convert xh code to c code which then calls the c functions
in the dll.
If you used say an OLE Server (whoch is a xh dll) you could then use a late
bound ole connection from VB to access the OLE server which internally would
be running xh code.
I think you can do what you want in the world of .Net, but of course xh
isn't in that world.
BTW, I maybe wrong here, but thats my basic understanding.
Nick
"Gejza Horvath" <_hsoftkn@nextra.sk> wrote in message
news:[email=477b9e65@ozsrv2.ozlan.local...]477b9e65@ozsrv2.ozlan.local...[/email]
> Hi,
>
> is it possible to create a dll file with Xailer? I want to create modules,
> which can be used from another apps writed for ex. in Visual Basic. If
> not, how can I share my code with other apps?
>
> Best regards
>
> Gejza Horváth
>