Menu

Making a DLL using standard call

2001-07-23
2012-09-26
  • Nobody/Anonymous

    Hi everyone.

    I was wondering if anyone could tell me how I can set the compiler/linker to use standard call for my DLLs?  (In VC++ it's referred to as __stdcall)

    Thanx in advance,

    Jim

     
    • Nobody/Anonymous

      Nevermind, I managed to figure it out once my head had cleared.

      Before, I was using:

      #define DLLEXPORT __declspec (dllexport)

      But I added to this, getting:

      #define DLLEXPORT __declspec (dllexport) __stdcall

      Which works fine.

      Jim.

       
      • Nobody/Anonymous

        THANK YOU!

        good thing I used the search engine provided for this forum, instead of posting a new message as most do :)

        Adrian

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.