| |

VerySource

 Forgot password?
 Register
Search
View: 11|Reply: 10

API function: ASC () cannot be found? what reason? Master!

[Copy link]

1

Threads

5

Posts

5

Credits

Newbie

Rank: 1

Credits
5

 China

Post time: 2020-3-9 23:00:02
| Show all posts |Read mode
C ++ builder, use the function ASC (...) to prompt "call to undefined function 'ASC'" for any reason, and the header file also added "#include <Shellapi.h>". I don't know what the reason is, I suspect it may There is a problem with the library path, so it is re-assigned to the ..\include\vcl path or not. . Going crazy. . Master point one or two.
Reply

Use magic Report

0

Threads

20

Posts

20

Credits

Newbie

Rank: 1

Credits
20

 China

Post time: 2020-6-1 15:45:01
| Show all posts
Is the character value (ASCII value) of the first letter of the returned string
function?
Reply

Use magic Report

0

Threads

12

Posts

10

Credits

Newbie

Rank: 1

Credits
10

 China

Post time: 2020-6-1 22:45:01
| Show all posts
There is also an ASC function in the Windows API? I have never seen it.
Reply

Use magic Report

1

Threads

5

Posts

5

Credits

Newbie

Rank: 1

Credits
5

 China

 Author| Post time: 2020-6-2 03:00:01
| Show all posts
What is the reason for "call to undefined function'ASC'"
Reply

Use magic Report

1

Threads

5

Posts

5

Credits

Newbie

Rank: 1

Credits
5

 China

 Author| Post time: 2020-6-2 18:45:02
| Show all posts
The name is not very accurate, what should I call "ASC"? How to solve the problem?
Reply

Use magic Report

0

Threads

12

Posts

10

Credits

Newbie

Rank: 1

Credits
10

 China

Post time: 2020-6-3 16:45:01
| Show all posts
"Call to undefined function'ASC'"
The function "ASC" to be called is undefined.
Reply

Use magic Report

0

Threads

12

Posts

10

Credits

Newbie

Rank: 1

Credits
10

 China

Post time: 2020-6-3 20:30:01
| Show all posts
Asc looks like a function in VB.
Returns the ANSI character code of the first letter of each string

In C++, char data can be used directly as int.
Reply

Use magic Report

1

Threads

5

Posts

5

Credits

Newbie

Rank: 1

Credits
5

 China

 Author| Post time: 2020-6-4 12:30:02
| Show all posts
How to define? Isn't this a system function? Be puzzled, please give pointers!
Reply

Use magic Report

0

Threads

20

Posts

20

Credits

Newbie

Rank: 1

Credits
20

 China

Post time: 2020-6-4 13:15:02
| Show all posts
If it is VB function

Used directly in Cb, no need for functions
Reply

Use magic Report

1

Threads

5

Posts

5

Credits

Newbie

Rank: 1

Credits
5

 China

 Author| Post time: 2020-6-6 11:15:01
| Show all posts
The direct call is the situation mentioned above: asc is not defined, will it be which package is not included?
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2020|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list