Re: Still need sample code for access to Win32 DLL
- From: "Bruno van Dooren" <bruno_nos_pam_van_dooren@xxxxxxxxxxx>
- Date: Sun, 5 Mar 2006 21:59:04 +0100
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"
.
- Follow-Ups:
- Re: Still need sample code for access to Win32 DLL
- From: _iycrd
- Re: Still need sample code for access to Win32 DLL
- References:
- Still need sample code for access to Win32 DLL
- From: _iycrd
- Re: Still need sample code for access to Win32 DLL
- From: Bruno van Dooren
- Re: Still need sample code for access to Win32 DLL
- From: _iycrd
- Re: Still need sample code for access to Win32 DLL
- From: Bruno van Dooren
- Re: Still need sample code for access to Win32 DLL
- From: iycrd
- Still need sample code for access to Win32 DLL
- Prev by Date: Re: Still need sample code for access to Win32 DLL
- Next by Date: Generating an application manifest with a trust level section for an administrative application
- Previous by thread: Re: Still need sample code for access to Win32 DLL
- Next by thread: Re: Still need sample code for access to Win32 DLL
- Index(es):
Relevant Pages
|