Francesco149 / weebp

free and open-source wallpaper engine, set any window as your wallpaper
The Unlicense
547 stars 60 forks source link

dll contains no exported functions? #13

Closed phanirithvij closed 4 years ago

phanirithvij commented 4 years ago

I did

dumpbin /exports weebp.dll

Which gives this

Microsoft (R) COFF/PE Dumper Version 14.24.28314.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file weebp.dll

File Type: DLL

  Summary

        2000 .data
        1000 .pdata
        9000 .rdata
        1000 .reloc
        B000 .text

But Ideally it should show the names of the exported functions accroding to this.

You have implemented the exporting functionality but they didn't export I guess or I'm doing something wrong. I built the dll using the build.bat and I'm using Microsoft Visual Studio 2019. No luck. The dump is still the same.

phanirithvij commented 4 years ago

test.zip This is a simple dll export code that successfully exports the function in it.

phanirithvij commented 4 years ago

It's because -DWP_IMPLEMENTATION is missing in the build script. Please add it.

https://github.com/Francesco149/weebp/blob/02a247969baaea9b646ddae6e9080f5da098af05/src/build.bat#L23

Francesco149 commented 4 years ago

ah yeah i never tested the dll version, i'll add it but i can't test it atm

phanirithvij commented 4 years ago

@Francesco149 do you mind sharing the live wallpaper that you showed as an example in the readme. No luck with reverse image search. I mean this image