Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
QuestionExporting data from CVS and entering into MSSQL table Pin
hasanali006-Oct-05 6:01
hasanali006-Oct-05 6:01 
AnswerRe: Exporting data from CVS and entering into MSSQL table Pin
Guffa6-Oct-05 7:43
Guffa6-Oct-05 7:43 
GeneralRe: Exporting data from CVS and entering into MSSQL table Pin
hasanali006-Oct-05 23:23
hasanali006-Oct-05 23:23 
QuestionReflection onto Assemblies with dependencies Pin
MrEyes6-Oct-05 5:56
MrEyes6-Oct-05 5:56 
AnswerRe: Reflection onto Assemblies with dependencies Pin
Tom Larsen6-Oct-05 8:47
Tom Larsen6-Oct-05 8:47 
Questiondataset Pin
amin saffari6-Oct-05 5:12
amin saffari6-Oct-05 5:12 
QuestionP/Invoke Pin
Member 18186146-Oct-05 3:54
Member 18186146-Oct-05 3:54 
AnswerRe: P/Invoke Pin
mav.northwind6-Oct-05 20:28
mav.northwind6-Oct-05 20:28 
Hi!
Besides the fact that I don't know if your EntryPoint is correct (does it work if you leave out the EntryPoint parameter altogether?), you'll have to specify the size of iVersion for marshalling.
Right now you're just saying it's an array of char (without any size given), but the original declaration says it's a char[6].

Try this struct declaration:
public struct TNavVersionInfoV01
{
  [MarshalAs( UnmanagedType.ByValArray, SizeConst=6 )]
  char[] iVersion;
  int iBuildNumber;
}
Regards,
mav
GeneralRe: P/Invoke Pin
Member 18186146-Oct-05 21:50
Member 18186146-Oct-05 21:50 
QuestionHow do I invoke or call the insert table dialog Pin
Agyeman6-Oct-05 3:48
Agyeman6-Oct-05 3:48 
QuestionParser replacement target to Dot Net platform Pin
Member 23353326-Oct-05 3:44
Member 23353326-Oct-05 3:44 
AnswerRe: Parser replacement target to Dot Net platform Pin
David Stone6-Oct-05 12:12
sitebuilderDavid Stone6-Oct-05 12:12 
QuestionSendMessage return value Pin
status()6-Oct-05 3:24
status()6-Oct-05 3:24 
AnswerRe: SendMessage return value Pin
status()6-Oct-05 3:50
status()6-Oct-05 3:50 
AnswerRe: SendMessage return value Pin
status()6-Oct-05 4:19
status()6-Oct-05 4:19 
GeneralRe: SendMessage return value Pin
mav.northwind6-Oct-05 20:42
mav.northwind6-Oct-05 20:42 
QuestionListening to keypresses?? Pin
.M6-Oct-05 0:29
.M6-Oct-05 0:29 
QuestionHow can we add values in ArratList in different way?? Pin
parvinder sehrawat6-Oct-05 0:04
parvinder sehrawat6-Oct-05 0:04 
AnswerRe: How can we add values in ArratList in different way?? Pin
Stefan Troschuetz6-Oct-05 0:14
Stefan Troschuetz6-Oct-05 0:14 
Questionconverting aspx pages to HMTL pages Pin
A.Grover5-Oct-05 23:52
A.Grover5-Oct-05 23:52 
AnswerRe: converting aspx pages to HMTL pages Pin
Guffa6-Oct-05 0:06
Guffa6-Oct-05 0:06 
QuestionExecuting programs Pin
Stefan_ Spenz5-Oct-05 23:38
Stefan_ Spenz5-Oct-05 23:38 
AnswerRe: Executing programs Pin
Stefan Troschuetz5-Oct-05 23:48
Stefan Troschuetz5-Oct-05 23:48 
GeneralRe: Executing programs Pin
Stefan_ Spenz6-Oct-05 1:51
Stefan_ Spenz6-Oct-05 1:51 
AnswerRe: Executing programs Pin
User 66586-Oct-05 1:41
User 66586-Oct-05 1:41 

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.