C Sharp help on pointers unmanaged code

Discussion in 'C#' started by augusbas, Sep 5, 2010.

  1. augusbas

    augusbas New Member

    Joined:
    Sep 5, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,

    i am working on a C DLL which takes all inputs as pointer values...unmanaged code

    [DllImport("Ziee_Mask.dll")]
    unsafe public static extern void IQ_Data_to_Spectrum(double* Spec, double* Real, double* Img, Int32 len);

    where the inputs are real and img values should be read from a excel sheet and provided as input around 65536 values ...len is 65536(length) ..

    output is a array of data in "spec" ...

    i need to store the input data from excel sheet and pass to function and take output from spec and store it

    i tried some of the ways which ends up in hanging of forms ...I am new to c sharp....Somebody please help me...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice