I have a x.lib which was made in c++.
In the vc ++ appln we created linked lists (out of structures) and passed them on to these libraries.
We want to expose the functionality available in this library as a web service.
I started constructing a linked list in C#.
public unsafe struct MarketData
public int AuthorId;
public string LastName;
public string FirstName;
public unsafe MarketData * next;
In my web service method I write
MarketData MktData ;
MarketData * mkt2;
MarketData * mkt1 ;
// acceess database to load rdrCache
MktData = new MarketData();
MktData->x = RdrCache.getInt32(0);
MktData->next = null;
Mkt1 = MktData;
Mkt1->next = new MarketData();
Mkt1 = Mkt1->next ;
Mkt1->x = RdrCache.getInt32(0);
Mkt1->next = null;
How can I implement this ?