Hey Andi,

> O, I got you now. It is not a change, but "a more easy way to use pCode
> DLL" that was introduced. The conventional use of DLL was not affected
> at all.
Ok. ;-)

> Using pCode DLL is now much more fun and easy. Kindly take a look at
> tests/pdllbc.bat, tests/pexec.prg + tests/pcode.prg + tests/pcode1.prg.
> It is a new way of doing it whereby we use "pragma deferred" in prg file.
> However the conventional way of using pCode DLL (which uses harbour.dll)
> is not touched in any way.
Ha, great! yes, now I see.

I have a question.

In pexec.prg, I have a function like:
function mytest(n)
return n*2

and in pcode.prg have:
funcion mytest(n)
return n*3

Is it possible that I can use BOTH functions, though they have the
SAME function name running in pexec.exe?

So: mytest(2) returns 4 and hb_LibDo("mytest",2) returns 6 ?

Thanks!

Patrick

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to