I tried to run this for example:
Code: Select all
#Include "windows.bi"
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As HWND, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
ShellExecute(HWND_DESKTOP,"open","command.com","","",SW_SHOW)
MessageBox(HWND_DESKTOP,"Test","Hello",MB_OK)
It's taken from the FB forum so it musk have been working in the past. Here on WIN10 64 I get a "cannot find -lshell32.dll".
I tried to get a "libshell32.a" from somewhere else, and tried #INCLIB also, it did nothing good.
Someone has an idea on this?
Thanks