CodePudding user response:
The errors and post code, we analyzeCodePudding user response:
C to generate a DLL, name for win_self. DLL, there is a function related to the communication F_connect (IP, port, the timeout);Establish Com, named uf_self_com, define global external function f_connect (string, long, integer) "win_self. DLL" successfully returns 0, establish function uf_init (), call inside f_connect (); Generate the com DLL,
A new PB workspace, call uf_init (), back to 32767,
CodePudding user response:
Should be a statement or there is something wrong with the outer function call