Is it me or does the C3PO customer...
Articles and Tips: qna
01 Aug 2002
Q.
Is it me or does the C3PO customer tracking example not work correctly (GroupWise C3PO SDK). I had the idea of learning C3PO by customizing code samples and I soon found out that it wouldn't compile correctly. I did get it to compile by adding a startup.bas module, which allowed the 3CPOform to be visible. So now I can build it, but it never gets to the CommandFactory Init for some reason. Can anyone think of what I may be doing wrong?
Let me add to this by saying when GroupWise starts up, I get the C3PO form with the following:
Init Get CommandFactory Get CommandFactory Get CommandFactory Get CommandFactory Get EventMonitor
So it seems like something may be wrong with the Command Factory, but I have not even changed the Command Factory class. I have scoured the code but I don't see anything wrong. Did I register it wrong? Any help would be appreciated.
A.
I haven't tried the tracking example in a long time. Since your ultimate goal, however, is to learn how a C3PO works, and not necessarily to see what is wrong with this example, I would advise that instead of using this example, you get the latest C3PO Wizard from the C3PO download and create one of your own C3POs from scratch. The wizard can create the framework you need for "most" tasks, and is very simple to understand. It can add menu items and capture commands and events without you doing anything outside the wizard.
There are even instructions on how to use it if you get lost. Then, when you bring up the C3PO that the wizard created, put a few breakpoints into the code and run the C3PO and see where it goes.
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.