C
c_xyTopa
hi all!
i have a c++ function, wich has to be invoked from c#.
c++ function looks like that:
uint Function(const Request* a, uint max, Result** b, const Result *c,
uint* d, void *cb)
typedef struct{
uint a,
wchar_t b,
Position p,
Position* p,
uint *c
}Request;
typedef struct{
uint a,
uint b
}Position;
1. how do i declare that function?
2. how do i declare the structs?
3. the other question is how i use the declared function?
i need to declare struct Request and pass a reference to a struct as
first parameter. the third parameter expects a reference to the pointer
to the struct. How can i solve that?
thanx in advance
i have a c++ function, wich has to be invoked from c#.
c++ function looks like that:
uint Function(const Request* a, uint max, Result** b, const Result *c,
uint* d, void *cb)
typedef struct{
uint a,
wchar_t b,
Position p,
Position* p,
uint *c
}Request;
typedef struct{
uint a,
uint b
}Position;
1. how do i declare that function?
2. how do i declare the structs?
3. the other question is how i use the declared function?
i need to declare struct Request and pass a reference to a struct as
first parameter. the third parameter expects a reference to the pointer
to the struct. How can i solve that?
thanx in advance