Go to Post Cooler robots = Impressed sponsors = More money for FIRST = Easier expansion = Easier culture change. Isn't this what we want? - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #13   Spotlight this post!  
Unread 21-09-2015, 22:39
JamesTerm's Avatar
JamesTerm JamesTerm is offline
Terminator
AKA: James Killian
FRC #3481 (Bronc Botz)
Team Role: Engineer
 
Join Date: May 2011
Rookie Year: 2010
Location: San Antonio, Texas
Posts: 298
JamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to beholdJamesTerm is a splendid one to behold
Re: Dynamically Linked Libraries

Quote:
Originally Posted by Hsifeulbhsifder View Post
I was just wondering if it is possible to create and deploy user created code to be linked dynamically at runtime? In other words, is it possible to deploy the RoboRIO equivalent of a win32 .dll file to the RoboRIO?
Out of curiosity, why would you want it to be a dynamic link library as opposed to say a static library?

The big difference there is if you have global/static variables that are to be shared to multiple children dll's that are dependent on the same dll. Other than that static seemed to be easy to do to keep coding groups encapsulated just as it is in a win32 environment.

There is one other technique that seems to work just as well... this is one project, but within the project each group of files is in its own folder. This one seems to be the easiest to build as I don't have to worry about certain projects being forced to build, when doing it the other way. This method also avoids having multiple instances of singletons (that could occur with static libraries).
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi