Welcome to the FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
How to Receive Technical Support::
If you are needing assistance with FlexRadio products, please refer to the product documentation or check the Help Center for known solutions. Need technical support from FlexRadio? It's as simple as creating a HelpDesk ticket.

FlexLIB question

Options
K5XH
K5XH Member ✭✭✭

Can someone please tell me how to get a FlexLIB.dll file? Everything I can find seems to be out of date. This is typical of what I can find:

image.png

There are no .dll files in the install location. The file "FlexLIB.dll" is not found anywhere on my computer (W11 Pro). I have downloaded the API library. Other instructions say to use .sln or .csproj files to build the dll but I see no .sln files and one .csproj file in UiWpfFramework. Almost all the files seem to be .cs files.

I have done some c# programming but apparently getting started on programming for the Flex is tough (for me)!

Thanks, Mark K5XH 6600/PGXL/TGXL/AGXL

Comments

  • KD0RC
    KD0RC Member, Super Elmer Moderator
    Options

    Hi Mark, Flex now creates the executable with the DLLs incorporated instead of in a separate library. This means that you need to compile the DLLs yourself.

    What I do to compile FlexLib with Visual Studio 2022 is the following (if this isn't correct or optimal, someone please let me know):

    • Open FlexLib.csproj
    • Add project UiWpfFramework.csproj to the solution
    • Add project Util.csproj to the solution
    • Add project Vita.csproj to the solution
    • Build FlexLib

    In my application, I add references to the four DLLs (note that the unchecked ones are from older builds)

    image.png

    They then show in the Solution Explorer:

    image.png

    Now I can compile my app using FLexLib.

  • Trucker
    Trucker Member ✭✭✭✭
    Options

    Thanks for sharing this. I have avoided compiling from source code for the dll files as I never seemed to be able to get them built in the correct order.

    James

    WD5GWY

  • K5XH
    K5XH Member ✭✭✭
    Options

    Thanks Len!

    I was beginning to think that I had picked a bad time to try a little API programming! I have spent many hours working on the .dll problem over the last several days. I about wore out my welcome on ChatGPT and Google searching for a solution but none of them worked. I think most of the info was for the older versions of SmartSDR.

    I just tried your method and I now have the dll files! Now I get to see if I can do anything with them.

    I wonder why Flex doesn't just add those dll files to their downloads and save dummies like me from wasting a lot of time.

    Thanks again Len,

    Mark K5XH

  • KD0RC
    KD0RC Member, Super Elmer Moderator
    Options

    Hi Mark, I'm glad you got it working. Good luck with your project!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.