Using U++ how to link to a .lib, .dll in windows?. I was able to link to a windows win32 .dll using loadlibrary. How to link use .lib file?. Any such examples?.
I am using the windows version. I was getting linkage error using the step you pointed out.
Could anyone explain it step by step how to Link a GUI app to win32 c++ .dll, .lib?. any examples?.
A hint: try to search for *.upp files containing string "library(WIN32)".
Examples:
uppsrc/MySql/MySql.upp
uppsrc/PostgreSQL/PostgreSQL.upp
examples/Synth/Synth.upp
still having the same problem on the windows side.
Is there a book or pdf file that I can purchase or download that explains to detail steps on how to do these?.
If one has a small c++ lib+dll and an upp dialog app that calls it, I like to take a look.
thanks for the link.
I followed the same steps , still the same issue. Used the verbose option. Got the idea and name mangling was the issue. Added extern "C" to the export, import and worked.
BTW, how to go the link you provided from the Tutorials?. I could not find it there.
thanks again.
thanks for the link.
I followed the same steps , still the same issue. Used the verbose option. Got the idea and name mangling was the issue. Added extern "C" to the export, import and worked.
Cool! Moral of the story: Next time if you have the problem, please post more info, like errors you are getting or mabe screenshots or something.
We would tell you about extern "C" several days ago...
Quote:
BTW, how to go the link you provided from the Tutorials?. I could not find it there.
thanks again.
You could not find it before because I have created that info just yesterday, exactly to answer your post...