Hi!
I've created a COM component in C# according to the instructions described in:
The component works fine with my PB application on XP and Windows Server 2003 (32-bit), but I can't get it to work on Windows Server 2008 x64 nor on Vista x64.
After I have registered my component I make the call in the following manner:
OleObject ole_object
ole_object = CREATE OleObject
li_rc = ole_object.ConnectToNewObject("MyComponent")
IF li_rc = 0 THEN
ole_object.executeFunction()
END IF
ole_object.DisconnectObject()
DESTROY ole_object
The manual for writing a COM Control doesn't say anything about being limited for 32-bit systems.
Does anyone have experience in creating COM Controls with .NET for PowerBuilder?
I'm using PB version 10.2.1 Build 9914
I've created a COM component in C# according to the instructions described in:
The component works fine with my PB application on XP and Windows Server 2003 (32-bit), but I can't get it to work on Windows Server 2008 x64 nor on Vista x64.
After I have registered my component I make the call in the following manner:
OleObject ole_object
ole_object = CREATE OleObject
li_rc = ole_object.ConnectToNewObject("MyComponent")
IF li_rc = 0 THEN
ole_object.executeFunction()
END IF
ole_object.DisconnectObject()
DESTROY ole_object
The manual for writing a COM Control doesn't say anything about being limited for 32-bit systems.
Does anyone have experience in creating COM Controls with .NET for PowerBuilder?
I'm using PB version 10.2.1 Build 9914