Highlighted
weilandatpisa Absent Member.
Absent Member.
2370 views

Can't get information from ClientState in Groupwise 2012

Hello,

I have implemented a C3PO with VB6. It worked fine from Groupwise 6 to 8. But with Groupwise 2012 I am not able to access to information provided by the ClientState object anymore.
Neither SelectedFolder nor SelectedMessages can be accessed without an error. Even CurrentAccount is not accessible.
The simplest test case is when I try to access the CurrentAccount during the Init method of the main class C3POServer. This fails with the error code 438 saying that the object does not support this property or method.
The old C3PO examples from Novell don't work too. I am using the latest Version 12.0.1 and I am running the Client in remote mode.
Customized buttons I have added to the toolbar are working but without the access to the ClientState it is useless.
Has the API changed? Or is this some sort of security issue?

Greetings
Ronald
Labels (1)
Tags (3)
0 Likes
7 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Can't get information from ClientState in Groupwise 2012

On 11/8/2012 8:56 AM, weilandatpisa wrote:
>
> Hello,
>
> I have implemented a C3PO with VB6. It worked fine from Groupwise 6 to
> 8. But with Groupwise 2012 I am not able to access to information
> provided by the ClientState object anymore.
> Neither SelectedFolder nor SelectedMessages can be accessed without an
> error. Even CurrentAccount is not accessible.
> The simplest test case is when I try to access the CurrentAccount
> during the Init method of the main class C3POServer. This fails with the
> error code 438 saying that the object does not support this property or
> method.
> The old C3PO examples from Novell don't work too. I am using the latest
> Version 12.0.1 and I am running the Client in remote mode.
> Customized buttons I have added to the toolbar are working but without
> the access to the ClientState it is useless.
> Has the API changed? Or is this some sort of security issue?
>
> Greetings
> Ronald
>
>

That was acknowledged by Novell and supposedly fixed in SP1.Please
double check your client install
0 Likes
weilandatpisa Absent Member.
Absent Member.

Re: Can't get information from ClientState in Groupwise 2012

The "About Groupwise" dialog says I have installed "Program Release: 12.0.1 07.09.2012" with "Build Number: 103731".
I have tried the english client (gw12.0.0_sp1_client_win_en.exe) and the multi language client (gw12.0.0_sp1_client_win_multi.exe).
This was the newest version I could find.
Do I need another version?
0 Likes
stevenbruceidox Absent Member.
Absent Member.

Re: Can't get information from ClientState in Groupwise 2012

I am having a very similar problem with a C3PO add in created with C#. The SelectedMessages is returning Null:

IGWClientState6 clientState = (IGWClientState6) Groupwise.g_C3POManager.ClientState;
MessageList selectedMessages = (MessageList) clientState.SelectedMessages;

This code works correctly in previous versions of Groupwise (8, 7, 6).

Is the a fix available for 2012?

Thanks
Steve
0 Likes
mmatamal Absent Member.
Absent Member.

Re: Can't get information from ClientState in Groupwise 2012

I have the same problem with a C3PO add in created with C#.

I tried to do something similar with VB, VB.NET, C#. NET, C++.
It only worked with C++.

Is C3PO add for GroupWise 2012 in .NET Fremework will be supported?

PS. Sorry for my english.

Greetings
Mateusz
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Can't get information from ClientState in Groupwise 2012

On 5/15/2013 3:26 AM, mmatamal wrote:
>
> I have the same problem with a C3PO add in created with C#.
>
> I tried to do something similar with VB, VB.NET, C#. NET, C++.
> It only worked with C++.
>
> Is C3PO add for GroupWise 2012 in .NET Fremework will be supported?
>
> PS. Sorry for my english.
>
> Greetings
> Mateusz
>
>

try 2012 SP2.


0 Likes
mmatamal Absent Member.
Absent Member.

Re: Can't get information from ClientState in Groupwise 2012

Michael Bell;2263790 wrote:
On 5/15/2013 3:26 AM, mmatamal wrote:
>
> I have the same problem with a C3PO add in created with C#.
>
> I tried to do something similar with VB, VB.NET, C#. NET, C++.
> It only worked with C++.
>
> Is C3PO add for GroupWise 2012 in .NET Fremework will be supported?
>
> PS. Sorry for my english.
>
> Greetings
> Mateusz
>
>

try 2012 SP2.


Thanks, I finally found the GroupWise 2012 sp2.
This solved the problem of getting interface IGWClientState but still I can't get the message body or the attachments.
There is no IMessage interface in C3POTypeLibrary.
It is posible to get messeges and attachment form .NET Framework using Novell libraries?
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Can't get information from ClientState in Groupwise 2012

On 5/17/2013 4:26 AM, mmatamal wrote:
>
> Michael Bell;2263790 Wrote:
>> On 5/15/2013 3:26 AM, mmatamal wrote:
>>>
>>> I have the same problem with a C3PO add in created with C#.
>>>
>>> I tried to do something similar with VB, VB.NET, C#. NET, C++.
>>> It only worked with C++.
>>>
>>> Is C3PO add for GroupWise 2012 in .NET Fremework will be supported?
>>>
>>> PS. Sorry for my english.
>>>
>>> Greetings
>>> Mateusz
>>>
>>>

>> try 2012 SP2.

>
> Thanks, I finally found the GroupWise 2012 sp2.
> This solved the problem of getting interface IGWClientState but still I
> can't get the message body or the attachments.
> There is no IMessage interface in C3POTypeLibrary.
> It is posible to get messeges and attachment form .NET Framework using
> Novell libraries?
>
>


That interface is in the object API , q.v.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.