Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
GeneralRe: Application Global Properties Pin
John Baird18-Apr-04 2:31
John Baird18-Apr-04 2:31 
GeneralRe: Application Global Properties Pin
CWIZO18-Apr-04 3:51
CWIZO18-Apr-04 3:51 
GeneralRe: Application Global Properties Pin
John Baird18-Apr-04 3:55
John Baird18-Apr-04 3:55 
GeneralRe: Application Global Properties Pin
CWIZO18-Apr-04 4:32
CWIZO18-Apr-04 4:32 
GeneralRe: Application Global Properties Pin
Heath Stewart19-Apr-04 2:35
protectorHeath Stewart19-Apr-04 2:35 
GeneralRe: Application Global Properties Pin
Anonymous19-Apr-04 2:52
Anonymous19-Apr-04 2:52 
GeneralRe: Application Global Properties Pin
Heath Stewart19-Apr-04 3:12
protectorHeath Stewart19-Apr-04 3:12 
Questionwhat should I do? marhal or unsafe??? Pin
Paolo Ponzano18-Apr-04 0:51
Paolo Ponzano18-Apr-04 0:51 
Hi, I think in a near time you'll hate me, I'm porting code from C to C#, I've this structure define in unrar.h

<br />
struct RAROpenArchiveDataEx<br />
{<br />
  char         *ArcName;<br />
  wchar_t      *ArcNameW;<br />
  unsigned int OpenMode;<br />
  unsigned int OpenResult;<br />
  char         *CmtBuf;<br />
  unsigned int CmtBufSize;<br />
  unsigned int CmtSize;<br />
  unsigned int CmtState;<br />
  unsigned int Flags;<br />
  unsigned int Reserved[32];<br />
};<br />


and should be used by unrar.dll's function
HANDLE PASCAL RAROpenArchiveEx(struct RAROpenArchiveDataEx *ArchiveData);

I tryied using mashalling to mirror dll's structure in C#, but invoking RAROpenArchiveEx it hangs up, supposing due to the pointer to ArchiveData....

How should I go on? I don't know how to convert

unsigned int Reserved[32];
wchar_t *ArcNameW;

thanks....
AnswerRe: what should I do? marhal or unsafe??? Pin
Daniel Turini18-Apr-04 1:14
Daniel Turini18-Apr-04 1:14 
GeneralRe: what should I do? marhal or unsafe??? Pin
Paolo Ponzano18-Apr-04 1:30
Paolo Ponzano18-Apr-04 1:30 
GeneralRe: what should I do? marhal or unsafe??? Pin
leppie18-Apr-04 4:50
leppie18-Apr-04 4:50 
GeneralRe: what should I do? marhal or unsafe??? Pin
Paolo Ponzano18-Apr-04 8:37
Paolo Ponzano18-Apr-04 8:37 
AnswerRe: what should I do? marhal or unsafe??? Pin
Heath Stewart19-Apr-04 2:42
protectorHeath Stewart19-Apr-04 2:42 
GeneralRe: what should I do? marhal or unsafe??? Pin
Paolo Ponzano19-Apr-04 7:43
Paolo Ponzano19-Apr-04 7:43 
GeneralRe: what should I do? marhal or unsafe??? Pin
Heath Stewart19-Apr-04 8:45
protectorHeath Stewart19-Apr-04 8:45 
GeneralRe: what should I do? marhal or unsafe??? Pin
Paolo Ponzano19-Apr-04 9:14
Paolo Ponzano19-Apr-04 9:14 
QuestionWhat component should i use? Pin
hfuiew17-Apr-04 23:51
hfuiew17-Apr-04 23:51 
AnswerRe: What component should i use? Pin
Mazdak18-Apr-04 0:25
Mazdak18-Apr-04 0:25 
AnswerRe: What component should i use? Pin
Suelinda_W26-Apr-04 6:02
Suelinda_W26-Apr-04 6:02 
GeneralReading all IP add in Local network Pin
sreejith ss nair17-Apr-04 23:15
sreejith ss nair17-Apr-04 23:15 
GeneralRe: Reading all IP add in Local network Pin
leppie18-Apr-04 0:49
leppie18-Apr-04 0:49 
GeneralRe: Reading all IP add in Local network Pin
Anonymous18-Apr-04 3:11
Anonymous18-Apr-04 3:11 
GeneralRe: Reading all IP add in Local network Pin
Dave Kreskowiak18-Apr-04 4:47
mveDave Kreskowiak18-Apr-04 4:47 
Generallocking problem in continous insert Pin
dabuskol17-Apr-04 22:19
dabuskol17-Apr-04 22:19 
GeneralRe: locking problem in continous insert Pin
leppie17-Apr-04 22:59
leppie17-Apr-04 22:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.