CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2011
    Posts
    9

    [RESOLVED] WIn32 DLL Wrapper

    I have a managed class library developed in C#.
    Now i need to create a win 32 dll wrapper around it.

    So in my Win 32 DLL i need to import that class library and call the starting point functions from it.

    I am new on this. I was able to create functions and use it in test code.

    int _stdcall sum(int x , int y)
    {
    return x + y;
    }

    char* _stdcall to_upper(char *lowerstring)
    {
    _strupr(lowerstring);
    return lowerstring;
    }

    But i need to call external dll (C# class library) and call functions from the functions created here.

    Help would really be appreciated.

  2. #2
    Join Date
    Feb 2011
    Posts
    9

    Re: WIn32 DLL Wrapper

    I think got the solution:
    http://support.microsoft.com/kb/828736

    Thanks

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
  •  





Click Here to Expand Forum to Full Width

Featured