Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
STKIT432.DLL
Message
From
17/12/1998 11:04:16
 
 
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Miscellaneous
Thread ID:
00168444
Message ID:
00168519
Views:
28
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
Pini
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform