Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am trying to load DLL but getting an error couldn't load library-invalid argument

Status
Not open for further replies.

Rahul Chandran

Programmer
Jun 7, 2018
2
0
0
IN
I am trying to load a dll in my TCL script using the load command as shown below
load "C:/Program Files (x86)/Honeywell/EZPre/v1.4/Shared Files/bin/TSMCOMWrapper.dll"
but it is throwing an error: couldn't load library "C:/Program Files (x86)/Honeywell/EZPre/v1.4/Shared Files/bin/TSMCOMWrapper.dll": invalid argument while executing "load "C:/Program Files (x86)/Honeywell/EZPre/v1.4/Shared Files/bin/TSMCOMWrapper.dll""

Any help would be appreciated!!!!!!!!
 
Look at the type of DLL and your Tcl version whether it is 32 or 64 bit.
This error occurs when your DLL is 32 bit and you try it load from a 64 bit Tcl.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top