How to create implib for c stdcall? .def file how to use?
Unsolved
General and Desktop
-
pro file is
//your code here QT += widgets network xml TARGET = qtftpwin TEMPLATE = lib
makefile.debug file is
//your code here LFLAGS = -shared -Wl,-subsystem,windows -mthreads -Wl,--out-implib,debug\libqtftpwin.a
how can i get c stdcall implib libqtftpwin.lib?
.def file how to use?
-
Hi,
Can you show your code ?
-
you can create one example project.
add one function declare.
extern "C" __declspec(dllexport) void my func(char*)
define it
extern "C" __declspec(dllexport) void myfunc(char*)
{
}
build it, then dump it with pe tool.myfunc in dll file is
myfunc@4
how can get myfunc?
because using it vs c++ and c# project, normally using it without param.
-
See the Creating Shared Libraries chapter in Qt's documentation.