Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
STKIT432.DLL
Message
 
To
17/12/1998 11:04:16
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Miscellaneous
Thread ID:
00168444
Message ID:
00168632
Views:
25
>I was try work with “CreateShellLink” DLL but I get
>ERROR “Bad DLL calling convention”
>
>Public Declare Function CreateShellLink Lib "LNKFILES.DLL" (lpzLinkFileName _ As String, lpzExeFileName As String) As Integer
>
>Private Sub Command1_Click()
> Dim lclinkfile As String
> Dim lcexefile As String
> Dim lnresultas As Integer
>
> lclinkfile = "C:\WINNT\Profiles\pinhas\Desktop\My Executable POLY.LNK"
> lcexefile = "C:\POLY.exe"
> lnresultas = CreateShellLink(lcexefile, lclinkfile)
>End Sub
>
>
>May you can help me
Hi Pini,

In the help file (which is in VFP syntax), any parameter preceded by the ampersand (@) symbol are passed by reference. For example in the declaration below,

DECLARE INTEGER CreateShellLink IN Lnkfiles.dll;
STRING @lpzLinkFileName, STRING @lpzExeFileName

both of the parameters are passed by reference.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform