Click here to Skip to main content
15,920,217 members
Home / Discussions / C#
   

C#

 
GeneralRe: calling a method in c++ from c# Pin
bonosa15-Feb-13 17:27
bonosa15-Feb-13 17:27 
Thanks Navaneeth, that almost compiled!
Now I have a problem!

int atClass1::read_file
(String^ file_path,	/* Path tofile */
 HdfCallVars % ret_vals)


I did the above as you advised.

However ret_vals has to be fed to an HDF5 function which needs a void* as one of it's arguments.

So I am stuck at the following line of code not knowing what to do:

C++
/* Iterate through the links, filling in needed data as discovered. */
 io_err = H5Literate (group_id, H5_INDEX_NAME, H5_ITER_NATIVE,

              &i, get_data,  (void*)&ret_vals);


the compiler doesn't like (void*)&ret_vals....
What to do?
thanks,
saroj
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h16-Feb-13 17:41
N a v a n e e t h16-Feb-13 17:41 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h17-Feb-13 5:02
N a v a n e e t h17-Feb-13 5:02 
GeneralRe: calling a method in c++ from c# Pin
bonosa13-Feb-13 6:48
bonosa13-Feb-13 6:48 
QuestionDynamic Form Creation/Layout Pin
Matt U.12-Feb-13 4:21
Matt U.12-Feb-13 4:21 
AnswerRe: Dynamic Form Creation/Layout Pin
Orjan Westin12-Feb-13 6:16
professionalOrjan Westin12-Feb-13 6:16 
GeneralRe: Dynamic Form Creation/Layout Pin
Matt U.12-Feb-13 6:51
Matt U.12-Feb-13 6:51 
AnswerRe: Dynamic Form Creation/Layout Pin
PIEBALDconsult12-Feb-13 12:36
mvePIEBALDconsult12-Feb-13 12:36 
QuestionException: Cannot open Servicexxx service on computer 'COMPUTER_NAME' Pin
NarVish12-Feb-13 1:18
NarVish12-Feb-13 1:18 
AnswerRe: Exception: Cannot open Servicexxx service on computer 'COMPUTER_NAME' Pin
N a v a n e e t h12-Feb-13 1:36
N a v a n e e t h12-Feb-13 1:36 
AnswerRe: Exception: Cannot open Servicexxx service on computer 'COMPUTER_NAME' Pin
Dave Kreskowiak12-Feb-13 2:05
mveDave Kreskowiak12-Feb-13 2:05 
QuestionHow can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pin
susanna.floora11-Feb-13 22:50
susanna.floora11-Feb-13 22:50 
AnswerRe: How can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pin
Richard MacCutchan12-Feb-13 0:27
mveRichard MacCutchan12-Feb-13 0:27 
GeneralRe: How can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pin
susanna.floora12-Feb-13 0:56
susanna.floora12-Feb-13 0:56 
Questioncontrol robots with c# !? Pin
ali_heidari_11-Feb-13 21:47
ali_heidari_11-Feb-13 21:47 
AnswerRe: control robots with c# !? Pin
Pete O'Hanlon11-Feb-13 22:11
mvePete O'Hanlon11-Feb-13 22:11 
AnswerRe: control robots with c# !? Pin
Jibesh11-Feb-13 22:19
professionalJibesh11-Feb-13 22:19 
Questiongame with Object-oriented programming Pin
saber_ershadi11-Feb-13 21:22
saber_ershadi11-Feb-13 21:22 
AnswerRe: game with Object-oriented programming Pin
Jibesh11-Feb-13 22:22
professionalJibesh11-Feb-13 22:22 
GeneralRe: game with Object-oriented programming Pin
saber_ershadi11-Feb-13 23:55
saber_ershadi11-Feb-13 23:55 
GeneralRe: game with Object-oriented programming Pin
lukeer12-Feb-13 19:32
lukeer12-Feb-13 19:32 
AnswerRe: game with Object-oriented programming Pin
Richard MacCutchan11-Feb-13 22:22
mveRichard MacCutchan11-Feb-13 22:22 
AnswerRe: game with Object-oriented programming Pin
Thomas Daniels12-Feb-13 2:18
mentorThomas Daniels12-Feb-13 2:18 
QuestionHow to encryp video file and decrypt ? Pin
saber_ershadi11-Feb-13 6:10
saber_ershadi11-Feb-13 6:10 
AnswerRe: How to encryp video file and decrypt ? Pin
Richard MacCutchan11-Feb-13 6:31
mveRichard MacCutchan11-Feb-13 6:31 

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.