469,887 Members | 1,222 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,887 developers. It's quick & easy.

APi Decleration Problem

Hi EveryBody:

I got this decleration for function from URLMON.dll as follows:

<DllImport("urlmon.dll", ExactSpelling:=True, CharSet:=CharSet.Unicode)> _
Friend Shared Function CoInternetGetSession(ByVal dwSessionMode As Integer,
ByRef session As InternetSession, ByVal dwReserved As Integer) As Integer
End Function

I got line error Under InternetSession when I point on it they told me this
type is not defind I try to add Microsoft Internet Controls Library as
refreance which is
SHDocVw but I still have the same proble can any body told me how can I fix
this problem ?

Any help will be appreciated

regard's

Husam
Feb 3 '06 #1
0 918

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

117 posts views Thread by Peter Olcott | last post: by
17 posts views Thread by Tapeesh | last post: by
28 posts views Thread by Jon Davis | last post: by
6 posts views Thread by Ammar | last post: by
2 posts views Thread by Mike Collins | last post: by
10 posts views Thread by sam_cit | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.