CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Threaded View

  1. #6
    Join Date
    May 2006
    Location
    Mumbai, India
    Posts
    292

    Re: problem in DLL and calling conventions

    Hi paul...

    thanks for the reply...

    I am loading the library dynamically using LoadLibrary(). Also I am using .def file, so i guess I dont need to use dllexport and dllimport explicitly.
    Actually this is a MFC library and will be used by another MFC library. So we dont need to worry about diff compilers.
    The actual problem of calling conventions still exist. I have build a sample Dll and sample client so that ppl can help me. I am attaching the zip with the same.

    [note : keep the SampleDll.dll in your C: or change the path in the code]

    Thanks..
    Attached Files Attached Files

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