VCSetAlertAppDll


Version:

2.0

Description:

Registers an external DLL with Visual CADD™, enabling notifications to be sent back to the application when the specified events have occurred. Retained for backward compatibility; you should use VCSetAlertAppDllEx instead as it has expanded messaging capabilities.

Declaration:

 

C/C++

extern "C" void WINAPI VCSetAlertAppDll(short* iError, char* DllName, char* NativeCmd, long iCode);

Delphi

procedure VCSetAlertAppDll(var iError: Smallint; DllName: PAnsiChar; NativeCmd:

ActiveX/COM

Sub SetAlertAppDll(ByVal DllName As String, ByVal NativeCmd As String, ByVal iCode As Long)

Parameters:

DllName - the name of the DLL containing the user tool.
NativeCmd
- the native command name given to the tool.
iCode
- a code specifying the alerts to be sent to the external DLL, as specified in Alert Callbacks.

Notes:

VCSetAlertAppDll is used by a DLL to request notification (alerts) of certain events in Visual CADD™. The notifications take the form of callbacks to functions exported from the DLL. This approach is significantly more efficient than the messaging used by VCSetAlertApp and VCSetAlertAppEx.

See Also:

VCSetAlertAppDllEx, SetAlertEvent, VCSetAlertApp, VCClearAlertApp, VCClearAlertAppDll, VCGetUserToolLBDown