Search Result

Collapse
2 results in 0.0014 seconds.
Keywords
Members
Tags
legacy
  •  

  • How to convert/marshall C Function and DLL Structure type to C#

    Hi,

    Can someone please help me convert my C structure/function into C#? I really need this badly...
    I believe I can call the DLL properly if I have able to correctly convert the function and marshal properly my structure.

    Here is my struct and the function that uses it:
    Code:
    typedef struct UIclient_info {
    	char name[50];
    	int age;
    	SECONDUSER *stParent;
    } FIRSTUSER;
    ...
    See more | Go to post

  • slao
    started a topic Converting a Hex values to date in C#

    Converting a Hex values to date in C#

    I have a program that has dates stored in binary and displayed on the program as YY/MM/DD format. I use XVI32(http://www.chmaas.hand shake.de/delphi/freeware/xvi32/xvi32.htm) to look at the binary file in Hexadecimal and got the following results

    For example,

    Hex value: 31 07 01 00
    Date value: 85/06/18 (in YY/MM/DD format)

    Another example,

    Hex value: EF 1B 01 00
    Date value:...
    See more | Go to post
Working...