Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

Baanboard at LinkedIn


Reference Content

 
gbf.set.help.function()
By patvdv at 26 Feb 2008 - 21:57


gbf.set.help.function()

Syntax

long gbf.set.help.function(const string dll_id(), const
string help.function.name(), long is.default)

Description

This function adds a new help function to the help functions. If the help.function.name resides in the same source file as in which the call to this gbf.set.help.function() is made, then the function gbf.current.library() can be used, so use: gbf.set.help.function(gbf.current.library(), ....). Note that the help.function.name function must be defined as:

function extern help.function.name(long obj.id, const string object.key(), long obj.value, long help.value)

The dll_id is tried to be loaded with the load_dll() function call, without overload. The value, if positive, which is returned by gbf.set.help.function() may be used in subsequent gbf.add.object() calls to identify this special help function.

Arguments

dll_id()

The name of the DLL.

help.function.name()

The name of the help function to find in the DLL.

is.default

If set to true the function is used as the default help function instead of a previous defined default or the standard gbf.help.selected() function.

Return values

> 1

The identification of this help function

= 1

Should never be returned, as 1 is the GBF default

GBF.ILL.DLL

Illegal DLL specified

GBF.ILL.FUNCTION

Illegal function specified, or function not known in given DLL

GBF.NO.MEMORY

Not enough memory

GBF.ILL.STATE

GBF is not in the right state to deal with this function

Related topics

0
No votes yet


All times are GMT +2. The time now is 10:32.


©2001-2018 - Baanboard.com - Baanforums.com