[RESOLVED] Using a wrapper in c#
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: [RESOLVED] Using a wrapper in c#

Threaded View

  1. #1
    Join Date
    May 1999
    G day Mayt Land

    [RESOLVED] Using a wrapper in c#

    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:
    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
    Axapta.Axapta a = new Axapta.Axapta();
    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 ?

    using System;
    using System.Collections.Generic;
    namespace Axapta
        public interface IAxaptaWrapper:IDisposable
    namespace Axapta
        public class AxThreadedWrapper: IAxaptaWrapper
            public AxThreadedWrapper()
    Last edited by Saeed; April 7th, 2014 at 10:52 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!

HTML5 Development Center