dead bug
unread,Aug 14, 2008, 7:40:09 AM8/14/08You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
The problem is that we have a fairly big part of our project written in C which we now start as RTmain and we also use a LabView VI. We want to use the DLL to pass data very fast between these two, so the LabWindows/CVI program and the LabView VI must be able to call functions from the DLL. Due to that I can not simply put everything into the RTMain function.Apart from that I don't really understand why the system crashes. As far as I understand this, there is nothing wrong in what I am doing. Every DLL must have a DLLmain function, which may do some initialisation, but does not have to, and returns TRUE if the DLL can be loaded. So, if I leave it away, there must be one automatically generated by LabWindows and I cannot see what it should do in the simple case of a DLL that only exports a function that actually does nothing. Anyway the system is only crashing when I use the explicite written DLLmain. Of course I could try to work around this, but I would really like to understand the problem. dead bug