Announcement

Collapse
No announcement yet.

Can RealBasic call PB dll

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can RealBasic call PB dll

    Hi,

    Like many of you I sometimes use VB to make my gui front end and call a Powerbasic dll to do my fast crunching.
    I learned of a mac basic called Realbasic ((http://www.realbasic.com) that now supports windows as well.

    Does anyone know if realbasic can call Powerbasic dlls?
    I was thinking of trying realbasic for making a gui (instead of vb) and still use PB for making fast dlls?

    Does anyone know anything about realbasic? Is it as bloated and slow as Visual Basic?

    Thanks,
    Brian


  • #2
    If "Realbasic" can use industry standard DLL's then it should be capable of using a PowerBASIC DLL - Realbasic's Tech Support (and documentation) should be able to answer this question.

    However, if all you want this additional language for it to create a GUI, then may I suggest that you may be looking in the wrong direction...

    So, maybe you could try out one of the free DDT generation tools, or even one of the commercial tools... EZGUI's free DDT Visual Designer www.ezgui.com will allow you to create your entire application with PB/DLL, and you'll eliminate the need to learn another language, deal with calling DLL's & parameter passing, BSTR (dynamic) string passing, etc (assuming that "realbasic" actually supports OLE/Dynamic/BSTR strings).

    Comments?

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      here are just a couple of the vb and resource script converters you could consider:


      rc2ddt:


      vb2ddt: http://www.powerbasic.com/files/pub/pbwin/vb/


      makeddt: http://www.powerbasic.com/files/pub/pbwin/ddt/


      there are a few more that have been discussed in the 3rd-party forum... try searching there for "visual" - you should find quite a few!

      i hope this helps!


      ------------------
      lance
      powerbasic support
      mailto:[email protected][email protected]</a>
      Lance
      mailto:[email protected]

      Comment


      • #4
        Interestingly, I've been watching a thread in alt.lang.basic about RealBasic...

        One guy was having trouble with the following line of code:
        Code:
            if c > ((2^(7-j))-1) then [b]<<-- ')' expected[/b]
        As you can see from the [bold] comment, RB complained about a missing close-parenthesis. Later in the thread, it transpired that RealBasic does not support the exponentiation (^) operator - you have to use the POW() function instead!

        Brilliant!



        ------------------
        Lance
        PowerBASIC Support
        mailto:[email protected][email protected]</A>
        Lance
        mailto:[email protected]

        Comment

        Working...
        X