Hi,
I got something similar on 64 bit machines when trying to use pcomm functions although I executed them through a separate .vbs file. I found that taking the .vbs code and enclosing it in a .hta (HTML Application) file worked. example below. I'm including a portion of the top of the file and some of the vbs code, then also showing the code @ the end of the file.
Looks like you're launching pcomm thru excel so I'm not sure if this would be a viable alternative for you but I'd figured I'd throw it out there.
-----------
top
-----------
<html>
<head>
<title>Cost Turbo Entry</title>
<Hta:Application
ApplicationName="Cost Turbo Entry"
Id="CostTurboEntry"
icon="C:\VbPgms\Vb Scripts\Vb Scripts\Jda.ico"
VERSION="1.0"
/>
</head>
<script language="VBScript">
Sub Window_OnLoad
window.resizeto 1000,250
End Sub
Sub Main()
ExcelDoc = spreadsheet.value
If ExcelDoc = "" Then
MsgBox ("No File was selected, cancelling process")
Self.Close
Exit Sub
End If
Set auteclpsobj = CreateObject("pcomm.auteclps")
Set auteclconnlist = CreateObject("pcomm.auteclconnlist")
Set autecloia = CreateObject("pcomm.autecloia")
Set auteclps = CreateObject("pcomm.auteclps")
==========
bottom
==========
CheckSession = auteclpsobj.GetText(1, 1, 3564)
autecloia.WaitForInputReady
End Function
</script>
<body bgcolor="#dfe8f5">
<center>
<h1>Cost Turbo Entry Script</h1>
<h3><u>Select spreadsheet below</h3>
<input type="file" name="spreadsheet" id="file" size="100" accept="application/vnd.ms-excel">
<br>
<br>
<input type="button" name="btnStart" id="btnStart" value="Start Script" onclick="Main">
</center>
</body>
</html>