msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Call a ATL COM in VB that takes unsigned int as a parameter

 
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE
Author Message
Bond_james



Joined: 04 Oct 2007
Posts: 4

PostPosted: Fri Aug 19, 2005 2:44 am    Post subject: Call a ATL COM in VB that takes unsigned int as a parameter Reply with quote

Hi

I am trying to Call a ATL COM in VB that takes unsigned int as a
parameter.


Here is my code through which I tried to Call a COM.


******************************­******************************­*****************************

*I already add a refrence of the DLL


Dim obj As New UNCOMLib.temp


Private Sub Command1_Click()
Dim a As Long
Dim b As Long
obj.Add a, b 'Add is the method name that takes unsigned int
End Sub
******************************­******************************­****************************



When I used this code it gives --


Compile error:


Function or interface marked as restricted, or the function uses an
Automation type not supported in Visual Basic

Archived from group: microsoft>public>vb>ole
Back to top
View user's profile Send private message
Brian Muth



Joined: 04 Oct 2007
Posts: 18

PostPosted: Fri Aug 19, 2005 12:12 pm    Post subject: Re: Call a ATL COM in VB that takes unsigned int as a parame Reply with quote

VB6 does not support unsigned ints.

Brian

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group