|
| Iniciado por ioakeimidis, 16,dic. 2015 16:44 - 1 respuesta |
| |
| | | |
|
| |
Miembro registrado 3 mensajes |
|
| Publicado el 16,diciembre 2015 - 16:44 |
First I created a class library dll named Interaxiontimer.dll using visual studio 2012 (vb language). Here's the code :
Public Class Class1
Public Sub mywait(ByVal pHour As Integer, ByVal pMinute As Integer, ByVal pSecond As Integer) Dim timTime As Date = TimeSerial(pHour, pMinute, pSecond) While Now.TimeOfDay < timTime.TimeOfDay
End While End Sub
End Class
Second I created a window application using WinDev 15. I added a button that does the following:
(Click BTN_Button1) ---------------------- MyInst is string = LoadDLL("C:\My Projects\InteraxionTest\Exe\Interaxiontimer.dll") CallDLL32("Interaxiontimer.dll","mywait",17,20,0)
I placed my Interaxiontimer.dll into the path C:\My Projects\InteraxionTest\Exe\
When I press the button I get the message:
Error at line 2 of Click BTN_Button1 process. CallDLL32 function called. 'mywait' function not found in Interaxiontimer.dll DLL
System Error Details:
The specified procedure could not be found. (127)
----- Technical Information -----
Project : InteraxionTest
WL call: Process of 'Click BTN_Button1' (WIN_Window1.BTN_Button1), line 2, thread 0 'CallDLL32' function, syntax 0
What happened? 'mywait' function not found in Interaxiontimer.dll DLL
Error code: 2803 Level: fatal error (EL_FATAL)
System error code: 127 System error message: The specified procedure could not be found.
Dump of the error of 'WD150VM.DLL' module (15.00Pj). Identifier of detailed information (.err): 2803 Debugging information: Fonction (0,18) Additional Information: EIT_PILEWL : Click BTN_Button1 (WIN_Window1.BTN_Button1), line 2 EIT_DATEHEURE : 16/12/2015 17:43:14
What am I doing wrong ?
-- Ioakim Ioakimidis Senior Programmer ArtTec Ltd |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 3 mensajes |
|
| Publicado el 18,diciembre 2015 - 08:16 |
In other words: what are the requirements of my Interaxiontimer.dll in order for CallDll32 to function properly and find the "mywait" function ?
-- Ioakim Ioakimidis Senior Programmer ArtTec Ltd |
| |
| |
| | | |
|
| | | | |
| | |
|