cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Server - WinForms

Former Member
0 Kudos

Hi

I've got an RFC server working using the console example and would now like to take it to the next step by creating a winforms application with all the bells and whistles (need to catch exceptions and connection problems etc).

Does anyone have a good example that they could share so I don't have to re-invent the wheel?

Thanks

George

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi, I think it won't be a problem for you in migrate the RFC server code into a WinForm application.

As winform is a GUI application, you'd better start another thread distinguish the GUI thread. In this new thread, you can do the RFC server code, register the host, be ready for the SAP server to call you.

Hope it will be helpful to you

thanks

Former Member
0 Kudos

Hi

Have you done this or are you using a console app? I have 5 RFC servers currently running using hooks directly into librfc32 which were written a few years back. I would like these to go into one winforms app (multi threaded) so we can monitor it better.

I'm looking for a good example of how to monitor SAP exceptions.

Thanks

George