In this case, gpsexec is not really a plugin , (not a dll but an exe).
I try that, but indicator and click on indicator don't run.
Code:
'*****************************************************************
'* This Function will be called with requested indicator code
'* specified at the skin file. Simply return "True" or "False" to
'* displayed the respective ON or OFF layer of the skin images.
'* alternatively you can specify a path to a file to be displayed
'* as the indicator specified. Return "False" to erase the image.
'* ONLY return something else IF AND ONLY IF you process that code
'*****************************************************************
Public Function ReturnIndicatorEx(IND As String) As String
'Default (No Action)
' DO NOT RETURN "False" for unprocess indicators, return ""
ReturnIndicatorEx = ""
Select Case LCase(IND)
'Case "myindicator"
'This example show ON for even seconds and OFF otherwise
'ReturnIndicatorEx = IIf(Val(Format(Time, "SS")) Mod 2 = 0, "C:\VBStuff\Road Runner\XMArt\1.gif", "False")
'Specify whatever and whichever indicators you wish to create
'You can add as many as you'd like, and you can process complex indicators as long
'as you parse them yourself (i.e. "mycomplexindicator;parameter")
Case "gpsexec"
'Insert Code here to return "True", "False" or Path name
ReturnIndicatorEx = "True"
End Select
End Function
'*****************************************************************
'* This Sub will be called with an indicator code "CLICKED"
'* specified at the skin file. This "event" so to speak can be used
'* to toggle indicators or execute any code you desire when clicking
'* on a specifig indicator in the skin. You can also modify IND and
'* monitor the IND parameter as to detect/alter the behaviour of
'* how RR will process the indicator code being clicked.
'*****************************************************************
Public Sub IndicatorClick(IND As String)
'If one of our indicators
Select Case LCase(IND)
Case "gpsexec"
'Displays message box
'MsgBox "GPSExec has been clicked!"
COMSend "RoadRunner", "CLOSEWINDOW;gpsexec"
End Select
End Sub
If i use these lines in a dll with the last plugin format, my dll run well, but not in this case !
Can you explain me where is my error ?
My exe is always the new compiled file
Bookmarks