Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Import nnotes.dll in VC++ ?

Status
Not open for further replies.

jaydave6

Programmer
Jan 2, 2002
13
IN
Hii,

I want help regarding importing nnotes.dll
into VC++ code.

I have used some inbuilt functions of
nnotes.dll in my VB code just by declaring those in module file...i.e.

Public Declare Sub NotesTerm Lib "nnotes.dll" ()
Public Declare Sub NotesInit Lib "nnotes.dll" ()

Public Declare Function switchID Lib "nnotes.dll"
Alias "SECKFMSwitchToIDFile" (ByVal pIDFileName As
String, ByVal pPassword As String, ByVal pUserName As
String, ByVal MaxUserNameLength As Long, ByVal
ReservedFlags As Long, pReserved As Any) As Long

Now, I want to use those in VC++ code....I have imported nnotes.dll as..
#import "nnotes.dll" no_namespace named_guids

This gives error while compilation,
C:\DOMCLIENT\DomObjExt\DominoMail.cpp(21) : fatal
error C1083: Cannot open type library file:
'nnotes.dll': Error loading type library/DLL.

Can you please guide me on this issue?? What else
required to include in settings to solve the error ?

Thank you,

JaY
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top