Answer the question
In order to leave comments, you need to log in
How to use C++ in Go?
let's say there is a function in the gui_main.c file
int main(int argc, char **argv)
{
return client_main(argc, argv);
}
Answer the question
In order to leave comments, you need to log in
stackoverflow.com/questions/1713214/how-to-use-c-in-go
Good luck.
By the way, if you need to call the main function (exe entry point) and get the return code, then just create a process and get its return code upon completion.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question