On Wed, 10 Mar 2010, Szak�ts Viktor wrote:

Hi,

> Didn't we have recently deleted maindll.c just for this purpose?

Probably yes though I do not remember if it was exactly the same code
as below.

> Shouldn't we readd it with your additions below? We could even put 
> it into a lib named 'maindll' to make it easy to use (if it works 
> as a lib).

It can be usable but with detail description about usage or some
special HBMK2 options. Otherwise it will only confuse 95% of users
who wants to create DLLs to use them with Harbour applications.
Please remember that it's usable only when someone wants to create
DLLs with code using HVM which will be used by programs written in
other languages. It means that he has to know C and can write his
own wrappers for functions he wants to make public. In such situation
the best form for startup code is public .c file in include directory
so anyone can include it in his C code with public function wrappers
or edit it adding own extension to start/exit code. For sure people
with such knowledge does not need binary library with above startup
code to make final DLLs working.

BTW I think that we should document how to use OLE interface to
access HVM functions. It should be much more flexible method for
most of users and it does not need any C knowledge to use it.

Maybe some windows user can create OLE interface to HBNETIO
RPC code? This will open door for using Harbour applications
on servers with any operating systems and writing MS-Windows user
interface in one of popular in MS-Windows languages.
Personally I'm very interesting in such extension.

Does anyone plan to create sth like that?

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to