Re: Still need sample code for access to Win32 DLL

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I was looking forward to C++/CLI coming into its own, but I guess I
can't make use of it.

For what it's worth, this topic came up in the newsgroup a couple of weeks
ago, and I seem to recall someone from the VC compiler team saying that the
reason it wasn't yet implemented was the underlying complexity.
It is possible that this will still be implemented in a later VC version.

Another related question: Is there any way to use different compile
flags (/cli vs /cli:old....) on different files in one project?


I just did a quick test: while it is possible to specify /clr:oldSyntax for
StdAfx.cpp and /clr for main.cpp,
you get a lot of compilation errors so I don't think it will work.
An alternative would be to put all that interop stuff in one class lib that
you compile with oldSyntax, and then use that classlib in a C++/CLI project.

--

Kind regards,
Bruno.
bruno_nos_pam_van_dooren@xxxxxxxxxxx
Remove only "_nos_pam"


.



Relevant Pages

  • Re: dell newsgroup activity
    ... I know at times this newsgroup is not ... busy but I don't recall 4 days worth? ...
    (alt.sys.pc-clone.dell)
  • Re: Expect your comments
    ... my immediate reaction would be simply that I don't recall you being ... particularly active in this newsgroup, and "pandi" isn't among the names ... so kind as to explain why it is worth my time to visit your site. ...
    (comp.lang.c)
  • Re: dell newsgroup activity
    ... I know at times this newsgroup is not ... busy but I don't recall 4 days worth? ...
    (alt.sys.pc-clone.dell)
  • Re: dell newsgroup activity
    ... I know at times this newsgroup is not ... busy but I don't recall 4 days worth? ...
    (alt.sys.pc-clone.dell)
  • Re: Expect your comments
    ... my immediate reaction would be simply that I don't recall you being ... particularly active in this newsgroup, and "pandi" isn't among the names ... so kind as to explain why it is worth my time to visit your site. ...
    (comp.lang.c)