communication

What is the standard method for a website to communicate with a win32 executable?

I have some delphi code which, given a list of items, calculates the total price taking into account any special deals that might apply. This code is non-trivial to rewrite in another language. How should I set it up to communicate with a website running on the same server? The website will need to ask it for a price every time the use...

Java: appropriate way to pass messages between client and servlet?

My system successfully passes objects from a client to servlet. However it is primitive as it was built to cater for Java 1.1. The message object it passes consists of an int (representing one of about seventy types) and a String of tokens which need to be parsed (the tokens may contain a list, a list of objects, etc). Not good! So, I'm...

Project's documentation when dealing with lots of business-logic rules. How to organize it?

I'm working on quite complicated project, in terms of business-logic quantity and quantity of components. Each developer mostly works on "his own" component. I understand that this isn't very cross-functional, but it is impossible to know every components' details. Team sostav changes from time to time. So we have situations when one p...

How do I call a function in an AS2 swf hosted by an AS3 swf and return an array back to AS3 swf? (using SwfBridge)

I have a Flash CS4 AS3 swf (host) that loads a Flash 8 AS2 swf (client) using gSkinner's swfBridge. This works great and the Host can call functions in the client no problem. However I want to be able to call a function in the client and have that function return an array to the host. This is the code I thought would work - Host (AS3...

How to explain "Agile" to a non-developer?

I am looking for ways to explain "Agile" to a non-developer. You could try to summarize it yourself, but a reference to a short article, blog post or podcast could also prove helpful. ...

How can I avoid pitfalls passing the finished product to the install team?

Anyone out there have any experience with passing off a finished product to the install team? Our product is installable via RPMs but also requires copying some MySQL data, modifying some config files and running a few development written scripts. Having an install team is great, but it is development that is on-call and after each ins...

Data exchange standards

There are international standards, which define various high-level aspects of information exchange in distributed systems. By "high-level" I mean describing how information should be organized and presented, what interfaces must be provided, how to communicate metadata etc. For example, energy utilities use OPC (DAIS), CIM; simulations ...

What's the most effective workflow between people who develop algorithms and developers?

We are developing software with pattern recognition in video. We have 7 mathematicians who are creating algorithms. Plus we have 2 developers that maintain / develop the application with these algorithms. The problem is that mathematicians are using different development tools to create algorithm like Matlab, C, C++. Also because the...

object served for communcation between business layer and presentation layer

Hi all, This is a general question about design. What's the best way to communicate between your business layer and presentation layer? We currently have a object that get pass into our business layer and the services reads the info from the object and sets the result into the object. When the service are finish, we'll have a object ...

Linux/Mac OS X equivalents for Windows Communication Foundation

--edit-- What application development frameworks/component models for Linux and Mac OS X are analogous to Windows Communication Foundation & COM, which provide high level IPC mechanisms for manipulating/communicating with software applications? By high level communication model I mean RPC, publish/subscribe, etc. I'm writing software ...

asynchronous serial port communication in windows in c

I am getting an error when I try to run a c file which does some basic writes to a serial port. I am trying to run it asynchronously because the writes sometimes take a long time to transfer. My original version had it running synchronously with WriteFile() commands which worked fine. I am new to using OVERLAPPED and would appreciate and...

Pass a message to another exe from an exe C#

I have two exe running, c# console programs. From one, I need to tell the second exe to do something? How... ? I looked at (Remotable.CommonAssembly)Activator.GetObject(typeof(Remotable.CommonAssembly) but from here i can call a method of the CommonAssembly(referenced dll) not the exe one's. ...

Private beta test communication and infrastructure

So your commercial app is in the middle stages of development.. enough that it's usable but still needs refinement, extension, bugfixing. It's far from shippable, but it's stable and complete enough that your developers and in-house testers/users feel it's time for more feedback from real users. So you go to a wider but still closed bet...

Communication between Intranet Applications

I have two separate web applications, both in the same intranet. One of the two is a legacy application, strictly a static site, being served via Apache. The other application is new, one that I am currently building, and will be a dynamic site, with a database. In the first application I want to have a few form pages, that collect in...

How do I send an IM from visual Basic 2005?

I would like to know how to send an "instant message" (IM) to a recipient on one of the popular IM programs (AIM, MSN, Yahoo, etc.) from a Visual Basic 2005 application. I would appreciate seeing sample code. Thanks, Victor [email protected] ...

To pad or not to pad - creating a communication protocol

Hi all, I am creating a protocol to have two applications talk over a TCP/IP stream and am figuring out how to design a header for my messages. Using the TCP header as an initial guide, I am wondering if I will need padding. I understand that when we're dealing with a cache, we want to make sure that data being stored fits in a row of...

Set max BAUD rate via tapi

I have a program that uses the AsyncPro libraries (found on sourceforge) to interact with a modem and place calls. My software calls and controls embedded devices that have old modem technology that cant communicate faster than 9600bps. Under most circumstances the calling modem will be able to autonegotiate and connect successfully at t...

Looking for a solution to a remote application connecting to local resources

I have a client side app that I've deployed at a company and I've integrated it into their TAPI compliant PBX system. They love not having to dial the phone, but rather just click on a phone number in the application and it magically dials. However, a large part of their workforce uses the application remotely by logging into an NT RAS...

Has someone used QSockeNotifier (Qt library) to read/write serial ports in Linux?

Hi all, I am currently linux API like sigio,sigaction etc to interface with serial ports in Linux. And for GUI I am using Qt 4.2. I know about 3rd party QextSerial but I would stay away from it. I also was tinkering with QSocketNotifier as an alternative. Can someone give a rough example to r/w from serial port using QSockeNotifier. ...

Multiple Event Loops and Serial Communication Issues ?

Hi all, I have created a sample application from where separate thread is started to read and process data from serial port. QSocketNotifier is used for detecting whether data has arrived on the serial ports or not. I start an event loop using exec() statement in run function of thread. But while running the application only once the so...