| Thread | Last Post | Replies |
|
| How to convert C# out parameter to C++? | 20 Apr 2006 01:50 GMT | 6 |
For example: public static void FillRow(Object obj, out SqlDateTime timeWritten, out SqlChars message, out SqlChars category, out long instanceId)
|
| Managed C++ dll in a C# app. Can't add the Debug version. | 19 Apr 2006 20:12 GMT | 7 |
I had a C++ dll that I used for C++ applications. I added a managed C++ class to this library and started to use the managed C++ class in my C# application. This works OK only if I build the C++ dll in release mode. If I try to
|
| Any easy way to convert legacy C++ code to managed C++? | 19 Apr 2006 20:01 GMT | 1 |
I am building a SQL Server CLR user-defined function (which means it must be pure safe?). I got hundres/thousands of error. And most errors are in vadefs.h, crtdefs.h, yvals.h, ymath.h, math.h, float.h, swprintf.inl, ..... Any easier way to convert the code without many changes?
|
| The least-cost way to return a one-row IEnumerable object? | 19 Apr 2006 19:51 GMT | 3 |
The function must return a IEnumerable object with one row (any data). I have the following code. Any less cost way? IEnumerable^ udf() {
|
| CLI string question | 19 Apr 2006 19:11 GMT | 5 |
I have a question about string literals with C++/CLI. Is there a difference between the following two lines? String ^s1 = gcnew String("Hello"); String ^s2 = gcnew String(L"Hello");
|
| dotnet or MFC | 19 Apr 2006 15:08 GMT | 2 |
I'm starting a new project and am still torn deciding whether to go with MFC or to do it in C++/CLI with dotnet. The app makes extensive use of C++ native libraries which cannot go managed (closed source) and will have a whole pile of UI. Dotnet is way easier for UI than MFC but
|
| ref classes and value classes | 19 Apr 2006 13:48 GMT | 8 |
I am a little confused about the difference between a "value class" and a "ref class". I have the following code sample that shows the definition of a value class and of a ref class and each is instantiated twice - one on the stack and one
|
| Linker generated Manifest version differs from Redist versions | 19 Apr 2006 12:59 GMT | 4 |
I am finding that the linker for a C++ application in VS 2005 is generating a manifest with old version #s for DLLs such as mfc80.dll. How do I make sure that the linker generates a manifest that reflects the correct versions numbers of the DLLs?
|
| illegal reference to non-static member? | 19 Apr 2006 07:44 GMT | 2 |
I got the following error: Error 1 error C2597: illegal reference to non-static member 'Microsoft::SqlServer::Server::SqlFunctionAttribute::FillRowMethodName' when compiling
|
| Cannot compile the following code | 19 Apr 2006 06:33 GMT | 3 |
Seems the FillRowMethodName caused the problem? C# works. but not C++? using namespace System; using namespace System::Data;
|
| NAnt linking problems : LNK1256 | 18 Apr 2006 16:48 GMT | 4 |
I have a C++ mixed mode dll ( unmanaged/managed ) that wraps a C# dll to provide some functionality for Microsoft Excel. I am able to compile my solution fine in Visual Studio .NET 2003 and it links and works with no errors. There is a desire at my company to have things
|
| Project seetings being ignored in VS2003 - is this a bug? | 18 Apr 2006 16:11 GMT | 14 |
I am pretty close to the end of my tether at the moment. I have a project which requires some header fies - which happen to be located in another folder (the relative path from where my sources are is simply (..\include).
|
| cannot successfully build MS Express sample programs | 18 Apr 2006 14:59 GMT | 2 |
I'm new to this group, and recently downloaded the MS Express package for C/C++. I tried to install and run some of the sample programs, and get a peculiar error. ------ Skipped Build: Project: Calc ------
|
| MVP | 18 Apr 2006 06:06 GMT | 1 |
How does one become an MVP?
|
| Managed C++ MAKE_DELEGATE and LostFocus event in VS2005 | 17 Apr 2006 20:03 GMT | 6 |
I am using Managed C++ with a CFormView and a MaskedTextBox and have used MAKE_DELEGATE to sink the LostFocus event of this control. I have other events I've sinked off this control and they all work fine, however, the LostFocus does not fire.
|