-
- decomposing data
by aguess
- 9 Replies
- Last post
by Bite Qiu - MSFT
- hi
i have some problem in extracting some data from a database.in this database there in field that contain some information that i need to decompose .
the information is numbers between "/" that :
Code Block 102/232/232
i tryed to used vector and to use it like a table but eatch element of the vector take all the string and i can't decompose it (Vect[0]==
-
- SOLUTION FIXED !!!!!!!!!!
by gon_no1
- 5 Replies
- Last post
by gon_no1
- hi guys, I have built a super simple VC++ windows form application using VS2005-SP1 and tried to run the "release" on other machines and encountered the famous "This App Failed to Start, Config is Incorrect.." problem. so I have spent a lot of time searching for answers systematically, and I have read pretty much all the things on MSDN and also on this forum, but the problem is
-
- iertutil.dll and normaliz.dll missing on target system, can I redistribute them?
by robdog
- 1 Replies
- Last post
by Bite Qiu - MSFT
- I have created an application in vc6 c++ dependent on wininet.dll. On my system, I have also recently upgraded to ie7 which seems to have replaced my old wininet.dll with one that is dependent on iertutil.dll and normaliz.dll (two new dlls). When I deploy my application to a computer that is still using ie6, these two dlls are missing. My app crashes.
Should and can I distribute/deploy these tw
-
- Sending keystrokes to other window
by hacer
- 10 Replies
- Last post
by Rosh K Mathews
- Hi i have a problem. I want to write a program that would send a keystroke to other window. Do i have to use hooks or there are some other ways. I saw some that uses .Net Framework. Desired OS don't have Net Framework installed.
-
- Global memory address
by Naska47
- 14 Replies
- Last post
by Simple Samples
- Is there a way to convert a memory address from local virtual address space to it's real address
-
- Popup menus anywhere
by cadouthat
- 7 Replies
- Last post
by Pintu Shukla
- i would like to make a popup menu appear on a right mouse click, just like explorer does when you right click something.
how would i go about this
thanks in advance
PS i typically like to stay away from using .net in my apps, so if you could give me a way to do it without .net, it would be great
-
- Compile VC8.0 program from commandline
by AlbyIndia
- 3 Replies
- Last post
by Sdi
- I have an application to test some API. Can I make use of VC8.0 compiler through commandline to compile it Is the binary portable any dependencies
-
- How to enum access permissions and SIDs
by akhin
- 6 Replies
- Last post
by Sdi
- I want to make an enumration with all SIDs or account names in the system.
How can i enumerate permissions by accounts for a specific file/folder
I want to make an output like that :
File : c:\a.dat
ACL ACCESS ----------------------------- user1 read write
user2 read
user3 write
Thank you very much.
-
- user32.dll was relocated in memory....shell32.dll
by Anonymous565379
- 14 Replies
- Last post
by Frenzy
- i got his message after today update. I'm relieved that it is not just my com but rather the update. Anyone knows how to solve this problem My com seems to hang v often after i got the message. Microsoft should fix the bug quickly.
-
- Dll exporting .lib file
by bookysmell2004
- 4 Replies
- Last post
by bookysmell2004
- Hi again. When I create and build a Win32 Dynamic Link Library Project with my default settings in the output folder I get 5 files and among them a .lib file which is used for linking. Now... I have created a dynamic library project with the same way and I am trying to link it dynamically with a Win32 Project in the same solution. The problem is that there is no .lib file as output of the dll proj
-
- Generics constraint on generic class member function
by eldiener
- 2 Replies
- Last post
by eldiener
- Given a generic class, is it possible to place a constraint specifically at the member function level of that class I did not see any syntax for this, but it would often, IMO, be useful to place a constraint on a member function of a generic class rather than on a generic class as a whole. This could allow one to design a generic class which could be used without a constraint but could limit the
-
- fatal error LNK1104: cannot open file 'mfc70d.lib
by Suresh NR
- 2 Replies
- Last post
by Suresh NR
- hi all,
I am trying to compile application and following erro is occuring
fatal error LNK1104: cannot open file 'mfc70d.lib
i am having VS .NET 2003 , DirectX SDK Summer 2004 installed on XP Prof Sp2
Help me.
Cheers
Suresh
-
- Mixed mode finalizer bug in C++ class destructor with std::vector member
by eldiener
- 14 Replies
- Last post
by eldiener
- I have discovered a bug when finalizing a CLR class which deletes a data member which is a pointer to a C++ class, and the C++ class has a std::vector<ANYTYPE> as a data member. When this occurs an exception is thrown, with the message in the debugger being: "An unhandled exception of type 'System.AccessViolationException' occurred in msvcm80d.dll Additional information: Attempted to re
-
- Assertion error
by Anon4ymous12345
- 4 Replies
- Last post
by crescens2k
- hi! After my program runs for abouti minute the DEBUGGER of visual studio 2005 decides to give me an error - "debug assertion failed" Programme : ... File: fprintf.c Expression : ( str != NULL ) any suggestions on why this is happeining Reg !
-
- Including <atlenc.h> in a windows form application.
by Corey Was Here
- 6 Replies
- Last post
by Holger Grund
- I hope I posted this in the right section of the forum. Is it possible to include <atlenc.h> in a windows form application I am wanting to use Base64Encode and Base64Decode in my program but everytime I include the header file I get errors. I am new to Visual Studio so I am not exactly sure how everthing works. I was really wanting to use the Base64Encryption and Decrytption I even wrote a s
-
- Can't move modeless dialog
by sp1n
- 5 Replies
- Last post
by sp1n
- I have an application which opens a modeless dialog box. The problem is whenever I try to move the dialog using a mouse, the box just stays in one place. I've written a simple test app and no matter what I try I can't get the dialog to move. Here's the code:
#include <windows.h> #include "resource.h" #define CLASSNAME "Name" HINSTANCE hinstance; HWND hwnd; HWND hDialog
-
- passing a vector in function
by aguess
- 7 Replies
- Last post
by aguess
- hi i would like to pass a vector in my function but that didn't work with me and got an error
Code Block
Error 1 error C2955: 'std::vector' : use of class template requires template argument list my code is
Code Block
CStringW name_of_city(std::vector tab); can you tell what i missed
-
- Error while running exe files created in VC8
by Angshuman Chatterjee
- 14 Replies
- Last post
by ashishbhatt12
- I have a proejct with several dll-s and an exe which I have migrated to VC8. I get the floowing message if I try to run the exe:
This application has failed to start becaue the application confuiguration is incorrect. Reinstalling the application may fix the problem.
Similarly I get the following message if I try to register the dll-:
LoadLibrary(<library.dll>) failed - This app
-
- Finding all methods from CLSID
by ahelpyguy
- 12 Replies
- Last post
by Aleksandr Tokarev
- Hi, I need to write one small application. Where i need to find all methods and properties of a activex control. like, 1) Take CLSID or Prog ID 2) Find all methods How to start in vc++, Does anyone have the sample code or any docs Thanks
-
- Drawing 32-bit icon
by myx
- 2 Replies
- Last post
by myx
- Hello. I want to draw 32 bit icon. I load it from resource, and draw it with DrawIcon function. But when I try to draw it using a Image List it does not draw it like a 32bit icon. I'm use ILC_COLOR32 flag when I create an image list. And add icon by ImageList_AddIcon function. When I get icon from image list by ImageList_GetIcon function, it is still 32bit with alpha channel, because DrawIcon draw
-
- Compiler error / strange behavior when combining inline assembly and templates (testcase included)
by WolfgangSt
- 2 Replies
- Last post
by WolfgangSt
- Hi i'm using VC Express 2005 with SP1 installed (not sure how this does without the SP)
Compiling this code is fine so far
Code Block
template < typename T> class AExtender {};
template < typename T> class A: public AExtender<T>
{
public :
static void a() { std::cout << "A<T>::a();" << std::endl;
-
- using hash_map
by kvod
- 4 Replies
- Last post
by kvod
- Hi,
I am using a hash_map indexed on string, but performance is incredibly slow. Something tells me that I am not doing it the right way. I use visual studio 2003 and declare my hashmap as follows:
hash_map <string, set<string> > map;
Do I need to tell it how to hash a string or to compare two strings If so, how would I do that as part of the declaration It
-
- std::map custom find
by Keith Patella
- 4 Replies
- Last post
by Keith Patella
- I have a std::map<std: tring, int> m_Map variable. I want to call m_Map.find("Find This String") without it allocating an std: tring object. I can write my own custom find by iterating through the map using strcmp, but that is incremental through the map. I want a way to travese the map using the correct left or right node, but can't seem to find a way to get access to them. Does a
-
- Strange error in class wizard
by dls104824
- 13 Replies
- Last post
by skraps
- I'm using Visual Studio 2005 SP1.
When I try to add a class with the class wizard, the wizard appears to complete, but soon after completion Visual Studio shows a dialog box with the error icon and the text: "Cannot access data for the desired file since it is in a zombie state."
Sometimes when this error occurs, a second dialog box with the error icon and the text: "Visual St
-
- CClientDC on WinCE
by MartinHY
- 1 Replies
- Last post
by Bite Qiu - MSFT
- Firstly, on [OnLButtonDown] function. I declare: CClientDC dc(this) // Declare the Device Context But Finally, when the function finishes, there is a problem Debug Assertion Failed! File: wingdi.cpp Line: 1102 And Line 1102 refers to the destruction of 'dc'. But why there is a problem Please Help Me! Thanks Martin