Web lists-archives.com

[Mingw-users] create DLL for Excel in C that calls strtoll

I’m pretty much a newbie with mingGW and C, so please be kind.  I’ve successfully installed mingGW and CodeBlocks on a Windows 10 machine and can create simple Console applications and DLL’s for Excel (using stdcall) with no trouble.

I’d like to use strtoll to convert a string to a 64-bit integer.  Everything works fine in a Console application and I can also create a DLL for Excel without error.  But, I get a Microsoft runtime ‘53’ error (file not found) in Excel when trying to call a DLL function that uses strtoll.  I found the same exact behavior with GMP routines (i.e. works fine in Console app but not in DLL for Excel). 

What am I doing wrong?  

Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe