Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8206925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T08:50:23+00:00 2026-06-07T08:50:23+00:00

Basically the line of code extern char *strlwr OF((char *s)); gives the error warning

  • 0

Basically the line of code

extern char *strlwr       OF((char *s));

gives the error

warning C4273: 'strlwr' : inconsistent dll linkage

and I don’t know why. It’s not my code so I’m having issues figuring out how to fix it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T08:50:25+00:00Added an answer on June 7, 2026 at 8:50 am

    look for:

    _declspec( dllexport );
    _declspec( dllimport );
    

    attached to declarations for strlwr. It is something to do with that.

    Basically when you declare strlwr in the dll itself, e.g. when the header containing strlwr is read by code compiled into the .dll it should be declared export.

    When code that calls the dll reads the header, it should be declared dllimport.

    I tend make macro blocks like:

    #ifndef DLL_IFACE
    #ifdef DLL_IFACE_EXPORT
    #define DLL_IFACE _declspec( dllexport )
    #else  // !DLL_IFACE_EXPORT
    #define DLL_IFACE _declspec( dllimport )
    #endif // !DLL_IFACE_EXPORT
    #endif // !DLL_IFACE
    

    Then for all the symbols in a header which is part of the dll interface I declare those symbols with DLL_IFACE. When the header is read by dll code, I start the .cpp file with “#define DLL_IFACE_EXPORT”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I don't know how to insert a line of code that counts the numbers
I have one line of code which seems commented. Basically the thing I want
Basically, I have somewhere in my main code where this line of code is
Does anyone know of some (very) simple tutorials on line on the WCF? Basically
I'd like to know exactly how this line of code works corners = (m==n)&(n>threshold);
I don't know if I'm completely brainfarting today, or what. But basically I'm trying
Basically this line of code does not work and I'm not quite sure as
I have this line of code: X DC.W 5 This means basically X =
So basically in my partial I have the following line of code ... <%=
Is there a way that I can trace every method, basically a line trace,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.