Paul Probert wrote:
> Last night I figured it out. Its interesting- it turns out that
> Labview was loading the dll, and its dllmain was being called
> with PROCESS_ATTACH as the reason, and due to a programming error
> of mine in the dllmain function, the function would bomb and exit.
> Labview then tells you that it can't find the
> exported function, but that's not the real problem. The way I found out
> was to have the dllmain function open and write a log file before
> it got around to crashing.
Paul:
For the benefit of all of us, could you perhaps look back at your case as
an example and suggest a better way of debugging a DLL intended for use
ultimately with LabVIEW? Say calling it first with a C program to make sure
all the functions a
re working correctly, before trying it with LabVIEW and
adding to the confusion? I'm no DLL-meister myself, just wondering.
Thanks,
Rod
--
Roderic Don
Research Associate II
University of Delaware
Center for Composite Materials
302-831-8701
302-831-8525 (FAX)