Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic VFP - Windows function
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00475166
Message ID:
00475190
Views:
38
>Hi Ed,
>
>Are you sure that's right? From the look of the VB declaration, and going on my recollection of the way these things are done in VB, the entry point is SendBlat and they've aliased it to Send.
>

It's SendBlat, not Send, from the "docs"


>Cheers,
>
>Andrew
>
>>>So far, so good. but when I try this, I get an error,
>>>windows says it cant find an entry point to the dll ?
>>>
>>>I did manage to find something else on the blat.dll
>>>
>>>Blat DLL
>>>blat.dll has one function, Send which takes a null terminated string which is the blat command line. The return is the value of the Return Code returned by Blat. See Blat Error Return Codes
>>>VB Declare Statement:
>>>
>>>Declare Function SendBlat Lib "blat.dll" Alias "Send" (ByVal sCmd As String) As Integer
>>>
>>>--------------------------------------------------------------------------------
>>
>>Eric's example is correct, except that the DECLARE is case-sensitive, so change his "send" to "Send"
>>
>>>
>>>
>>>Does this make any more sense to you. ? or does it sound like Blat.dll just wont function at all ?
>>>
>>>Bob Lee
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
Reply
Map
View

Click here to load this message in the networking platform