Home > Back-end >  C a cgi program how to call DLL
C a cgi program how to call DLL

Time:06-05

Written in c cgi, but I don't know how to call a third party such as cgi mysql DLL, the mysql file or a DLL in cgi system directories are not

CodePudding user response:

Should be the problem of environment variables, if the Windows, is the PATH; Please search under Linux

CodePudding user response:

Master, master? Ace master?

CodePudding user response:

Done? Please at a convenient time and post

CodePudding user response:

Ace to where go to

CodePudding user response:

Project, properties, C/C + +, additional include directories: fill in the attached header file directory semicolon interval multiple
Project, properties, linker, regular, additional libraries directory: fill in the attached dependent libraries directory semicolon interval multiple
Project, properties, linker, input, additional dependencies: fill in the name of the additional dependent libraries. Lib Spaces or a semicolon between multiple
https://docs.microsoft.com/zh-cn/windows/win32/dlls/dynamic-link-library-search-order

CodePudding user response:

reference 5 floor 4 teacher zhao reply: ,
project properties, C/C + +, additional include directories: fill in the attached header file directory semicolon interval multiple
Project, properties, linker, regular, additional libraries directory: fill in the attached dependent libraries directory semicolon interval multiple
Project, properties, linker, input, additional dependencies: fill in the name of the additional dependent libraries. Lib Spaces or a semicolon between multiple
https://docs.microsoft.com/zh-cn/windows/win32/dlls/dynamic-link-library-search-order


I do not mean cgi exe

CodePudding user response:

refer to 6th floor iTom response:
Quote: refer to fifth floor 4 teacher zhao response:

Project, properties, C/C + +, additional include directories: fill in the attached header file directory semicolon interval multiple
Project, properties, linker, regular, additional libraries directory: fill in the attached dependent libraries directory semicolon interval multiple
Project, properties, linker, input, additional dependencies: fill in the name of the additional dependent libraries. Lib Spaces or a semicolon between multiple
https://docs.microsoft.com/zh-cn/windows/win32/dlls/dynamic-link-library-search-order


I said is the cgi, not exe

If you think the CGI and I said, it doesn't matter, when I didn't say,

CodePudding user response:

refer to 7th floor 4 teacher zhao response:
Quote: refer to the sixth floor of the iTom reply:

Quote: refer to fifth floor 4 teacher zhao response:

Project, properties, C/C + +, additional include directories: fill in the attached header file directory semicolon interval multiple
Project, properties, linker, regular, additional libraries directory: fill in the attached dependent libraries directory semicolon interval multiple
Project, properties, linker, input, additional dependencies: fill in the name of the additional dependent libraries. Lib Spaces or a semicolon between multiple
https://docs.microsoft.com/zh-cn/windows/win32/dlls/dynamic-link-library-search-order


I said is the cgi, not exe

If you think the CGI and I said, it doesn't matter, when I didn't say,


You are so funny, answer questions, and let others guess???
Trouble you to write a simple cgi call DLL try again say good?

CodePudding user response:

https://cn.bing.com/search? Q="cgi call DLL" & amp; Qs=n& Form=QBLHCN& Sp=1 & amp; Pq="cgi call DLL"

This is more funny!
Not funny, improper programmer,

CodePudding user response:

quoted zhao 4, 9/f, the teacher's reply:
https://cn.bing.com/search? Q="cgi call DLL" & amp; Qs=n& Form=QBLHCN& Sp=1 & amp; Pq="cgi call DLL"

This is more funny!
Not funny, improper programmer,


What do you think of others before asking in advance not search you, if you really will you write a call examples of not line?
Why like the master, said some of the bible as let people guessing, show your head?
I remember there used to be a Daniel chinaunix speak a word: true cow force, not so carefree to KanTie and reply,

CodePudding user response:

What time I said I was "really kick-ass person"?

CodePudding user response:

refer to 12 floor Zer0_Wu reply:
is solved the building Lord, please?

Settled, like a regular, exe calls, write the wrong is my own code

CodePudding user response:

If is Linux, you need to set an environment variable, baidu

CodePudding user response:

I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related