From: us on
"Mark Patterson" <cleobis(a)gmail.com> wrote in message <i0jb0c$lcl$1(a)fred.mathworks.com>...
> "us " <us(a)neurol.unizh.ch> wrote in message <i0j9n8$t5n$1(a)fred.mathworks.com>...
> > well... there seems to be your black-box: the compiler...
> > - can you get the information, eg, bitsize,...
> > - furthermore, is your function visible, eg, what does LIBFUNCTIONS
> >
> > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/libfunctions.html
> >
> > yield(?)...
> >
> > just a few more thoughts
> > us
>
> libfunctions() indicates that there are no functions in the library, consistent with the failure of loadlibrary, but contrary to the desired behaviour. As libfunctions requires the library to be already loaded, I would not expect it to list the function until loadlibrary executes without issues.
>
> I agree that the compiler is a big question. Unfortunately, the DLL was prepared by someone else, I'm trying to understand what could be wrong with either what I'm doing in MATLAB or how the library was prepared. This library has been used successfully with other applications.
>
> Thank you,
> Mark Patterson

can you upload your lib for other CSSMers to look at(?)...
eg, here

http://groups.google.com/group/CSSMrepository/topics?hl=en

us
From: Mark Patterson on
"us " <us(a)neurol.unizh.ch> wrote in message <i0jcsc$l2a$1(a)fred.mathworks.com>...
> can you upload your lib for other CSSMers to look at(?)...
> eg, here
>
> http://groups.google.com/group/CSSMrepository/topics?hl=en
>
> us

I'd rather not upload the library as I don't have rights to distribute it. Certainly, this may impact the amount of help you can give me.

Thanks for your suggestions anyways,
Mark
From: Steven Lord on

"Mark Patterson" <cleobis(a)gmail.com> wrote in message
news:i0l43c$rvu$1(a)fred.mathworks.com...
> "us " <us(a)neurol.unizh.ch> wrote in message
> <i0jcsc$l2a$1(a)fred.mathworks.com>...
>> can you upload your lib for other CSSMers to look at(?)...
>> eg, here
>>
>> http://groups.google.com/group/CSSMrepository/topics?hl=en
>>
>> us
>
> I'd rather not upload the library as I don't have rights to distribute it.
> Certainly, this may impact the amount of help you can give me.

In that case, try creating a dummy library that contains a similar example
to your actual code and see if you can reproduce the problem with that
dummy. Tweak the level of similarity until you get something that contains
a bare minimum example with which you can reproduce the problem, and post
that. During the tweaking process, you may even realize what's causing the
problem and/or find an alternate solution that meets your needs while
avoiding this problem.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com


From: us on
"Mark Patterson" <cleobis(a)gmail.com> wrote in message <i0l43c$rvu$1(a)fred.mathworks.com>...
> "us " <us(a)neurol.unizh.ch> wrote in message <i0jcsc$l2a$1(a)fred.mathworks.com>...
> > can you upload your lib for other CSSMers to look at(?)...
> > eg, here
> >
> > http://groups.google.com/group/CSSMrepository/topics?hl=en
> >
> > us
>
> I'd rather not upload the library as I don't have rights to distribute it. Certainly, this may impact the amount of help you can give me.

clearly so...
good luck...

us
From: Mark Patterson on
> In that case, try creating a dummy library that contains a similar example
> to your actual code and see if you can reproduce the problem with that
> dummy. Tweak the level of similarity until you get something that contains
> a bare minimum example with which you can reproduce the problem, and post
> that. During the tweaking process, you may even realize what's causing the
> problem and/or find an alternate solution that meets your needs while
> avoiding this problem.
>
> --
> Steve Lord
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

I'll give this a try. It may take a bit of time to get a copy of the code.
-Mark