Please enable JavaScript to view this site.

ESL Documentation

Subroutine

Set the trace level.

 

call DDESetTraceLevel ( Level_IV )

 

Level_IV is an integer value between 0 and 15, which is the sum of the values that follows:

Level #

Description

1

Traces all Windows DDE messages that the DDE DLL receives.

2

Traces the DDE DLL's default actions, such as sending WM_DDE_ACK messages.

4

Turns on Stimulus Messages sent by the DDE DLL.

8

Turns on tracing of all DLL entry points.

Description

Called by client or server.  This subroutine sets the trace level so that you can see a trace of the DDE messages or the DDE DLL's actions when you are developing DDE applications.

 

The trace messages are sent to the ESL errorlog.  Generally, this is intended to be used as a debugging aid.  The trace level should not be set in production ESL code. Set the trace level to 0 (the default) to switch off all DDE tracing.

 

The number for tracing can be set to any value between 0 and 15. For instance, setting the level to 13 will turn on trace levels 8, 4, and 1.

Examples

response to start

    copy 3 to TraceLevel_IV

    call DDESetTraceLevel (TraceLevel_IV)

 

response to start

copy 4 to TraceLevel_IV

    call DDESetTraceLevel (TraceLevel_IV)

See Also

DDEQueryTraceLevel()