ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk
pdk
Versioning PerlCtrls
by Dom Bush other posts by this author
Jul 6 2005 6:48AM messages near this date
RE: PDK Digest, Vol 18, Issue 4 | Can't build wxperl 0.23 applications under PerlApp 5.3.0
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved