in

Kodigo

An all purpose Powerbuilder framework

Issues on exe building

Last post 03-30-2008 18:47 by yeyi. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 03-28-2008 11:21

    • yeyi
    • Top 10 Contributor
    • Joined on 02-01-2008
    • Singapore
    • Posts 127

    Issues on exe building

    OK, this issue is pretty serious. Everytime I build an exe using the current Kodigo 4, it only runs on the machine it was built on. If I deploy on a different machine, it does not run. The error is always PBNI related, if I rebuild the PBD on said machine, the exe will run w/o errors.

    Can someone please verify my findings? If this is true, I may have to rethink the PBNI part. It is important that when an exe is delivered, it should run without having o rebuild the PBD on target machine.

    Filed under:
  • 03-28-2008 12:50 In reply to

    • premjy
    • Top 10 Contributor
    • Joined on 03-27-2008
    • Posts 6

    Re: Issues on exe building

    Hi Yeyi

    I have tried that at my end, it seems, that it has become mandatory to rebuild the exe on the every node where we are installing this Client Application.

    Any support required count me too, so that I could learn from you.

    Premji

  • 03-28-2008 13:01 In reply to

    • yeyi
    • Top 10 Contributor
    • Joined on 02-01-2008
    • Singapore
    • Posts 127

    Re: Issues on exe building

    Thanks for the confirmation, Premji. I'll try a different approach and will let you know.
    Filed under:
  • 03-29-2008 20:28 In reply to

    Re: Issues on exe building

    I have tried it and it works fine for me. Previously I had only downloaded it at work. I have PB 10.2.1 Build 9004. Here is what I did:

    Downloaded zip file and extracted

    Deleted and recreated kodigoPBNI.pbd using pbx2pbd100

    Created a new Project and compiled the program with Full Rebuild option

    Created a Deploy subdirectory and copied .exe, .pbx and all .pbd files to Deploy

    Copied PB runtimes to Deploy: libjcc.dll, libjutils.dll, pbdwe100.dll, pbshr100.dll & pbvm100.dll

    Then I copied the Deploy directory to two other computers in my house. Both worked no problem. One of the computers only has PB9 installed on it.

    All three of my computers are Windows XP SP2 Home standard USA edition.

    There must be some kind of version mismatch. The PBNI .pbd seems to be very picky about that.

     

  • 03-29-2008 22:51 In reply to

    • yeyi
    • Top 10 Contributor
    • Joined on 02-01-2008
    • Singapore
    • Posts 127

    Re: Issues on exe building

    Thanks for the reassurance, Roland, I will have to test it again on other machines at work just to be sure.

    At any rate, I managed to come up with a non-PBNI version, just a straight DLL. It works alright, just not as fast as PBNI, but good enough. If I can improve the performance, this might be a better alternative. But I won't give up on PBNI just yet.

    Filed under: ,
  • 03-30-2008 6:44 In reply to

    Re: Issues on exe building

    If you figure out the PBNI deploy issue, you could keep the DLL version for older PB versions that don't support PBNI. I have all versions PB6 and later.

  • 03-30-2008 18:47 In reply to

    • yeyi
    • Top 10 Contributor
    • Joined on 02-01-2008
    • Singapore
    • Posts 127

    Re: Issues on exe building

    Hi Premji, Roland

    Thanks again for trying out the issue. I have posted a new Preview w/c replaces PBNI w/ a straight DLL. The performance and feature set is exactly the same, but it provides more stable debugging in PB and of course deployment. This will also open up the possibility of porting Kodigo to earlier versions of Powerbuilder, even before PB9 (1st PBNI support).

    I'm still doing some cleaning and performance tuning, stay tuned.

    Filed under: , ,
Page 1 of 1 (7 items)
Gabriel Abulencia dela Torre 2008
Powered by Community Server (Non-Commercial Edition), by Telligent Systems