View Single Post
  #40  
Old 26th August 2014, 10:43
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,287
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
Hi,

Have you tried with 3 arguments?

Code:
parent.object.error = exec_function(parent.object.dll.id, parent.object.function.id,ret)

e.g.

Code:
#define func(X)
^		parent.object.function.id = get_function(parent.object.dll.id,"X")
^		if parent.object.function.id <> 0 then
^			parent.object.function.return = 0
^			parent.object.error = exec_function(parent.object.dll.id,
^						parent.object.function.id,
^						parent.object.function.return)
^		else
^			message("Function %s not found", "X")
^		endif
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote