isalpha function in C runtime library (MSVCRT.DLL)

Just starting out? Need help? Post your questions and find answers here.
Poplar
User
User
Posts: 16
Joined: Sun Apr 30, 2017 12:27 pm

isalpha function in C runtime library (MSVCRT.DLL)

Post by Poplar »

Code: Select all

OpenLibrary(0, "msvcrt.dll")
isalpha = GetFunction(0, "isalpha")
CloseLibrary(0)

Debug CallCFunctionFast(isalpha, 'i')
[/color]
User avatar
NicTheQuick
Addict
Addict
Posts: 1226
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: isalpha function in C runtime library (MSVCRT.DLL)

Post by NicTheQuick »

Yes.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: isalpha function in C runtime library (MSVCRT.DLL)

Post by Trond »

Don't call functions after closing the library.

Anyway, this way is better, because it checks that you got the correct number of parameters, and the syntax to call the function is nicer:

Code: Select all

ImportC "msvcrt.lib"
  isalpha(c.i)
EndImport

Debug isalpha('i')
Post Reply