Search:

Type: Posts; User: LiamC

Search: Search took 0.02 seconds.

  1. Re: Working with an external 32bits dll in a x64 environment

    Hi Passel,

    I will paste some of my modified code as I've managed to get the example working both ways: x64->x86 and back x86->x64.

    For the moment, as I think you mentionned, the start of the...
  2. Re: Working with an external 32bits dll in a x64 environment

    The driver functions are indeed synchronous, or what I call synchronous so I'll define it briefly:

    If I use GroupMoveAbsolute to move an axis, let's say X, the controller will proceed with a...
  3. Re: Working with an external 32bits dll in a x64 environment

    Hi Thanks for your answer,

    I've read through it only once and quite rapidly but as I've understood:

    1. The fact the receiver already has a thread waiting for some input data doesn't prevent it...
  4. Re: Working with an external 32bits dll in a x64 environment

    2. The X86 Receiver looks like this:

    '

    Imports System.Threading ' needed for separate threads
    Imports System.Net
    Imports System.Net.Sockets 'needed for UDP transfer

    Imports...
  5. Re: Working with an external 32bits dll in a x64 environment

    Hi ,

    I'm going to paste some of my code (functional as far as I know) as it should clear some areas.

    So here it is:

    1. The X64 Sender looks like this atmo

    '
  6. Re: Working with an external 32bits dll in a x64 environment

    I need a micrometric resolution on the translation stages so it would be better not to round/floor the values. Plus, I have some negative values for 2 stages as they go from -25 to +25mm so it may...
  7. Re: Working with an external 32bits dll in a x64 environment

    Hi, thx for the speed of the answer once again,

    I see where I was confusing things with doubles and bytes.

    I think I have to clarify though: the first part with the integers is not in the same...
  8. Re: Working with an external 32bits dll in a x64 environment

    Hi Passel,

    I transformed the parts of this code successfully into what is my first step, i.e. "simple" communication between X64 and X86 app.

    Instead of the mouse coordinates I'm feeding the...
  9. Re: Working with an external 32bits dll in a x64 environment

    Hi passel,

    Well it is exactly what I'm looking for: A receiver.exe that is started from the x64 sender as soon as it needs it and not displaying an open form.

    Even if it's minimized it should...
  10. Re: Working with an external 32bits dll in a x64 environment

    Hi,

    @passel: I've tested your code and it really looks good and close to what I would aim for !

    Two integers (4 digits longs xxxx type, coordinates) sent from the main (x64 image processing...
  11. Re: Working with an external 32bits dll in a x64 environment

    Thx a lot passel for your inputs !



    In the list there are the GroupMoveAbsolute and GroupMoveRelative functions, and then you can retrieve values with GroupPositionCurrentGet for example.
    ...
  12. Re: Working with an external 32bits dll in a x64 environment

    OK, that seems like a very useful answer passel !

    First, Thank you very much for your time !

    I should have an answer in a couple of days about the x64 dll from the company designing the...
  13. Re: Working with an external 32bits dll in a x64 environment

    thanks for this input Jenner ! much appreciated.

    Is a x64 compiled form compatible/capable of launching an external x86 app ? It has to be a console app though ?

    I've never used console mode...
  14. Re: Working with an external 32bits dll in a x64 environment

    I've asked for a x64 version of the "XPS_Q8_driver.dll" obviously. I'm waiting for an answer from the developer team at Newport Corp.

    If there is no x64 version, what would be a path to use both...
  15. Re: Working with an external 32bits dll in a x64 environment

    I forgot to mention that I'm using VB.NET with Visual Studio 2010 Express / .NET Framework 4
  16. Working with an external 32bits dll in a x64 environment

    Hi everyone,

    I came across some problems recently with two forms that were used independantly and that absolutely need to co-exist (either linked or copied into only one form).

    Here is the...
Results 1 to 16 of 16



Click Here to Expand Forum to Full Width