Question about WListBoxComposite sample plugin

Hello everyone,
I have a palette based on the WListBoxComposite sample plugin, now I need to change it(or completely replace it ) cause of new requirement. I used to have constant number of fields or columns with variables number of records corresponding with those fields/columns in this palette, now I get the number of fields/columns in runtime . My question is what would be the best approach to implement this ? to be more clear of what I want to do consider to want to show the personal information fields like name, address,....(that you you get them in runtime from a database) and want to show this information for employees in each row.
Thanks,
Kamran

In your resource file you have a resource for the rows you put into the tree:<br /><br />>resource WLBCmpNodeWidget (kWLBCmpListElementRsrcID + index_enUS)<br />>{<br />>>     __FILE__, __LINE__,<br />><     kWLBCmpListParentWidgetId, kPMRsrcID_None,     // WidgetId, RsrcId<br />>>     kBindLeft | kBindRight,               // Frame binding<br /><br />Place a frame (GenericPanelWidget) inside the this to contain the dynamic widgets.<br /><br />Now create resource type in the resource file for each type of widget you need in the line. At runtime you instantiate a widget for each field: <br /><br />>InterfacePtr<IControlView> iControlView ((IControlView*)::CreateObject(::GetDataBase(this), RsrcSpec(LocaleSetting::GetLocale(), kYourPluginID, kViewRsrcType, kYourWidgetRsrcID), IID_ICONTROLVIEW));<br /><br />>iControlView->SetFrame(frame);  // The frame is the place you want it inside the content panel<br /><br />>iControlView-> SetWidgetID();  // you need to calculate this also, as you don't know how many you will have<br /><br />>yourContentFrame->AddWidget(iControlView);  // of type IPanelControlData which you can get in you TreeViewWidgetMgr<br /><br />If you dont want to use the resource files you can create it dynamically and set all the parameter through function calls:<br />>IControlView* iControlView = (IControlView*)::CreateObject(kYourWidgetBoss,IID_ICONTROLVIEW);<br /><br />You can also use the  kWLBCmpListParentWidgetId as a content frame for the widgets, but you then need to remember to take into account other "static" widgets you might have in the line.

Similar Messages

  • Some question About title importer plugin

    We are developing a title importer plugin for CS6, and have some question, hope forums could help me. Thank you very much.
    1) Is there API to get title clip's in, out point in timeline ?
        in imImageRec data structures, these is a in/out point, but it is trim in/out point, is not timeline in/out, how to get these point ?
    2) Because we are also developing a subtitle importer for CS6, when user want to record the subtitle timecode, we hope we could control timeline play/stop, and get the playing/stopped callback, in same time, we could get the current playing position. But, it seems that these is no way to do this. I want to known, is there any plan to support these features in future ? Or, is there some work around methods to get these ?

    I really appreciate your reply, I will look for VideoSegmentSuite to get the in/out point.
    Q: Why we need timeline in/out of title clip ?
    A: Our titler could do animation, when user strench title clip in timeline, clip's length will be changed, we hope we could scale animiation to fit the new length. ( I means animation will be slower or faster with new length), in imImporterImageRec, there is a in/out point and postion, but, we found they are not correct in sometimes, and SDK help PDF tell me there is a API bug in it, is it fixed or not ?
    In another, in ImportImage API, we use (Rec->pos + Rec->in) / Rec->sampleSize to get real frame number for out title clip rendering when our title is imNoDurationNoDefault, we test it, it seems that it is right. But if our title is imNoDurationStillDefault, then Rec->pos and Rec->in and Rec->out are all based 90000+, and Rec->out was not right in some times (when we strench clip's outpoint in timeline), it is a bug or we missed something ? In this situation, we have to use (Rec->pos - Rec->in) / Rec->sampleSize to get the rendering frame number, it seems that it is right too. But, we could not use Rec->out, because it was wrong in sometimes.
    New questions:
    1) When we dragdrop our title files to timeline directly from windows explorer, Premiere will call imGetInfo8 (in here, we will allocate a private data for this clip), imOpenFile8, and there is no chance to call imGetPrefs8, so, when we close Premiere, imCloseFile will not be called for this clip, memory leaks for our private data. If we drag the title files to Premiere Bin firstly, then Premiere will call imGetPrefs8, imGetInfo8, imOpenFile8, there is no problem, imCloseFile will be called when we release this title clip. 
    So, my conclusion is: Premiere must call imGetPrefs8, else imCloseFile will not be called, I think it was a bug, isnot it?
    2) We have a title template library (they are all based template title file), and, we use OLE dragdrop (COleDataSource->DoDragDrop), when we drag-drop these files to Premiere Bin/Timeline/SourceMonitor/TargetMonitor, there is a lots of memory leaks in oledobj2.cpp (microsoft source code files for COleDataSource), we are sure our code is correct, because if we dragdrop to our windows or other NLE (for example, EDIUS), there is not any problem. So, I guess, because we use MFC, and Premiere did not support it fully? Do you have see this problem before ?  Do you have another suggestion to do these drag-drops ?
    3) About to get sequence start timecode, we see a thread in forum which said there is new sdk headers, use them, we could get it through PrSDKSequenceInfoSuite. But its downloading link is broken, so, how to get new SDK headers? could you give me a new link to download ?
    BTW, we are useing CS6 SDK Release2 + CS6, and will upgrade to 6.03 to test.
    Thank you very much. and Sorry for these lots of questions, I am new guy in Premiere plug-ins developing.

  • Question about VacationRequest sample

    Hi
    Thank you for reading my post.
    I have looked at some of Oracle SOA suite sample and one of them is VacationRequest under bpel demos folder.
    What i can not understand is who's job is to develop the web pages that are show in the
    http://localhost/integration/worklistapp/TaskList ?
    a page like :
    http://i12.tinypic.com/33wus8x.jpg
    does SOA suite generate it or developer should hard code the web ui?
    maybe it is the prototype test page, but any comment about this page with its good menu and them will be helpfull.
    thanks

    The SOA suite comes with a built in task list like that, but you can also create pages with this information on your own accessing the information from BPEL.
    For further SOA Suite question use their forum at:
    SOA Suite

  • Question about Pagecontrol sample app

    Hi,
    I've been looking at some sample apps to help with a beginners project that I'm doing. There is a Apple sample app for PageControl.
    The app delegate contains this code (I hope I'm OK to include this here, please tell if not)
    // replace the placeholder if necessary
    MyViewController *controller = [viewControllers objectAtIndex:page];
    if ((NSNull *)controller == [NSNull null]) {
    controller = [[MyViewController alloc] initWithPageNumber:page];
    [viewControllers replaceObjectAtIndex:page withObject:controller];
    [controller release];
    // add the controller's view to the scroll view
    if (nil == controller.view.superview) {
    CGRect frame = scrollView.frame;
    frame.origin.x = frame.size.width * page;
    frame.origin.y = 0;
    controller.view.frame = frame;
    [scrollView addSubview:controller.view];
    I've highlighted two lines and my question is: how can controller be used when it has already been released in the previous section?
    I'm very new to this and I thought that releaseing an object meant that you could no longer get to it?
    Many Thanks in advance
    Ziximo
    Message was edited by: Ziximo

    Objects aren't deallocated until their retain count goes to zero. When the controller is alloced its retain count is one. When the controller is added to the array its retain count is incremented to two. It's then released to reduce the count to one. Assuming the controller isn't retained by any other object, it will be dealloced when it's removed from (and thus released by) the array. - Ray

  • Questions about acrobat sdk plugins...

    Can a plugin developed for adobe acrobat professional 9.0 extended with acrobat 9 sdk, run in adobe acrobat professional 8.0, 7.0 or previous versions?
    I try to do that, and a error ocurs.
    And the other one, is not about the plugin itself, but about an option of acrobat professional 9.0 extended . It's possible to edit a pdf, add annotations.. with acrobat professional 9.0 extended when the pdf is open in a browser view?
    I try, but the options to do that were not available like "advanced editing".
    Thks,
    César

    No.  You must use the version of the SDK for the LOWEST version of Acrobat you wish to support.
    A plugin is not limited between browser and stand-alone - you can do the same things in both.

  • Question about Windows Media plugin(s) for MBP

    I like to listen to baseball games via Gameday Audio at MLB.com; however, it seems that I am unable to do so using my MacBook Pro because their service requires a Windows Media Player plugin for your web browser, and the WMP installer does not install one.
    I tried installing Flip4Mac, but that's not universal yet, so I've come up empty. Any other suggestions as to how I can work around this problem and listen to the games?
    Thanks in advance,
    Crissy
    MacBook Pro 2GHz Intel Core Duo   Mac OS X (10.4.6)   1 GB DDR2 SDRAM

    I can't get Gameday Audio to play on my MacBook Pro either. I've intalled the Flip4Mac patch (via Rosetta); the Flash plugin; Windows Media Player; Firefox for Intel-based Macs. I've tried opening Safari in Rosetta. I've had some success playing free video and audio from Major League Baseball in both Safari and Firefox. But whenever I log into the subscription audio service, it fails. Firefox tells me, "Additional plugins are required" but, when I agree to install them, it informs me that "no suitable plugins were found." For its part, Safari says, "Some content on this page requires an Internet plug-in that Safari doesn’t support. The application “Windows Media Player” may be able to display this content. Would you like to try?" I do try, but WMP is never up to the task: the rainbow spinner goes round and round and Force Quit confirms that WMP is "not responding." I'm invariably reduced to pulling out my old computer to hear the game. I've talked to MLB about this, and suspect that their stock advice for Mac users does not yet take into account Intel-based Macs. Do I have to wait on Flip4Mac to produce a patch specifically for Intel-based Macs. Can anyone recommend anything else?
    MacBook Pro   Mac OS X (10.4.6)  

  • A question about sst sample driver

    I have checked the Solaris 8 version of sst SCSI sample
    driver. There is one thing I couldn't understand:
    In the definition of sst_fill_cdb, sstprivp->priv_amt is used
    as transfer length. This variable is set to bp->b_bcount -
    pkt->pkt_resid in sst_make_cmd() when the pkt is allocated. But it is never updated during subsequent
    partial DMA transfers. Is this a bug or some thing other than the driver is updating this variable ( unlikely since
    this is private to the driver) ?
    Any explanations are very appreciated.

    Hi no1,
    Do these devices have drivers that you have installed? Do they have a driver application programming interface (API) that you can access, probably through a C++ DLL? I assume you're using LabVIEW (since this is the board you posted to). If you're using LabVIEW and you do have DLLs for your cards, you can use the Call Library Function Node or the Shared Library Import Wizard (which creates wrapper VIs for your DLL calls).
    Otherwise, you can use NI-VISA to communicate with your devices. Here is a tutorial how to configure a USB device using the VISA Driver Development Wizard (which would be analogous to Firewire), and here is an overview of VISA.
    You would read the data from device A and then write that data to device B, using either the DLLs or VISA, depending on which route you choose. Unless the devices have specific functions to transfer data to each other in their API, you will have to transfer the data by reading and writing the data in LabVIEW. I hope this helps!
    Regards,
    Missy S.
    Calibration Engineer
    National Instruments

  • Questions about the sample DB

    I am using the Siebel 8.0 sample DB to do the lab.
    But there is no Application-Administration screen.
    Can anyone help me?
    Thanks.

    The other thing to check is the Responsibilities and Views.
    But yes, it's odd this doesn't work out of the box.
    On second thought, you will need the Adminstration Screen for that.
    As a last resort, read this post Linking Siebel Sample DB and SQL Server
    and see if you can query the tables to see if everything is in place.

  • Question about authentication scheme plugin parameter

    Hi, <br>
    Could anyone kindly tell me what the below quoted "password" means ? <br>
    <br><b> validate_password      userPassword="password"</b><br><br>
    Is it the value of <b>userPassword</b> in my directory or just a parameter name that I should use when I use the HTTP form based call.<br>It would be even great if there is an example. Thanks!

    Hi Sino,
    When the values from the form reach the authentication scheme (e.g. name1=value1&name2=value2&name3=value3), it selects the values it wants its plug-ins to process by passing them in the "creds" challenge parameter (e.g. creds: name3 name2). "password" is just one such parameter name passed to the plug-ins so that the value can be used to process authentication.
    This value is used by the validate_password plug-in to bind to the user directory for authenticating the user who has been identified by preceding plug-in(s).
    So both your guesses are partly correct - it is related to the HTTP form field and it is related to the userPassword attribute in your directory. Hope the explanation helps in understanding the caveats to the guesses. Also, it would help if you experiment with these parameters a little and observe the changes in behaviour and any errors displayed.
    One other thing..shouldn't it be -
    validate_password obCredentialPassword="password"
    -Vinod

  • A simple question about DAQ data sampling

    Hi all:
    Now I meet a very basic question about DAQ sampling.  I am using NI PCI-6040E DAQ card, SCXI-1001 chasis, SCXI-1102, SCXI1300 terminal block, and SCXI1160 relay module.
    I am not sure , is it possible if I want to test a voltage (1 volt) on a resistor. Now I am connecting the Ch0+ to resistor+ (24 volt), and connecting Ch0- to resistor-(23 volt). So the voltage between resistor+ and resistor- should be 1volt.  Actually, It is working at the first, but after I want to test 9 channels based on this connection. The Measurement & Automation can't read data from the DAQ card. (when I test it by multimeter, I can get the voltage data on the Ch0+ and Ch0- of SCXI1300 terminal block).
    That's strange, does anybody know what' s wrong about it?/
    Thanks a lot

    Hi hanwei,
    According to the specifications of the PCI 6040E (page 3), the input signal and common mode voltage should never exceed 11V from ground.  I believe this is the reason you are able to measure the potential of a battery but not the 24V signal (even though the differential value is only 1V). 
    Best Regards
    Hani R.
    Applications Engineer
    National Instruments

  • Question about EIGRP's feasible successor

    Hi,
    I read article "Who's Afraid of DUAL-3-SIA?" on http://www.cisco.com/en/US/partner/about/ac123/ac114/ac173/Q2-05/tech_routing.html
    there is a sample to explain a new IOS feature.
    But I have a question about that sample,
    why Router C can't be Router A's feasible successor?
    IF C is A's feasible successor, A can declare C as the alternate route as soon as receive B's query.
    Am I misunderstanding the concept of feasible successor? can anybody give me some hint?
    thank you all!
    Regards,
    sha

    HI Sha,
    There is no mention of any values for bandwidth and load in the topology in that link.
    What I see that the link between router A to Router B is gigabit which means the bandwidth will be gbps. Now the link between Router A to Router C is only T1 which will be 1.54 MBPS. Much difference.
    Now when Eigrp will calculate the metric the best metric will be from router C and that will become the best path. Now it will also check the reported distance from router C. If the reported distance from Router C will be more then the best metric which is been calculated from Router B it will never become feasible succ.
    In short to become the feasilbe succ its reported dist should be less then the Feasible distance.
    This link will give a better pic.
    http://www.cisco.com/warp/customer/103/eigrp-toc.html#eigrpmetrics
    HTH
    Ankur

  • Basic questions about programing for J9 VM

    I need to create a java application to run on a Pocket PC 2003 OS and I'm limited to using IBM's Websphere J9 Virtual Machine. I'm new to using java in this capacity and therefore have lots of questions which I'm guessing are pretty basic. Despite my best efforts, I've found very little to help me online. Below are a couple questions I have that I'm hoping someone can help me with. Even better, if you know of any resources that could help me with these and other questions, I'd love to have them. Thanks in advance.
    1. I'm using standard AWT for the GUI but I'm having problems getting frames, dialogs, etc., to come up in anything less then full screen. setSize() and resize() have no effect, even if I extend the frame and override the setMinimumSize, setPreferredSize, setMaximumSize methods. What do I need to do to get a child window to appear in something less than full screen?
    2. I'd like to be able to add menu's to the buttom toolbar (with the keyboard) but have no idea how I would add something to it. Can someone point me in the right direction?
    3. When my application gets an iconified event I go ahead and call a System.exit() to exit the application. This doesn't kill the java VM though, which continues to run in the background (taking up plenty of memory). If I run my application using the J9w.exe so that it runs without the console, then not only does the VM continue to run, but I have no way to stop it (the running program list can't see it). Since each time I run my application it starts a new VM, it only takes a couple of times before I'm out of memory and have to do a soft reset of the PDA to make things right. Can I kill the VM when I kill my application?
    4. I learn best by looking at example code, but have been unable to find any code people are running on J9. I have the GolfScoreTracker installed and running on my PDA, but the jar file contains only the classes. Since it's supposed to be a demo, I had hoped that the source code would be included, is that hoping too much or is the source code available somewhere? In addition, if you know of any applications out there with available source code that are known to run well on a PocketPC J9 environment I'd appreciate the link.

    Hi there, I saw your questions, im currently developing a java pocket pc application as well and here's what i go so far:
    AWT seem to be hard to use on pocket pc, instead i recommend that you use SWT, which is a technology developed by eclipse. It's already installed on the eclipse plugins, you just need to download the jar and dll files for the pocket pc. They are available at: http://www.eclipse.org/downloads/index.php
    I assume that you already have the J9 working on your device. So you only need to copy the SWT.jar file and the swt-win32-3064.dll to the folder containing the .class files on your device.
    Now, on your java IDE(im using eclipse) Add the SWT.jar library to your project which should be on C:/eclipse/plugins/org.eclipse.swt.win32_3.0.2/ws/win32/swt.jar or something like taht depending on your eclipse root.
    Now you are ready to code some SWT, here is a sample program from Carolyn MacLeod, i modified a few things so it could run on the pocket pc but it's almost the same. Once you coded in eclipse run it, then copy the class file from your desktop to your device(There should be like 4 or 5 classes like sample.class, sample$1.class etc. copy all of them) where you put the jar and dll files(If program does not run you may try to rename the dll file for swt-win32-3050.dll instead of 3064.dll). Now after you have everything set up you need to create the lnk file in order to run the program. On your desktop create a new textfile and write the following on it:
    255#"\Archivos de Programa\J9\PPRO10\bin\j9w.exe" "-jcl:PPRO10" "-cp" "\My
    Documents\Java\swt.jar" ;\My Documents\Java" sample
    Paths depend on your install, and the place where you put your classes and jar file. path for j9w is usually "\Program Files\J9\PPRO10\bin\j9w.exe", and the last word should be the classname.
    Currently this form only displays an image on a canvas, click on the browse button and choose a pic and it will display on the canvas. Im trying to connect the form to an oracle database but no success yet on the device.
    Hope it helps, if you have any questions about the code or something, and I know the answer, please feel free to ask.
    See ya
    import org.eclipse.swt.*;
    import org.eclipse.swt.widgets.*;
    import org.eclipse.swt.layout.*;
    import org.eclipse.swt.events.*;
    import org.eclipse.swt.graphics.*;
    public class sample {
    static Shell shell;
    static Display display;
    static Text dogName;
    static Text textdb;
    static Combo dogBreed;
    static Canvas dogPhoto;
    static Image dogImage;
    static List categories;
    static Text ownerName;
    static Text ownerPhone;
    static String[] FILTER_EXTS = {"*.jpg"};
    public static void main(String[] args) {
    display = new Display();
    shell = new Shell(display, SWT.RESIZE | SWT.CLOSE);
    Menu menu = new Menu(shell, SWT.BAR);
    shell.setText("Dog ShowS Entry");
    shell.setMenuBar(menu);
    GridLayout gridLayout = new GridLayout();
    gridLayout.numColumns = 3;
    shell.setLayout(gridLayout);
    new Label(shell, SWT.NONE).setText("Dog's NameS:");
    dogName = new Text(shell, SWT.SINGLE | SWT.BORDER);
    GridData gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    gridData.horizontalSpan = 2;
    gridData.widthHint = 60;
    dogName.setLayoutData(gridData);
    new Label(shell, SWT.NONE).setText("Breed:");
    dogBreed = new Combo(shell, SWT.NONE);
    dogBreed.setItems(new String [] {"Collie", "Pitbull", "Poodle", "Scottie"});
    dogBreed.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    Label label = new Label(shell, SWT.NONE);
    label.setText("Categories");
    label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    new Label(shell, SWT.NONE).setText("Photo:");
    dogPhoto = new Canvas(shell, SWT.BORDER);
    gridData = new GridData(GridData.FILL_BOTH);
    gridData.widthHint = 60;
    gridData.verticalSpan = 3;
    dogPhoto.setLayoutData(gridData);
    dogPhoto.addPaintListener(new PaintListener() {
    public void paintControl(final PaintEvent event) {
    if (dogImage != null) {
    event.gc.drawImage(dogImage, 0, 0);
    categories = new List(shell, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL);
    categories.setItems(new String [] {
    "Best of Breed", "Prettiest Female", "Handsomest Male",
    "Best Dressed", "Fluffiest Ears", "Most Colors",
    "Best Performer", "Loudest Bark", "Best Behaved",
    "Prettiest Eyes", "Most Hair", "Longest Tail",
    "Cutest Trick"});
    gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_FILL);
    gridData.widthHint = 60;
    gridData.verticalSpan = 4;
    int listHeight = categories.getItemHeight() * 12;
    Rectangle trim = categories.computeTrim(0, 0, 0, listHeight);
    gridData.heightHint = trim.height;
    categories.setLayoutData(gridData);
    Button browse = new Button(shell, SWT.PUSH);
    browse.setText("BrowsePic");
    gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    gridData.widthHint = 60;
    browse.setLayoutData(gridData);
    browse.addSelectionListener(new SelectionAdapter() {
         public void widgetSelected(SelectionEvent event) {
              FileDialog dialog = new FileDialog(shell, SWT.OPEN);
              dialog.setFilterExtensions(new String[] {"*.*"});
              String fileName = dialog.open();
    if (fileName != null) {
    dogImage = new Image(display, fileName);
    shell.redraw();
    Button delete = new Button(shell, SWT.PUSH);
    delete.setText("No action");
    gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_BEGINNING);
    gridData.widthHint = 60;
    delete.setLayoutData(gridData);
    delete.addSelectionListener(new SelectionAdapter() {
    public void widgetSelected(SelectionEvent event) {
    Button enter = new Button(shell, SWT.PUSH);
    enter.setText("No action");
    gridData = new GridData(GridData.HORIZONTAL_ALIGN_END);
    gridData.horizontalSpan = 3;
    enter.setLayoutData(gridData);
    enter.addSelectionListener(new SelectionAdapter() {
    public void widgetSelected(SelectionEvent event) {
         shell.open();
         while (!shell.isDisposed()) {
              if (!display.readAndDispatch())
                   display.sleep();
         display.dispose();
    if (dogImage != null) {
    dogImage.dispose();
    }

  • Basic Questions About Compiling Source

    Hi!
    I have some very basic questions about compiling source on 10.6. BTW, if the unix discussions still exist, they've hidden them pretty well, so I hope I'm in the right place for this!
    First off, you simply cd to the source dir, wherever it may be - in my case ~/Downloads/source/  - and during the install process, everything will be installed in its proper dir, right?
    How do you know which compiler to use? There seem to be several: make, gmake, gcc, g++, etc...
    Once you do figure out which compiler to run, the process is supposed to go like this, right?
    ./configure
    make (or whatever)
    make install
    But this doesn't always work for me. For instance, I'm trying to compile 'arm', but it doesn't seem to have a 'configure' script.
    $ ls ~/Downloads/arm
    ChangeLog
    README
    armrc.sample
    setup.py
    LICENSE
    arm
    install
    /src
    Maybe it's that 'setup.py' file? What are you supposed to do?
    Of course, it's not only this one that's given me trouble. Sometimes the readme will say I have to edit a certain file for my system. Are there just a few standard changes you always make? Or is it...how can I put it...complicated? How do you find out what's needed in those cases?
    OS 10.6.8
    Xcode 3.2.4
    Python 2.7

    sudont wrote:
    I have some very basic questions about compiling source on 10.6. BTW, if the unix discussions still exist, they've hidden them pretty well, so I hope I'm in the right place for this!
    This is the place for UNIX discussions. If you have developer-related questions, there is a forum dedicated to that as well: Developer Forums
    First off, you simply cd to the source dir, wherever it may be - in my case ~/Downloads/source/  - and during the install process, everything will be installed in its proper dir, right?
    Yes. Hopefully the project you want to install follows standard conventions. If so, you can do "./configure", then "make", and finally "sudo make install" to install the software into "/usr/local".
    How do you know which compiler to use? There seem to be several: make, gmake, gcc, g++, etc...
    The make file will figure that stuff out.
    Once you do figure out which compiler to run, the process is supposed to go like this, right?
    ./configure
    make (or whatever)
    make install
    Yes, with the addition of "sudo" before "make install" because "/usr/local" is owned by root.
    But this doesn't always work for me. For instance, I'm trying to compile 'arm', but it doesn't seem to have a 'configure' script.
    $ ls ~/Downloads/arm
    ChangeLog
    README
    armrc.sample
    setup.py
    LICENSE
    arm
    install
    /src
    arm? You mean "arm (anonymizing relay monitor) - Terminal status monitor for Tor relays." You really don't want to be messing with that stuff. The only people involved with Tor that are trustworthy are US Navy intelligence who have their own uses for it. If you don't understand it as well as they do, best stay away.

  • "Error loading plugins" on sample plugin

    This is happening on a new installation of the Illustrator CS6 and new, out-of-the-box builds of sample plugins.
    I tried MenuPlay and Annotator in both Debug and Relese with the same error on AI startup.
    Here is what I do:
    - open xcode project for a selected sample plugin. Build it - both debug and relese configuration,
    - copy the AIP file to /Applications/Adobe Illustrator CS6/Plug-ins.localized,
    - also:
         changed the owner and permissions of the plugin to be root:admin and rwxrwxr-x,
         moved plugins to a new directory inside Plug-ins and in the place outside of
             /Applications/Adobe Illustrator CS6/ tree with the location specified in Preferences
    Any idea what's causing this?

    Joe, Unfortunately your symptoms are slightly different than the original posters. Bunny's issue is odd because the plug-in loads on some machines and not others. I'm afraid I'm stumped there.  But Joe, I think we could help you if we had some more information about the process you went through to get your samples loaded. It really could be a lot of things at this point. And it would help to know if you're developing on a windows or mac OS, etc. Did you follow the procedures in the "Getting Started Guide" in the docs folder of the SDK?

  • A question about design of Java Application on java card.

    Hi every one,
    I have a question about design of Java applet on java card,
    There is an application on my card that it is not java card, it include a DF and some EF under DF, I would like to know if I want to have this application on java card ,how can I design DF and EF on java card ,I mean is there any relation between DF,EF with applet and file? for example can I say DF is same as applet and EF is same as file?
    I'll appreciate for any help .
    yours sincerely,
    orchid

    hi
    you can write a java class for DF.
    an instance of DF class have some EF objects.
    for example,
    samples/com/sun/javacard/samples/JavaPurse/CyclicFile.java
    implements ISO 7816 CyclicFile ( EF )
    see also:
    http://forum.java.sun.com/thread.jspa?threadID=673745&messageID=3936272
    best regards,
    siavash

Maybe you are looking for