Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't pass parameter and call function in the DLL
Message
From
03/02/1999 08:59:57
 
 
To
03/02/1999 08:04:21
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00182255
Message ID:
00183367
Views:
15
>Ed Rauh,
>
>>>The functions for converting numbers to various binary forms are available in >>my CLSHEAP.PRG, as well as functions to change them back when you receive and >>parse this structure,
>
>>>Chan1 = CHR(8) + CHR(1) + NumToBININT(1) + NumToDWORD(5)
>
>Is it i need to run your CLSHEAP.PRG first ? or call your function inside the clsheap.prg?
>And after that call my DLL function? (=G_OpenPort(@Chan1))
>
>Can you tell me the step to proceed the DLL ?
>Is it first :
>1)declare the DLL
>2)Call the function in CLSHEAP.PRG to converting numbers to various binary forms? Chan1 = CHR(8) + CHR(1) + NumToBININT(1) + NumToDWORD(5)
>3)Call my DLL's function ? G_OpenPort(@Chan1)
>Thanks.
>

To make thre procdures available say:

SET PROCEDURE TO CLSHEAP.PRG ADDITIVE

You've already been given a declare statement in earlier messages byboth Paul Tatavu and myself. The function seems to reutrn a 16 bit INTEGER, and take a STRING as input.

The functions in CLSHEAP take an integer and convert it to a string that C will interpret correctly

You call your function as needed.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform