X
xleyba
Hi
I'm new to .Net world.
I need to develope an application for Diva BR ISDN card (CAPI
programming) and I want to make it with C#.
Diva API documentation comes with VBasic Net examples but I imagine I
could tranlate it to C# in an easy way.
Diva instructions said:
-------------
If you are using the .NET Framework SDK, then, in addition to the
above installation and registration steps, you need to create the
'managed wrapper' for the Component API DivaSDK.dll in the form of a
..NET assembly. This is performed simply by running the .NET type
library import utility (tlbimp.exe) against DivaSDK.dll to create the
assembly DIVASDKLib.dll. Note that you may first need to run the batch
file sdkvars.bat (both tlbimp.exe and sdkvars.bat are found in Program
Files\Microsoft.NET\SDK\v1.1\Bin).
-----------
i did all I placed in my code:
using DIVASDKLib;
But at compile time I get the error message:
Class.cs(2,7): error CS0246: The type or namespace name 'DIVASDKLib'
could not
be found (are you missing a using directive or an assembly
reference?)
What I'm doing wrong ? Where is the problem ?
Thanks in advance
javier
I'm new to .Net world.
I need to develope an application for Diva BR ISDN card (CAPI
programming) and I want to make it with C#.
Diva API documentation comes with VBasic Net examples but I imagine I
could tranlate it to C# in an easy way.
Diva instructions said:
-------------
If you are using the .NET Framework SDK, then, in addition to the
above installation and registration steps, you need to create the
'managed wrapper' for the Component API DivaSDK.dll in the form of a
..NET assembly. This is performed simply by running the .NET type
library import utility (tlbimp.exe) against DivaSDK.dll to create the
assembly DIVASDKLib.dll. Note that you may first need to run the batch
file sdkvars.bat (both tlbimp.exe and sdkvars.bat are found in Program
Files\Microsoft.NET\SDK\v1.1\Bin).
-----------
i did all I placed in my code:
using DIVASDKLib;
But at compile time I get the error message:
Class.cs(2,7): error CS0246: The type or namespace name 'DIVASDKLib'
could not
be found (are you missing a using directive or an assembly
reference?)
What I'm doing wrong ? Where is the problem ?
Thanks in advance
javier