-
- Changing character encoding changes appearance of dialog buttons
by Sternoceral
- 14 Replies
- Last post
by einaros
- I've changed my character encoding from unicode to multibyte, which has changed the appearance of form buttons from an aesthetically pleasing, windows xp style "round edge" to an aesthetically unpleasing windows 95 style "square edge". How can I change character encoding without changing the appearance of buttons Thanks in advance
-
- Problem opening a fiel using fopen_
by rca_rodrigo
- 10 Replies
- Last post
by dfranz
- I wrote this little program to a small bussines.
In the code, first i have to check that a serial number that the customer have in the file :(c:\windows\file.bin) is the same as the program in its pc.
/** Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600) Microsoft .NET Framework Version 2.0.50727 **********************/
errno_t err = 0 ;
err=fopen_s(&fp, &quo
-
- How to paste transparent images to clipboard using Win32
by Prasanth Ullattil
- 1 Replies
- Last post
by Damien Watkins - MSFT
- Hi,
I am trying to paste transparent images to clipboard. I tried using CF_DIBV5 as well as CF_DIB. Even though the alpha channel is set, applications like Excel, Word & powerpoint ignores it. I was wondering how these applications are achieving the same I compared the data, set by these applications, they are exactly same as what I have set.
Has anybody ever able to do the same I am usi
-
- Manifest is not automatically included
by JeffRozar
- 3 Replies
- Last post
by Ted.
- I created a service in VS 2005 and need to embed the manifest. Sometimes it works, sometimes it doesn't. In Project/Properties, Manifest Tool/Input and Output, I put the path to the manifest file. When I choose either Build Solution or Rebuild Solution, *most* of the time the output does not indicate the manifest was embedded: 1>------ Build started: Project: svc, Configuration: Release Win32
-
- resource.h problem
by Willy S
- 2 Replies
- Last post
by Willy S
- Visual Studio 2005
When I right click on a symbol in the resource.h file and select find all references the list appears in the find all resources window.
The problem is the symbol displayed there for the resource.h file is not the same as what I selected.
What's going on
-
- Open dialog box crashes
by yxrkt
- 14 Replies
- Last post
by JamesSexton
- I can use the Open File dialog generated by the GetOpenFileName() function once or twice, but after that, it crashes when i mouse over a file. It is just the mousing over that crashes it: i can open files as much as i like if i type the name in the edit control.
-
- msvcprtd.lib(MSVCP80D.dll) : error LNK2005
by camelo
- 12 Replies
- Last post
by skst
- I am having problems to port our product from vc7.0 to vc2005:
Linking...
LINK :
warning LNK4076: invalid incremental status file
'..\..\..\bigworld\tools\worldeditor\BigBang-debug.ilk'; linking
nonincrementally
msvcprtd.lib(MSVCP80D.dll)
: error LNK2005: "public: __thiscall std::allocator<unsigned
short>::allocator<unsigned short>(void)"
( 0 $allocator@G@s
-
- How to implement c function strtok?
by daniel mark
- 2 Replies
- Last post
by Simple Samples
- Hello all: Does anyone know where I can find the source code for implementing strtok Thank you -Daniel
-
- Convert an exe to dll (I have the source!)
by Gomata
- 1 Replies
- Last post
by Ramkrishna Pawar
- Hello,
I have the source code of an .EXE and i would like to build it as a .DLL so that I can call the functions from C# code.
The source code contains only one header file and one C file so there is only functions in it, no class etc...
I tried to change the project settings to build a dll instead of an exe but it seems to not be enough. I guess I need to exports simbols in o
-
- How INameSpaceTreeControl can be resized?
by kaichire
- 1 Replies
- Last post
by Damien Watkins - MSFT
- INameSpaceTreeControl is used for folder tree In Windows Vista.
But in the example of Microsoft SDK
(\Microsoft SDKs\Windows\v6.0\Samples\winui\Shell\AppPlatform\ExplorerBrowserControl)
The size of tree control can not be resized.
There is no method for resize in INameSpaceTreeControl interface.
How can I resize tree control of INameSpaceTreeControl
-
- Visual C++ and Lex/Yacc
by Shouvik
- 3 Replies
- Last post
by Bite Qiu - MSFT
- I want to write a parser for C++ which can extract methods and members pertaining to a particular class(es) in a CPP file. I used Parser Generattor tool by BumbleBee softwares and did all the project settings as required by them but still keep on getting fatal errors in Exception Class(of Visual Studio 6 Library).
Is there a proper tool wherein I can integrate lex and yacc with VC++ 6.0.
-
- Decimal numbers
by banker2003
- 2 Replies
- Last post
by banker2003
- Current trying to get a loop to work.
But the problem is every 10th job runs a method. So after 10 loops a method runs another 10 loops(so 20 loop total) the method is run. Etc. I was wondering how u get the decimal value after the point in a number eg. 10.0 how do u get the value of '.1' if u divide the number by 100. This is the only way i can think to know its the 10th loop.
Any h
-
- Should this sample run without a crash?
by n0n4m3
- 13 Replies
- Last post
by n0n4m3
- Hi, today I was testing some things and came across with something like this: #include <iostream> using namespace std; class A { public: void print() { cout << "test"; } }; int main() { A* a = 0; a->print(); return 0; } And I was a bit surprised when it ran without any problems both in debug and release in VS 2005. Well, I realize that since the code doe
-
- msvcr80.dll Problem
by Naolin
- 14 Replies
- Last post
by jhallen
- Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin
-
- Using VC++ 8.0
by agustin_m
- 7 Replies
- Last post
by agustin_m
- Hello,
I have a project that was created/build using VC++ 6.0, the project uses a third party library iconnect.lib. I am trying to compile the project using VC++ 8.0 but I get a lot of linker errors - some of those errors are below. Note: the project compiles without errors or warnings when using VC++ 6.0.
Can someone tell me what I need to do to get my project to compile/link successfully w
-
- Flipping an image
by Gal Beniamini
- 3 Replies
- Last post
by Ender Koroglu
- Hello, I've been wondering if it's possible to flip an image on it's side in an pictureBox without having to insert more pictures. With Thanks, Gal Beniamini.
-
- Whole machine freezed in VC debugging mode
by XHL
- 1 Replies
- Last post
by Ramkrishna Pawar
- Dear all:
I have a strange problem with my Visual Sudio 2005. I support several products developed with Visual C++. But one of the products, every time when I turn on the debugging mode, the whole laptop will freeze, meaning the CPU is still running, but extremely super slow, possibly one instruction per five minutes. Even the Task Manager runs that slow. The only way to stop it is to turn
-
- date and time
by WhyNotSuggestANameThen
- 5 Replies
- Last post
by Pintu Shukla
- Hi everyone,
Can anyone tell me (I'm using VC++ EE 2005 to make a windows forms application) if there is anyway to get the date and time in an easy to use format. I'd like to be able to use dd:mm:yy as day, month and year integers. Converting to a string is no use as I need the raw integer values.
I'd like to be able to do the same with the time in the form hours, minutes and seconds
-
- illegal system dll relocation (shell32.dll)
by Anonyanonymous
- 6 Replies
- Last post
by Stoli1
- "The system dll user32.dll was relocated in memory. The application will not run properly. The relocation occurred because the DLL C:\WINDOWS\system32\SHELL32.dll occupied an address range reserved for Windows system DLLs. The vendor supplying the DLL should be contacted for a new DLL." i need help on this... this is shell32.dll dont give me the update for the other dll
-
- VS 2003 VC++ Debugger Problem
by wdhough
- 2 Replies
- Last post
by wdhough
- Hi
Every time i go to debug my project, it tells me "These project configuration(s) are out of date." and "Would you like to build them" It will do this for both the configurations I have, then if i select yes, to build, it compiles two files (always the same files) links and runs. I have not modified the two files in weeks I have looked through the files and cant see anythi
-
- Entry Point Not Found
by Hooper
- 12 Replies
- Last post
by Hooper
- Hi,
We have an older MFC app that was probably developed using VS6 and I am now maintaining it in VS2005 and everything works fine. A user tried running it on a Win2000 based machine and got a dialog named,
Entry Point Not Found and a message,
The procedure entry point I_RpcExceptionFilter could not be located in the dynamic link library RPCRT4.dll.
Anyone know what this means
A ne
-
- programming a question with multiple answers
by quicksilverpoet
- 2 Replies
- Last post
by ChopperDavo
- I'm trying to create a question that has multiple answers, as in "Which is the best color: blue, red or green " and then have the program respond differently to each answer. This is my 3rd day messing with C++, and programming in general, so I know basically nothing. Is this type of program to much for me to undertake
Here is what I've written, which is probably very ugly, I apoli
-
- "This application has failed to start..." works on build machine not others
by GregR
- 1 Replies
- Last post
by Simple Samples
- I've built an application and it runs fine on the development machine. When I try to run the exe on another machine it throws up the "This application has failed to start because the application configuration is incorrect." dialog. So, to determine which Dlls it's using I ran the exe from Visual Studio and used the output to create a batch file to copy all of the loaded dll's to the same
-
- Using/Creating a MAP variable as a Class member
by SWL8
- 3 Replies
- Last post
by Simple Samples
- I am trying to create a map variable (called room_list) in my class (called building) - code below. When I run my code, i get two errors - listed below. Can anyone help me
Errors:
.\building.cpp(121) : error C2065: 'room_list' : undeclared identifier
.\building.cpp(121) : error C2228: left of '.insert' must have class/struct/union
Code:
class building
{
int id;
-
- Debugging problem in mixed mode
by nick_bes
- 3 Replies
- Last post
by einaros
- Hello, I have a problem debugging a VC++ 2005 Professional project. I've a win32 project with some file that use managed code, becouse I used in these classes some framework classes. I can compile this solution without problem but, during debugging session, I can't edit and continue the code. The question is: can I edit and continue the managed code or unmanaged code during the debugging session