Compiling to HMG applications to DLL for use in C/C++

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
FrankE
Posts: 8
Joined: Sat Jul 03, 2010 1:31 am

Compiling to HMG applications to DLL for use in C/C++

Post by FrankE »

Ed: now reposted here: viewtopic.php?f=5&t=1664


Hi

I'd like to know if it is possible to have HMG applications compile to DLL.

I'm not great C/C++ programmer, but have a need to accomplish this as an adjunct for developing 3rd party plugins for software that currently requires C/C++ for developing plugins.

From my limited understanding, compiling something to DLL means that it can't have a main() function ... is this correct?

I suspect this can't be done from within HMG ... can anyone give me some practical advice regarding how this may be achieved, perhaps with a HMG app DLL equivalent "Hello World" example?

Cheers and thanks in advance!
Frank E.
Last edited by FrankE on Sat Aug 28, 2010 1:34 am, edited 2 times in total.
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: Compiling to HMG applications to DLL for use in C/C++

Post by apais »

Your question must be directed Harbour compiler team.
All I can say you, since I've not used it yet is that harbour apps, can be COM client and/or server apps.

HTH
Angel
Angel Pais
Web Apps consultant/architect/developer.
FrankE
Posts: 8
Joined: Sat Jul 03, 2010 1:31 am

Re: Compiling to HMG applications to DLL for use in C/C++

Post by FrankE »

Apologies to forum, as you say I shouldn't have posted this question here ... I had just posted another question and forgot to change :-(

Ed: now reposted here: viewtopic.php?f=5&t=1664

Regards,
Frank E.
Last edited by FrankE on Sat Aug 28, 2010 1:32 am, edited 1 time in total.
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: Compiling to HMG applications to DLL for use in C/C++

Post by apais »

No problem at all.
Your question is still valid.
All I'm saying is that I hardly believe anyone can answer that one here.

Regards
Angel
Angel Pais
Web Apps consultant/architect/developer.
FrankE
Posts: 8
Joined: Sat Jul 03, 2010 1:31 am

Re: Compiling to HMG applications to DLL for use in C/C++

Post by FrankE »

Yes, thank you!

Now reposted here for further discussion:
viewtopic.php?f=5&t=1664

Cheers,
Frank E.
Post Reply