changing Organization Uint ADSI
how can change Organization unit of an users ? ...
how can change Organization unit of an users ? ...
Beginner question: I want to debug some code that compiles. I pressed debug, it asked for an exe file. I browsed and selected the Visual C++ exe. It doesn't work and I don't know how to change it. How to change this EXE file? To what should I set it? ...
I have created a DLL in VC++ as Win32 project DLLMAIN function is BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { return TRUE; } Now I need HINSTANCE of the DLL , that need to be passed to Win32 functions. Are HMODULE an...
gud day!. i am to develop a system that would simply list all URL accessed in a browser with its response time. my probtion is alem is this applica standalone program(not a plug-in to a certain browser) written in c++. every time a user browse, the program then performs certain method. so it is like, my program would listen to the bro...
Hi everyone, Stuck on a little fiddly problem. I'm creating a GUI in C++ using XP and VS C++ using the command CreateWindow(). My question is, how do I make the inside paintable region a perfect square. When passing in the size of the window to create, some of this is deducted for the menu bar at the top, border all around etc. Are ther...
Is there any way to view the default functions ( e.g., default copy constructor, default assignment operator ) generated by a compiler such as VC++2008 for a class which does not define them? ...
I have Visual C++ solution. One of the project needs to compiled targeting x86 as well as x64. With default setting it can be compiled once in solution file. Is it possible to build solution once but build the same project with two different settings ? Thanks in advance for any help. ...
I am using VS 2008 Express. One of the projects I'm working on uses a physics engine. For their own reasons, the maintainers of the engine suggest compiling the source with your project for better stability and compatibility, instead of linking to the static libraries. This means that in the Class View, all the engine's classes and meth...
I have an ATL/WTL project developed using Visual Studio 2008 and up until now I have been statically linking with the CRT libraries, avoiding the need to ship them. However, I now need to consider using the dynamic libraries (DLL) instead - in order to reduce the size of the code and because I want to use the excellent crashrpt tool (wh...
Hi, We are hooking TextOut(),ExtTextOut() and DrawText() methods GLOBALLY . i.e. hhook = SetWindowsHookEx(WH_CBT, function_address, module_handle, 0); But we want to hook/unhook only a particular exe. Can someone tell us how to check all the existing threads and get the required exe and hook/unhook only that. Please provide help. T...
Hello, I was wondering how visual studio associates mfc CDialog derived classes with their corresponding dialog resources. I'm not interested in how the connection is made at run time (as asked here), but rather at design time. When I add a message handler to a dialog, how does it know which class to add the handler to. Also, is it pos...
Any idea if Visual C++ 2005 Redistributable package (x64) is supported on Windows 7 (64 bit) ? I was able to get to this page : http://www.microsoft.com/downloads/details.aspx?familyid=EB4EBE2D-33C0-4A47-9DD4-B9A6D7BD44DA&displaylang=en but the supported operating systems does not include Windows 7. Also the same question on 32 bit ...
I am using CloseHandle() to close handle to a thread. This is done towards the end of the program and hence cleanup operation should be irrespective of the return value of the CloseHandle(); pc-lint reports error that , ignoring return value of function. Kindly let me know if there will be any issue if ignoring the return value ...
I tried to paint on my windows desktop using GetDesktopWindow(). But i failed because desktop repaints itself rapidly and my painting doesn't appear. So I need to replace my desktop window obtained by GetDesktopWindow() with ownerdraw application window Can anyone has an idea, how to do this ? Thanks in advance, Milan ...
I'm starting to modify my app, which uses all hardcoded strings for errors, GUI, etc. I'm considering these two approaches, but let me know if there is an even better way: -Put all string in ressource (.rc) files. -define all strings in a file, once for each language. Use a preprocessor define to decide which strings get compiled i...
Is there a waymuch like viewing the result of preprocessing with gcc -Eto see what my objects look like once compiled into object files? I am talking about GCC, but a solution including MSVC would be fine. ...
Hello, What is standard or "most-popular" naming convention for MSVC library builds. For example, for following platforms library foo has these conventions: Linux/gcc: shared: libfoo.so import: --- static: libfoo.a Cygwin/gcc: shared: cygfoo.dll import: libfoo.dll.a static: libfoo.a Windows/MinGW: shared: libfoo.dll import: li...
In my code I have effectively the following: wchar_t* buffer = new wchar_t[size]; // bonus irrelevant code here delete[] reinterpret_cast<char*>( buffer ); Types in question are all built-in and so they have trivial destructors. In VC++ the code above works allright - new[] just allocates memory, then delete[] just frees it. Is it ac...
I am building an application using VS2008, in C++, for Windows Mobile 6 and I want to change the tool bar associated with the left and right soft-keys. I know how to change them between menus and buttons before compilation by changgin the resources, (NOMENU), however, as the demands if my application change I want to be able to change a ...
Hi all, I need to compile several c++ projects using the version 6.0 compiler. Is there any way to compile my projects using the visual c++ 2008 express edition compiler. In java, there is a command to specify which version of the compiler to use on commandline, I was hoping that c++ 2008 has such a command as well. Kind regards. ...