09-24-2009 06:45 AM
I'm trying to program a DLL which relies on another DLL....
As a program (with main() and all) my functions work fne but I'm getting a lot of errors....
Does anybody have another tutorial on creating a DLL in CVI which in turn calls other DLLs?
Shane.
09-24-2009 06:55 AM
Can you explain further what you mean by "my functions work fine" and "getting lots of errors"
You can see this document for the additional help you requested.
09-24-2009 07:33 AM
Your link doesn't seem to be working.
I'm getting undefined Symbol errors.
Shane.
09-24-2009 09:48 AM
I'm a total CVI noob, so I didn't know where the problem is coming from...
I was including the wrong *.lib in my project. I have some provided by the source which weren't working but after creating my own for the DLL it works.
Cheers
Shane.
09-24-2009 10:06 AM - edited 09-24-2009 10:07 AM
Typically undefined Symbols are a result of missing functions.
I'd be curious at how you could build an exe but not a dll. 😉
Did you try it with the correct library?
I've been dealing with a similar issue where I was given the wrong libraries. Actually, the story is too long to fully describe. I ended up writing my own functions to replace the missing ones.. LOL!! So much for code re-use!! 😄
(are you also turning to the Dark-Side?)
09-24-2009 10:13 AM
Ray,
I did the usual "n00b panic" (TM) when it wasn't working and changed loads of things. One of them was obviously the included lib. After realising that my exe was no longer working either, I followed the crumbs back to sanity.
It's OK now, I'm on my way fnally.
-phew-
Dark side? I'm working on a toolkit for LV. Followng up on my USB Nuggets.
Shane.
09-24-2009 12:19 PM
Cool..
I wanna start my USB project soon..
It's a USB remote for my multimedia machine.
09-25-2009 02:40 AM
(off topic...)
dark side ? where did you see a dark side ? you labview zealots are the dark side !
come on, let the force embrace your soul, join the C empire.
feel the power of a real programming language, free yourself from the tyranny of the wire...
09-25-2009 04:45 AM
09-25-2009 07:27 AM
LOL!!
I'm with Shane on this one.. LOL!!
I very much like LabVIEW.. But I must admit (and I hope Ben does not find this post) that C/C++ (VxWorks, CVI, etc) are also fun. Writing Makefiles is not necessarily my favorite part, but I'm getting better at it. 🙂
I remember the edge coin. I don't recall much more of it, but it was fun to see that it fell and stayed on the edge. Good metaphore.
Oh and the reference to the dark side is obviously from the LabVIEW forum. LOL!