All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
How can a 'C' application under SFU connect to MQ
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
How can a 'C' application under SFU connect to MQ - Feb. 6, '06, 4:39:14 PM
|
|
|
twtyler
Posts: 5
Joined: Feb. 6, '06,
Status: offline
|
How can a 'C' application running under SFU connect to IBM's MQ? There is a .NET API for MQ on Windows. Can an SFU application call a .NET API? Sorry if this is an elementary question, but I'm new to SFU.
|
|
|
RE: How can a 'C' application under SFU connect to MQ - Feb. 6, '06, 4:51:22 PM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
An Interix application cannot be linked with ".NET" directly as part of SFU.
Interix may be able to do this with version 5.2 (part of W2K3/R2, the starting
point where Interix is part of the base OS distribution). But it's unlikely
anyone has tried anything to .NET since 5.2 is only about a month old. MS has
tested and only supports linking to the Win32 Oracle library as a start. Not
that it can't be done -- just unlikely anyone has tried.
As for IBM's MQ: I don't really know what MQ is. Can you give a bit of background?
If there is a OSS library for MQ then likely it can be built for Interix.
If not then it may be possible to licence the API's from IBM.
|
|
|
RE: How can a 'C' application under SFU connect to MQ - Feb. 6, '06, 5:03:21 PM
|
|
|
twtyler
Posts: 5
Joined: Feb. 6, '06,
Status: offline
|
IBM WebSphere MQ provides APIs and server-side components for sending and receiving messages between applications. It is the dominent product in enterprise messaging infrastructures.
Here's a link to the product home page: http://www-306.ibm.com/software/integration/wmq/
Here's a paper that gives details on how it is used from .NET: http://publib-b.boulder.ibm.com/Redbooks.nsf/9445fa5b416f6e32852569ae006bb65f/371eaf26a479ef0385256d250050f289?OpenDocument
So, with the WebSphere MQ product, IBM makes some classes available for use within the .NET environment. The question is how these can be exploited from an application running under SFU.
Note that IBM provides 'C' APIs for MQ, but SFU is not a supported platform.
|
|
|
RE: How can a 'C' application under SFU connect to MQ - Feb. 7, '06, 5:39:45 PM
|
|
|
twtyler
Posts: 5
Joined: Feb. 6, '06,
Status: offline
|
Actually, being able to access a Win32 DLL from a 'C' application running in SFU would meet my requirements. I don't need to access
.NET, just Win32. Appreciate any pointers.
|
|
|
RE: How can a 'C' application under SFU connect to MQ - Feb. 7, '06, 5:56:44 PM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
The only access to the Win API's is with W2K3/R2 with Interix 5.2.
Can't do it with 3.5.
As time marches ahead future version (such as 5.4/Vista) will work as 5.2 does.
|
|
|
RE: How can a 'C' application under SFU connect to MQ - Feb. 9, '06, 5:05:28 AM
|
|
|
caoslayer
Posts: 1
Joined: Feb. 9, '06,
Status: offline
|
just a little related question...
It is posible to do the oposite, to use interix api in a normal windows program?
Im working at making adaptation of posix realtime libs for windows xp or w2000.
|
|
|
RE: How can a 'C' application under SFU connect to MQ - Jul. 26, '06, 5:21:45 AM
|
|
|
Eric
Posts: 1
Joined: Jul. 26, '06,
Status: offline
|
quote:
ORIGINAL: caoslayer
just a little related question...
It is posible to do the oposite, to use interix api in a normal windows program?
Im working at making adaptation of posix realtime libs for windows xp or w2000.
I would really be interested in that scenario too.
Moreover is it possible to
1) built a DLL using Interix
2) use this DLL in a "normal" Win32 Application
|
|
|
RE: How can a 'C' application under SFU connect to MQ - Jul. 26, '06, 6:05:50 AM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
You can use the Interix build environments/tools to create a Win32 executable or DLL for Win32.
So you can use make, gamek, jam, etc as the tools.
You'll use wcc instead of c89 or cc.
These are all script wrappers to using MSVC from a Unix environment.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|