 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Simon RF Guest
|
Posted: Sun Apr 08, 2007 1:55 pm Post subject: Cannot convert 'int' to 'long *' |
|
|
Hello,
I have a problem with the following code..
long * xPortNo = 1;
rfidsf1->OpenPort(xPortNo);
It gives the following error Cannot convert 'int' to 'long *'
It's an OCX and the OCX loaded in to CBuilder says.. HRESULT _stdcall
OpenPort([in, out] long * comPort, [out, retval] VARIANT_BOOL *
Param2 );
The manual says, Function OpenPort( nComPort as long ) as Boolean.
Does anyone have any ideas as to what I an do to get this to work
please.
Thanks
Simon RF |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|