remove the _ underscore. > On Jun 23, 2019, at 2:20 PM, Kurtis Rader <kra...@skepticism.us> wrote: > >> On Sun, Jun 23, 2019 at 4:49 AM nicolas_boiteux via golang-nuts >> <golang-nuts@googlegroups.com> wrote: > >> I need some assistance to export a GO dll function to a C program. >> >> The C program (wich i m not the author) required to call a function with >> this name: _RVExtension@12 > > That is not a valid symbol (i.e., function name) in either C or Go. In other > words the following C is invalid: > > extern int _RVExtension@12(); > int main() { > _RVExtension@12(); > } > > Your question has nothing to do with Go or C as such. What does the "@12" > represent? Is it an API version number? In any event your question is really > about a specific build toolchain on a specific platform. And you didn't even > bother to tell us what platform you are using. I'm guessing MS Windows but we > shouldn't have to make such guesses. > > -- > Kurtis Rader > Caretaker of the exceptional canines Junior and Hank > -- > You received this message because you are subscribed to a topic in the Google > Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/RnGw1sx3vug/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD_r60QHj_QR9RQj6Kev-YyoMNyQQKCDSWhQ5JHW29eC5A%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/D83E4249-C61E-4A1A-8D35-F9C228375BB1%40gmail.com. For more options, visit https://groups.google.com/d/optout.