Use DLL´s with the MSM-WS

This is a discussion on Use DLL´s with the MSM-WS within the mumps forums in Programming Languages category; Hi all. I am with difficulties to use DLL´s with the MSM-WS. I do not obtain to pass a parameter more than, and the equipment that I need to communicate with my application, uses some parameters. Necessary of aid. Thank's all....

Go Back   Application Development Forum > Programming Languages > mumps

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-14-2008, 12:12 PM
counter.cybercafe@vivax.com.br
Guest
 
Default Use DLL´s with the MSM-WS

Hi all.
I am with difficulties to use DLL´s with the MSM-WS. I do not obtain
to pass a parameter more than, and the equipment that I need to
communicate with my application, uses some parameters. Necessary of
aid.
Thank's all.
Reply With Quote
  #2  
Old 07-14-2008, 01:55 PM
John Murray
Guest
 
Default RE: Use DLL´s with the MSM-WS


Have you seen this page? http://www.georgejames.com/ws/HandT010.htm

It shows a DLL call that takes two parameters.

John Murray
George James Software

-----Original Message-----
From: counter.cybercafe@vivax.com.br
[mailto:counter.cybercafe@vivax.com.br]
Posted At: 14 July 2008 17:13
Posted To: comp.lang.mumps
Conversation: Use DLL´s with the MSM-WS
Subject: Use DLL´s with the MSM-WS


Hi all.
I am with difficulties to use DLL´s with the MSM-WS. I do not obtain to
pass a parameter more than, and the equipment that I need to communicate
with my application, uses some parameters. Necessary of aid.
Thank's all.

Reply With Quote
  #3  
Old 07-15-2008, 01:34 PM
paulo.penalva@gmail.com
Guest
 
Default Re: Use DLL´s with the MSM-WS

Hi John. By the way, $ZMSM would like to know the functionality of the
function. I need to pass more parameters for the DLL that I go to use.
When I use 1 or 2 parameters, function correct, but I have the
necessity in some cases to pass up to 9 parameters for the function.
I thank the attention.



On 14 jul, 14:55, John Murray <jo...@georgejames.com> wrote:
> Have you seen this page?http://www.georgejames.com/ws/HandT010.htm
>
> It shows a DLL call that takes two parameters.
>
> John Murray
> George James Software
>
>
>
> -----Original Message-----
> From: counter.cyberc...@vivax.com.br
>
> [mailto:counter.cyberc...@vivax.com.br]
> Posted At: 14 July 2008 17:13
> Posted To: comp.lang.mumps
> Conversation: Use DLL´s with the MSM-WS
> Subject: Use DLL´s with the MSM-WS
>
> Hi all.
> I am with difficulties to use DLL´s with the MSM-WS. I do not obtain to
> pass a parameter more than, and the equipment that I need to communicate
> with my application, uses some parameters. Necessary of aid.
> Thank's all.- Ocultar texto entre aspas -
>
> - Mostrar texto entre aspas -


Reply With Quote
  #4  
Old 07-16-2008, 05:52 AM
John Murray
Guest
 
Default Re: Use DLL´s with the MSM-WS

Hi Paulo,

Can you post details of what parameters the function in your DLL
requires? Then maybe I can show you how to modify the example given at
http://www.georgejames.com/ws/HandT010.htm

Regarding the $ZMSM function, here's what I remember:

$zmsm(1,NNN) reserves NNN bytes memory within MSM's memory pool and
returns the address of that memory.

$zmsm(2,address,NNN) returns NNN bytes at address back to the MSM memory
pool.

John

> -----Original Message-----
> From: paulo.penalva@gmail.com [mailtoaulo.penalva@gmail.com]
> Posted At: 15 July 2008 18:35
> Posted To: comp.lang.mumps
> Conversation: Use DLL´s with the MSM-WS
> Subject: Re: Use DLL´s with the MSM-WS
>
>
> Hi John. By the way, $ZMSM would like to know the
> functionality of the function. I need to pass more parameters
> for the DLL that I go to use.
> When I use 1 or 2 parameters, function correct, but I have
> the necessity in some cases to pass up to 9 parameters for
> the function.
> I thank the attention.

....

Reply With Quote
  #5  
Old 07-16-2008, 01:32 PM
paulo.penalva@gmail.com
Guest
 
Default Re: Use DLL´s with the MSM-WS

Hi John
Debtor for answering.
He follows the example:
S HANDLE=$& MSM.LOADLIB (" BemaFI32.dll")
S COD="7890000123456"
S DES="TEST"
S ALQ="FF"
S TIP="I"
S QTD="10"
S PARAM=COD_"," _DES_","_ALQ_"," _TIP_"," _QTD
D &MSM.CALLENTRY(HANDLE,"Bematech_FI_VendeItem",PARA M)

msmws returns an error and closes ws

Thank's




On 16 jul, 06:52, John Murray <jo...@georgejames.com> wrote:
> Hi Paulo,
>
> Can you post details of what parameters the function in your DLL
> requires? Then maybe I can show you how to modify the example given athttp://www.georgejames.com/ws/HandT010.htm
>
> Regarding the $ZMSM function, here's what I remember:
>
> $zmsm(1,NNN) reserves NNN bytes memory within MSM's memory pool and
> returns the address of that memory.
>
> $zmsm(2,address,NNN) returns NNN bytes at address back to the MSM memory
> pool.
>
> John
>
> > -----Original Message-----
> > From: paulo.pena...@gmail.com [mailtoaulo.pena...@gmail.com]
> > Posted At: 15 July 2008 18:35
> > Posted To: comp.lang.mumps
> > Conversation: Use DLL´s with the MSM-WS
> > Subject: Re: Use DLL´s with the MSM-WS

>
> > Hi John. By the way, $ZMSM would like to know the
> > functionality of the function. I need to pass more parameters
> > for the DLL that I go to use.
> > When I use 1 or 2 parameters, function correct, but I have
> > the necessity in some cases to pass up to 9 parameters for
> > the function.
> > I thank the attention.

>
> ...


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:50 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.