Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STKIT432.DLL
Message
 
À
17/12/1998 11:04:16
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
Divers
Thread ID:
00168444
Message ID:
00168632
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform