| Thread | Last Post | Replies |
|
| DLLs | 19 Oct 2006 19:47 GMT | 3 |
I'm still a bit of a newbie so bear with me. We've developed some DLL's in VC 2003. We're going to be moving these dlls between numerous systems and was wondering what the best way to determine if a particular dll was registered on that system or not. Do I simply go
|
| Function like "Generic::List<String^>^ buildList(String^ inParm)" and avoiding warning C4172: returning address of local variable or temporary | 19 Oct 2006 05:27 GMT | 4 |
I have a Managed C++ object (in a DLL) which has a method that is defined like ... Generic::List<String^>^ buildList(String^ inParm) Now, when I compile it, I get "warning C4172: returning address of
|
| Export C++ class from a Borland DLL and use it in Microsoft VC | 18 Oct 2006 17:42 GMT | 17 |
I'm new of this group and I do not know if this is the correct group for my question. I have a DLL with its export library (.lib) wrote in Borland C++ 6. In borland everything is OK and I am able to include the lib and use the
|
| Thread Safety in C++ code | 18 Oct 2006 09:58 GMT | 11 |
I was going through this article http://blogs.msdn.com/oldnewthing/archive/2004/03/08/85901.aspx This talks about "C++ scoped static initialization is not thread-safe, on purpose!"
|
| Finding Header dependencies | 17 Oct 2006 21:55 GMT | 2 |
I'm currently using MSVC.Net 2003. My task is to extract header dependencies from C++ source code. To that end, I invoke "cl /E" and parse the preprocessor output. While this approach is effective, it is quite slow. The runtime of this command is so similar to actually ...
|
| How to export a class that inherits from unmanaged exception class | 17 Oct 2006 20:49 GMT | 3 |
In my unmanaged C++ app (VS 2005) I have written a class that inherits from exception. I want to export this class from a library DLL, but the compiler complains because exception is not itself exported. Any words of wisdom? TIA - Bob
|
| NotifyIcon left click menu | 17 Oct 2006 10:56 GMT | 3 |
I am using VS2003 VC++ .NET. I want to make a tray icon with a popup menu (like a context menu) that pops up for a left click. I can make the notifyicon with a context menu and that works fine, but
|
| Calls to SendMessage api | 17 Oct 2006 07:43 GMT | 4 |
My application has a lot of threads which at some point call SendMessage api passing it the handle of the gui window. The calls r a lot. My question is that should I call the SendMessage api by protecting it in a critical section, or the SendMessage api itself handles this kind ...
|
| Where's my dll after I build? | 17 Oct 2006 04:51 GMT | 5 |
I created a managed C++ dll project. I wrote the code and compiled it and everything builds fine. The problem is no prj.dll is generated in the output directories. It does generate a prj.dll.intermediate.manifest that's 1k and all the obj files. How do I get a dll? What I ...
|
| your experiences on porting code to C++/CLI, please | 16 Oct 2006 23:16 GMT | 4 |
I would like to hear from others who have considered and/or ported code from traditional C++ to C++/CLI. The class library I am considering porting to C++/CLI was written in traditional C++ with STL and a touch of MFC. It represents the back end to
|
| C++/CLI equivalent to STL vector and deque? | 16 Oct 2006 18:34 GMT | 9 |
I would like to port my class library written in standard C++ with STL to C++/CLI. Several of my classes inherit from std::vector or std::deque. From what I can see, dot.net does not offer equivalent classes. Is this really the case or have I missed an entire section of the ...
|
| oledb date/time insert command format | 16 Oct 2006 15:02 GMT | 5 |
VB.NET 2005 Express edition Microsoft Access 2000 (SP-3) Having trouble writing an "insert into" command for a Microsoft table I'm accessing through oledb.
|
| Lexer/Parser Generator Recommendations? | 16 Oct 2006 06:09 GMT | 6 |
Can anyone recommend a good and *easy to use* lexer and parser generator? Preferably one that was written specifically for VC++ and not mangled through 20 different platforms. I've had it up to here (funny hand gesture) with trying to compile the bullet-riddled code that GNU ...
|
| Launching Word from Visual C++ 2005 | 15 Oct 2006 21:13 GMT | 2 |
I have a project that launches Word via a Com object. This project compiles fine on my desktop. Now I transferred this project to my notebook, where it won't compile. After typing
|
| LPTSTR in vc.net | 15 Oct 2006 18:25 GMT | 4 |
How can i use LPTSTR in VC++.NET application ? the same question for HINSTANCE, and HANDLE types. Should i use a MarshalAs and to which type ? thanks,
|