Re: Problems linking c++/SWI executable for Windows

Kaitain Jones <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <CAMeycMzhEzUuTiJjP4JLKbVm5b6ai_soL4B33=vXU9NEK9jxdQ@mail.gmail.com>
> I was also a bit astonished that MSVC can silently link to MinGW's .dll.a
> files after renaming them, but the result simply crashes in a way which no
> debugger can make sense of :-(  Please try a simple hello-world like app
> first, so you are sure there are no weird things going on.  Also make
> sure there are no traces of renamed .dll.a files ...

Just to clarify, were you able to run a 32-bit exe, embedding SWI, compiled
and linked using MSVC, or were you only able to compile and link it? And
were you able to try 64-bit?

To reiterate, I can now compile, link and run a 64-bit exe using MSVC, make
queries to SWIPL, iterate through solutions etc. Everything looks good so
far. But 32-bit blows up instantly, and doesn't even get into Main...sounds
like you encountered this as well..?
-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.