Navision Communication Component OutMsg.GetStream

NavStudent
Member Posts: 399
Hello I am trying to use Navision Communication Component to connect to another server.
I saw and downloaded the example code in here and I wanted to know if there is a documentation on these COM objects. Anything would be helpfull.
I saw and downloaded the example code in here and I wanted to know if there is a documentation on these COM objects. Anything would be helpfull.
my 2 cents
0
Comments
-
Sorry there is no such specific document available but you should go through the Navision help for ref.Mukesh Sharma0
-
Press Ctrl+F and search for "devguide.chm" on the computerRegards,
GD0 -
thank you for the dev.chm file
I was looking at the document example code. And noticed this.Example OnRun() CREATE(MQBus); CREATE(CC2); MQBus.OpenReceiveQueue('MyMessageQueueServer\comcom2_queue',0,0); CC2.AddBusAdapter(MQBus,1); CC2::MessageReceived(VAR InMessage : Automation) InMsg:= InMessage; IF (InMsg.ExpectReply) THEN BEGIN InS:= InMsg.GetStream(); InS.READ(Txt); MESSAGE(Txt); OutMsg:= InMsg.CreateReply(); OutS:= OutMsg.GetStream(); OutS.WRITE('Yes, hello world! OK.'); OutMsg.Send(0); END; InMsg.CommitMessage();
The OutMsg.GetStream returns and istream. How can you assign this to outstream? How does navision compiles this?
OutS:= OutMsg.GetStream();
OutS.WRITE('Yes, hello world! OK.');
OutMsg.Send(0);
Thanks again.my 2 cents0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions