in reply to Re: Calling a function form an external DLL with Inline::C on windows
in thread Calling a function form an external DLL with Inline::C on windows
int wrap_RegisterClient2(int cl_id, char* read_ip) { return RegisterClient2(cl_id, read_ip); }
int wRegisterClient2( SV *id, SV *IP ) { int c_id = SvIV( id ); char *c_ip = SvPVX( IP ); int result = RegisterClient2( &c_id, c_ip ); printf("%d", c_id); sv_setiv(id, (IV) c_id); return result; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Calling a function form an external DLL with Inline::C on windows
by BrowserUk (Patriarch) on Aug 06, 2010 at 12:21 UTC | |
by Anonymous Monk on Aug 06, 2010 at 12:58 UTC | |
by Anonymous Monk on Aug 06, 2010 at 14:20 UTC | |
by proceng (Scribe) on Aug 09, 2010 at 17:00 UTC | |
by kikuchiyo (Hermit) on Aug 12, 2010 at 08:57 UTC | |
| |
|
Re^3: Calling a function form an external DLL with Inline::C on windows
by syphilis (Archbishop) on Aug 06, 2010 at 12:50 UTC |