Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Matt Peden
2021-05-25T12:15:14Z
I am trying to call a VB6 dll with a public function called Method0
When I set up the task and try to execute I get the following error.

Exception in Task: Working directory: C:\Progs
System.Exception: Could not find the function (Method0())
at VisualCronAPI.WindowsAPI.Win32.RunUnmanagedDll(TaskUnmanagedDLLDataClass taskData) in C:\git\code\VisualCronAPI\APIPublic\Win32.vb:line 1072
at lKCrcHE1mdkwZnSVVD.ps5R5E0FXnNueOQSLg.E2u3ypXJ9(String[] )

In addition, if I needed to set a property of type Object to pass in a database handle what would be the preferred method to do this? Would I need to have a Wrapper executable to create my objects and then call the DLL with the object handles from the wrapper object.
Sponsor
Forum information
Scroll to Top