RE: PDK Digest, Vol 18, Issue 4
by James Moosmann other posts by this author
Jul 6 2005 12:58PM messages near this date
[Fwd: Re: [wxperl-users] Can't build wxperl 0.23 applications under PerlApp 5.3.0]
|
Versioning PerlCtrls
Once you have a GUID, then you don't need another. Just update the version and the underlyi
ng code if that is what you are fixing. If you were to create a new control from scratch, t
hen you would need a unique GUID. The PDK has some tutorials in the Sample Directory on Per
lCtrl. I am still hoping someone will help me with my problem of typelibs and WinScriptComp
onents which I posted to this group some time ago.
-----Original Message-----
From: pdk-bounces@[...].com
[mailto:pdk-bounces@[...].com]On Behalf Of
pdk-request@[...].com
Sent: Wednesday, July 06, 2005 3:05 PM
To: pdk@[...].com
Subject: PDK Digest, Vol 18, Issue 4
Send PDK mailing list submissions to
pdk@[...].com
To subscribe or unsubscribe via the World Wide Web, visit
http://listserv.ActiveState.com/mailman/listinfo/pdk
or, via email, send a message with subject or body 'help' to
pdk-request@[...].com
You can reach the person managing the list at
pdk-owner@[...].com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of PDK digest..."
Today's Topics:
1. Versioning PerlCtrls (Dom Bush)
----------------------------------------------------------------------
Message: 1
Date: Wed, 6 Jul 2005 14:39:26 +0100
From: "Dom Bush" <dom_bush@[...].com>
Subject: Versioning PerlCtrls
To: "PDK list" <pdk@[...].com>
Message-ID: <GMECIJKDBEFIPONAGFBCMENMCHAA.dom_bush@[...].com>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I am currently doing some maintenance on a PerlCtrl and I am little confused
at what I need to update in the TypeLib.
####
=begin PerlCtrl
%TypeLib = (
PackageName => 'MyPackage::MyName',
DocString => 'My very own control',
HelpFileName => 'MyControl.chm',
HelpContext => 1,
TypeLibGUID => '{C42CC1CF-4B4D-4944-9115-78D61B8FFB19}', # do
NOT edit this line
ControlGUID => '{705B2CC2-E404-4CA6-8EF9-E31342E3010D}', # do
NOT edit this line either
DispInterfaceIID=> '{846DC658-C2BB-454B-AE43-9CB3E4C2FB16}', # or
this one
ControlName => 'MyObject',
ControlVer => 1, # increment if new object with same ProgID
# create new GUIDs as well
ProgID => 'MyApp.MyObject',
#####
Do I just increment the ControlVer to be 2 and leave it at that or do I
"create new GUIDs" as the line below seems to indicate? If it is the later
do I do just need to update TypeLibGUID and ControlGUID and leave
DispInferaceIID alone?
Many thanks,
Dom.
------------------------------
_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
End of PDK Digest, Vol 18, Issue 4
**********************************
_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|