Posted: Fri Sep 30, 2005 11:37 am Post subject: Powerbuilder 10 issues and Unicode
Newbie
Joined: 30 Sep 2005 Posts: 7
We are upgrading our PB applications to PB10 for unicode and have been unsuccessful using the API to connect to our queue manager or send messages without defining the functions as Ansi. We are currently at PB10.2 Build 8035 and MQ 5.3 CSD10 and we're using the mqic32.dll API.
If I define the function like this example with the Ansi, I can connect to my queue manager and send a message to my queue, but unicode data is lost, which makes sense because of the Ansi designation.
Subroutine MQCONN (ref char QMgrName[48], &
ref long Hconn, &
ref long Compcode, &
ref long Reason) &
Library "MQIC32.DLL" &
Alias for "MQCONNstd@16;Ansi"
If I take the Ansi off, I get the MQ error, QMGR Connect Connection Failed - DQD0005 2058.
Does anyone have an example of how the Subroutines should be defined for the APIs in order to send unicode data to the queues.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum