ImtsSrl/KUKAVARPROXY

Which IDE / Language version to compile the project ?

Opened this issue · 3 comments

Dear Massimiliano,

I'am trying to compile kukavarproxy on my laptop but I encounter some difficulties. I thought this is a VB6 project developed with Visual Studio 6 but I am not sure anymore.

Would you please tell me which version of VB I should use and which IDE do you use to open and build the project so I can do It my self and tried the correction I've proposed #3 (comment)

Many thanks,
Lionel

Dear Lionel,

correct. You need to use VB6 SP6.

Massimiliano

Ok great. I've set up a VB6+SP6 clean install on a WIN7-64bit system.

Unfortunately the project won't load properly into VB6 IDE (I don't know why it claims it can't load some of the files). Anyway I've managed to do it by recreating empty files (.bas, .cls and .frm) and copy/pasting your code in the newly created files.

Now I can build the project but it fails with the following error :
Runtime error 429 : ActiveX component can't create object

I see it is related to this line0 in Main() : CrossCommands = CreateObject("Cross3Krc.CIE")
Do you have any suggestion to bypass this issue ? What is Cross3Krc.CIE ?

Note : I also tried to copy past the content of Library in WIndows/SysWOW64 and register the Cross.ocx and cswsk32 with regSvr32 cmd but still the same issue. If I uncomment the line I can build the exe.

Public Sub Main()

Dim OSType As WindowsVersion
frmMain.lstAzione.AddItem GetOSVersion(OSType)

'set oggetto CrossComm
If OSType = WIN_XP Or OSType = WIN_7 Then
    Set CrossCommands = New cCrossComm
    CrossCommands = CreateObject("Cross3Krc.CIE")
End If

'chiamo la connessione al CrossComm del Robot
Connect 0

capture d ecran 2019-02-04 a 20 01 41

Hello @lionpeloux ,
You are getting this problem because of the missing kuka dependencies. If you built the exe file correctly you should be able to run it on a KRC system. The Cross3Krc.CIE is part of kuka ecosystem and runs only on KRC2/KRC4 systems.

Regards.