Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== CreateQueue Function ====== ==== Description ==== Creates a reference to a queue on an open engine created by the [[createengine|CreateEngine]] function. ==== Syntax ==== Error = CreateQueue(Queue, Engine, QueueName, DatabaseName, UserName, Password) ==== Parameters ==== The CreateQueue function has the following parameters. ^Parameter^Description^ |Queue|Handle for the queue. Pass null. CreateQueue will return a queue handle.| |Engine|Handle obtained from a call to [[createengine|CreateEngine()]].| |QueueName|Use the same name passed as the named pipe name in the call to [[createengine|CreateEngine()]].| |DatabaseName|The database .dbt file to use.| |UserName|UserName to log into the database.| |Password|Database password\\ || ==== See Also ==== [[closequeue|CloseQueue()]], [[createengine|CreateEngine()]] ==== Example ==== <code> // Create a queue on an engine created by CreateEngine in the SYSPROG account. Error = CreateEngine(Engine, "\\.\REVCAPI_TEST", "SYSPROG",**CREATE_ENGINE_OPEN_ALWAYS$, 1)** Error = CreateQueue(Queue, Engine, "", "", "SYSPROG") </code> guides/programming/programmers_reference_manual/createqueue.txt Last modified: 2024/06/19 20:20by 127.0.0.1