Data Dll app not generating the LIB file, only DLL

Just splitting an App up into Dll’s, and the data.dll isnt generating a data.lib file to link into other apps, its only generating the data.dll file.

Any ideas what to check?

TIA

Did you check to see if perhaps the .lib is getting created elsewhere within the confines of your .RED?

I’ll check. Thats not something thats happened before.

If a lib’s name is found by the redirection, maybe it is overwriting the wrong one because it found it. JAT, if the names are similar.

I always set my RED to generate LIB , DLL , and EXE into the app folder. The default location for the LIB into \obj\debug or obj\release is prone to link errors once you start debugging things.

I found the EXEs generate into the APP folder, until (for whatever reason) it decides to generate into BIN. So i set all 3 explicitly in the RED and I’ve found that to be a lot more reliable.

1 Like

Found the lib files, they turned up in the C:\Clarion6\lib folder, which is a first for me.

I also seem to have some how installed a dodgy Lenovo bios which is causing the laptop to play up. It coincided with some wet weather which I got caught it, so I assumed the laptop had got wet, but disabling the USB connector manager has fixed a number of laptop issues. Ticks the box for persistance and avoiding MS measures and will explain why my MS OneDrive was wiped clean.

Someone doesnt want me producing apps it would seem!

Anyway the lib files are still appearing in the c:\Clarion6\lib folder, irrespective of whether it ends up as an EXE or DLL.

This isnt an option in C6, it should all generate in the folder that app file is in and I’m just using the default redirection file. So apps that had generated and compiled to exe also have their .lib file in there, but if I compile the app now, it generates the lib file in the C:\clarion6\lib folder, so something is messing it up now.

Probably time to reinstall Win11 for the 3rd time, and rebuild it all again.

Granted, its been a while, but i think you can still set .\ to be the first option in the c6 red file.

1 Like

I think it will still try to find the file elsewhere in the RED before creating it there though.

I’ll reinstall windows again first before retrying.

I did have my online backups wiped, ie my OneDrive wiped when I reinstalled Windows 11 a few weeks back, fortunately I also have offline backups, and my Github’s been messed with.

I noticed my CPUbind had been altered, so when I re downloaded it, it wouldnt work and that was a C11 app.

Reinstalled Windows 11 and vmware XP and its working this time around.