Jump to content
Sign in to follow this  
hempi23

dll calls failing for VISA functions

Recommended Posts

hempi23

Hi everybody,

I am using Visa Management functions that come as user defined functions included in the autoit installation. Very handy functions btw.

My problem is that when I upgrade AutoIt to any version newer than 3.2.2.0 these functions do NOT work anymore. Instead I will get an error message when calling functions inside VISA.DLL - basically its complaining that the function calling convention may be wrong (stdcall or cdecl). I tried to change this manually in visa.aut but had no success to get it running again. So I am tied to version 3.2.2

Does anybody have an idea how I could it get to work with newer autoit versions?

Thanx,

Robert

Share this post


Link to post
Share on other sites
martin

Hi everybody,

I am using Visa Management functions that come as user defined functions included in the autoit installation. Very handy functions btw.

My problem is that when I upgrade AutoIt to any version newer than 3.2.2.0 these functions do NOT work anymore. Instead I will get an error message when calling functions inside VISA.DLL - basically its complaining that the function calling convention may be wrong (stdcall or cdecl). I tried to change this manually in visa.aut but had no success to get it running again. So I am tied to version 3.2.2

Does anybody have an idea how I could it get to work with newer autoit versions?

Thanx,

Robert

Have you tried 3.2.9.10 or later? There was a bug affecting dllcall in version from about 3.2.9.4 to 3.2.9.9.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
hempi23

Have you tried 3.2.9.10 or later? There was a bug affecting dllcall in version from about 3.2.9.4 to 3.2.9.9.

The latest version I tried was the official v3.2.8.1 release. Shall I try out one of the beta releases?

Share this post


Link to post
Share on other sites
martin

The latest version I tried was the official v3.2.8.1 release. Shall I try out one of the beta releases?

I don't know if the problem I mentioned affected the production releases; the versions I gave were for Betas. probably needs some help from someone else.

Maybe if you post an part of the code where you are having problems it would help.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×