| Thread | Last Post | Replies |
|
| Unit Testing mixed assemblies | 05 Jan 2006 09:29 GMT | 1 |
I have a dll assembly compiler with the /clr flag as it contains ref classes and traditional style C++ classes. I want to write unit tests for the ref classes in that assembly. VS2005 allows me to author such a test, but at runtime I get the following exception
|
| Constructor denial? | 05 Jan 2006 08:14 GMT | 10 |
Is it possible to have a constructor REFUSE to be constructed? That is, can one within a constructor check to see if I really want to be constructed, and return a nullptr instead of a valid object address when a construction is attempted? Note that 'in the old days', a call to ...
|
| using C# dll as COM | 05 Jan 2006 06:21 GMT | 2 |
I have created a dll in C# . I have to use it as a COM for my Excel work sheet while adding code for a worksheet ( it is an option in Microsoft Excel that we can add code for worksheets to execute while using work
|
| Changing fonts in an edit control | 05 Jan 2006 00:43 GMT | 3 |
Consider the follow code snippet. Why doesn't it work? // Initialize a CFont object with the characteristics given // in a LOGFONT structure. LOGFONT lf;
|
| Application Activation using VC | 04 Jan 2006 21:29 GMT | 3 |
I am working with a ICA32 citrix client from windows xp, where I am trying to use some automation through citrix client so that I can unmann a tedious file-copy through one of the published apps (Windows Explorer). I've tried it through VB and found out that SendKeys wont
|
| very n00b question about multi forms | 04 Jan 2006 21:26 GMT | 2 |
hi i kno in VB ud say, with Splash Screen Being the name of my second form Dim frm as new Splash_Screen frm.show how do i do that in C++...ive tried this but it doesnt work
|
| C# C++ integration | 04 Jan 2006 20:48 GMT | 5 |
I am a novice in the .net platform. Please help in this. I have a C++ application which, now will have to be integrated in to ASP.net for a web application. I understand that .NET Framework programs can access native code libraries by means of static DLL entry
|
| value structs: what do I pass as a parameter to a method so they can be changed? | 04 Jan 2006 17:53 GMT | 2 |
This is possibly some other problem, but here goes anyway. I created a 'value struct'. I then created a stack semantic instance of it. I then created a method that takes a pointer to such an instance, and changed one of its components. I then tried this code, and it didn't change ...
|
| How to tell if a lib file created in VC7 is a static or dynamic? | 04 Jan 2006 17:17 GMT | 2 |
Could anyone point me to a resource that will help me determine if a lib file is a static lib or dynamic? Moreover, is there a tool that will tell me the interface? Thanks,
|
| passing C# string to native WHCAR buffer via C++/CLI | 04 Jan 2006 12:45 GMT | 5 |
I'm not sure if this has been asked before so please pardon me if this is a repeated question. Basically I have some performance critical directshow codes which is implemented in native, unmanaged C++. I have written a managed wrapper for it using C++/CLI. problem comes when I try
|
| Drawing a circle | 04 Jan 2006 07:02 GMT | 7 |
I'd like to draw a circle on the screen using GDI+ I'm using the DrawEllipse method with width = height and I set the SmootingMode to SmoothingModeAntiAlias but the circle is "squared". Is there a way to draw a "smoothed" circle ?
|
| Cannot set breakpoint. Decorated name length exceeded? | 04 Jan 2006 07:01 GMT | 3 |
I once had a function in which I could not set a breakpoint. VS VC++ .net 2003 7.1 (native c++) would crash. This particular function had about five arguments. Each argument was an STL container of some sort. The "expanded" name of the function (with all templates written out) ...
|
| error message while building win32 project | 03 Jan 2006 22:25 GMT | 1 |
First time for writing the program it goes well but when rebuilding it issueing that message : Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
|
| nested native class in managed class in VC8 not allowed?? | 03 Jan 2006 17:16 GMT | 9 |
Hi everyone.. I was trying to implement callback fucntions in native codes in my VC8 class, and referred to some online codes which use native class nested within managed class. basically of the form,
|
| MFC and WPF interop: render a CDC* to WPF | 03 Jan 2006 14:25 GMT | 1 |
Within an MFC application that also has some WPF content embedded into the UI (via HWndSource) I have a pointer to a CDC wich contains some custom GDI drawing. So basically it is a piece of memeory with a bitmap. How can I get this to be displayed in WPF (within the HWndSource) ...
|