ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » ActiveX Components + Delphi 6

Post new topic  Reply to topic
 ActiveX Components + Delphi 6 « View previous topic :: View next topic » 
Author Message
JAZ
PostPosted: Thu May 02, 2002 4:44 pm    Post subject: Reply with quote

Guest




Can anyone please help with the following

I am using the activex components supplied in mqax200.dll and when trying to connect I keep getting the following error

"Sandbox3Class not registered"

MQSN is the TMQSession component

Here is the code I am using

var savecursor:tcursor;
error_msg : string;

begin
savecursor := screen.Cursor;

mqsn.RemoteMachineName := 'Sandbox3';
try
g_connected := true;
rg_servers.Enabled := false;
screen.Cursor := crHourglass;
mqsn.Connect;
screen.Cursor := savecursor;
except
on e: Exception do
begin
error_msg := 'Failed To Connect To Server : ' + mqsn.RemoteMachineName +
E.Message;
messagedlg(error_msg, mterror, [mbok], 0);
screen.Cursor := savecursor;
rg_servers.Enabled := true;
g_connected := false;
end;
end;
end;
Back to top
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » ActiveX Components + Delphi 6
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.