libwine - linking a shared library containing a WinAPI call

Questions about Wine on Linux
Post Reply
Scarecrow
Newbie
Newbie
Posts: 1
Joined: Sun Apr 14, 2024 12:20 am

libwine - linking a shared library containing a WinAPI call

Post by Scarecrow »

Hello!

I'm trying to create a maket project containing a shared library and an application.
The shared library provides a function containing a WinApi call.
I call this function from the main program.
The WinApi call also exists in the main function.
When the program starts, the first WinApi function call is made.
The application crashes when calling a library function.

Of course, I didn’t forget to put the link to the shared library in the system directory.

Host system: Debian 12

libwine:amd64 8.0~repack-4
libwine-dev:amd64 8.0~repack-4
wine64 8.0~repack-4
wine64-tools 8.0~repack-4
Attachments
maket.tgz
maket project
(591 Bytes) Downloaded 315 times
Post Reply