Search:

Type: Posts; User: josipradnik

Search: Search took 0.01 seconds.

  1. Replies
    26
    Views
    3,193

    Hi Fabio, You should show me error text or a...

    Hi Fabio,

    You should show me error text or a screenshot.

    I suppose your C# does not start with

    using System.Runtime.InteropServices;
  2. Replies
    26
    Views
    3,193

    I need not to worry about registering it because...

    I need not to worry about registering it because C# project has set in its Properties,
    Tab "Build Events",
    in "Post-build event command line" something like that:


    "C:\Program Files...
  3. Replies
    26
    Views
    3,193

    Nothing shows. No .F. result. Debug_client.txt:

    Nothing shows. No .F. result.

    Debug_client.txt:
  4. Replies
    26
    Views
    3,193

    If I properly understand where to put int(), ...

    If I properly understand where to put int(),


    ?ox2.dynamicCall("foxproc5(int(),int()",3,4)
    .F.

    Beta5, the same result in all four variants.
  5. Replies
    26
    Views
    3,193

    I made 4 variants of procedure's returned value...

    I made 4 variants of procedure's returned value (foxproc2,foxproc3,foxproc4,foxproc5):

    2217

    According debug_client.txt It is irrelevant for dynamicCall():
  6. Replies
    26
    Views
    3,193

    After? Here it is:

    After?
    Here it is:
  7. Replies
    26
    Views
    3,193

    SET DEBUG ON before ox2 =...

    SET DEBUG ON
    before ox2 = CreateObject("vfpcomserver2.vfpcom2")
    then exiting Lianja to see debug_client.txt

    This is the content of debug_client with signature of foxproc2:



    Opening Lianja...
  8. Replies
    26
    Views
    3,193

    Nope. This does not work for me either: ...

    Nope. This does not work for me either:


    ?ox2.dynamicCall("foxproc2(int,int)",3,4)
    .F.


    I was playing here with QString instead of int, too. Function dynamicCall works only if there are no...
  9. Replies
    26
    Views
    3,193

    Wow, there are lot of information in...

    Wow, there are lot of information in debug_client.txt on ox2 = CreateObject("vfpcomserver2.vfpcom2")
    (needed to exit Lianja to open the file):



    In my case I wrongly declared foxproc2...
  10. Replies
    26
    Views
    3,193

    Hi Barry, I had a problem with your second...

    Hi Barry,

    I had a problem with your second link (maybe because this is MSDN blog, and my MSDN subsription is expired).
    For others interested in, here is the correct link:...
  11. Replies
    26
    Views
    3,193

    Steps: In VFP 2209 ... after DO...

    Steps:

    In VFP

    2209


    ... after DO BUILDVFPCOM.PRG in VFP console (see time shown)

    ...testing the object in VFP:
  12. Replies
    26
    Views
    3,193

    Hi Fabio, This solution is for DO...

    Hi Fabio,

    This solution is for

    DO vfpcomserver.prg

    on the same machine where you will CREATEOBJ and use it.

    VFP was doing COM registration with regsvr32 for you.
    Otherwise, you need to...
  13. Replies
    26
    Views
    3,193

    Hi Fabio, Here is how I managed to use C# DLL...

    Hi Fabio,

    Here is how I managed to use C# DLL with a little help of VFP (desktop app):
    https://www.lianja.com/community/showthread.php?2739-NET-COM-in-Lianja-Workaround

    Josip
Results 1 to 13 of 13
Journey into the Cloud
Join us