hyperrealm / libconfig

C/C++ library for processing configuration files
https://hyperrealm.github.io/libconfig/
GNU Lesser General Public License v2.1
1.11k stars 362 forks source link

fatal run-time error using "config_read_file" function #189

Closed ramiral92500 closed 1 year ago

ramiral92500 commented 3 years ago

Hello, I'm starting to use different functions from this library. I'm using LabWindows CVI 20 but the problem should not be linked with this tools. My projet is linked to the libconfig library using the function "GetProcAddress"

The function called "config_read_file" works perfectly, but not the function called "config_read"

The function called "config_read " returns a fatal runtime error:

fatalerror

hyperrealm commented 3 years ago

I unfortunately have no way to debug this.

hyperrealm commented 1 year ago

I am closing this because it's not actionable. Since config_read_file() internally calls config_read(), it's unlikely that there's a problem with config_read(). I've added a unit test to exercise config_read() and on Linux at least, I do not see any issues with it.