Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Micros 8700 programming 1

Status
Not open for further replies.

advait75

Programmer
Oct 5, 2002
48
IN
Hi,
I am very new to Micros programming, so I'm real sorry if I will be posting here often. To start, how would I write an interface that would call a dll(which I will write), which in turn would call a web service in C# or VB.NET and return the result to Micros.
I would really appreciate it if someone could reply soon as I have huge deadlines to make and this project was put on me at the last minute.
 
I'm sorry, I made a small mistake. It's a 9700 system and not 8700 as stated earlier.
 
You can write an ISL script with an event in it, this event can than be called on the POS System. With a DLL included you can write something like this:

event inq : 1
var hDLL : N9
var DLLName : A20 = "your dll file"
var i : N3 = 3

if hDLL = 0
DLLLoad hDLL, DLLName
endif

DLLCall hDLL, yourfunction(i)

if hDLL <> 0
DLLFree hDLL
endif

endevent


NOTE: The DLL must reside in the ETC directory together with the ISL file, rename the ISL file into pms1.isl, if the interface you made is object number 1.
With DLL's you CANNOT program a function that returns a value because Micros will ignore this. Use procedures with parameters instead
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top