Search:

Type: Posts; User: s29ers

Search: Search took 0.07 seconds.

  1. Replies
    37
    Views
    11,099

    Re: [RESOLVED] Looking for advice on 64-Bit COM

    UPDATE 3

    Well moving along, I've almost got it working.

    I finally figured away around the ParamArray issue: just pass the first element of the array to ByRef parameter. So my declarations as...
  2. Replies
    37
    Views
    11,099

    Re: [RESOLVED] Looking for advice on 64-Bit COM

    Update #2

    On this page:
    https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/data-types/user-defined-data-type

    Microsoft states that:
    "If you are interfacing with...
  3. Replies
    37
    Views
    11,099

    Re: [RESOLVED] Looking for advice on 64-Bit COM

    As an update I think I see the problem: Visual Basic's Long data type is 8 bytes instead of 4. But this created new problems. :(

    So although the return value from CLSIDFromString is 4 bytes, it's...
  4. Replies
    37
    Views
    11,099

    Re: [RESOLVED] Looking for advice on 64-Bit COM

    Well after thinking I had got @qvb6's code in msg #24 working, it turned out not to be quite so simple.

    I ran into some problems and was wondering if anyone can shed some light on what to do as...
  5. Replies
    37
    Views
    11,099

    Re: [RESOLVED] Looking for advice on 64-Bit COM

    @jpbro and @Joe Caverly, Many thanks for the quick replies which together with the code from @qvb6 in msg #24 has worked! Thanks again to all.
  6. Replies
    37
    Views
    11,099

    Re: [RESOLVED] Looking for advice on 64-Bit COM

    Hi jpbro

    I'm a novice programmer and I'm trying to call the 64b redemption.dll via COM from a 32b app.

    I was looking at post #24 from qvb6 and in his vb file, he has this line:

    Const...
Results 1 to 6 of 6



Click Here to Expand Forum to Full Width