This code works fine on windows , but when I embed the g_object_new inside a DLL and invoke the DLL exported function (which will internally invoke g_object_new ), it crashes
I cant seem to find anything online related to this.
Its the first time I am using GLib on windows though.
I have done same thing on Linux, calling g_object_new from an SO file, I call the function from so file which in turn will call g_object_new , this works fine
thanks, but that didnt help
I created the DLL using QT project and the application also in QT. Now everything works
I do the same thing in VS2015, it doesn’t work.
I guess it is something to do with some environment setting that VS is doing different.