I have a class library (dll)
this has a few classes that I can use one but not the other.
Instruction was that I should be able to use the wrapper as below:
Code:
using (IAxaptaWrapper Ax = new AxThreadedWrapper())
{
Ax.Logon("Auto", "", "", "Original (installed configuration)");
// etx
What I CAN DO
in my calling program after referencing the namespace I was able to do
Code:
Axapta.Axapta a = new Axapta.Axapta();
a.Logon(null,null,null,null);
without any issue
but WHAT I CANT DO
using ( IAxaptaWrapper Ax = new IAxaptaWrapper ()){
fails with The type or namespace name 'AxThreadedWrapper' could not be found (are you missing a using directive or an assembly reference?)
so the questions is how do you use IAxaptaWrapper and IAxaptaWrapper from this dll ?
Code:
using System;
using System.Collections.Generic;
namespace Axapta
{
public interface IAxaptaWrapper:IDisposable
{
and
Code:
namespace Axapta
{
public class AxThreadedWrapper: IAxaptaWrapper
{
public AxThreadedWrapper()
{