-
- .exe generates an error
by rca_rodrigo
- 7 Replies
- Last post
by Simple Samples
- Hi.
Im using Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600) Microsoft .NET Framework Version 2.0.50727
Edicion instalada: VC Express
Microsoft Visual C++ 2005 76542-000-0000011-00125 Microsoft Visual C++ 2005
I made a small c++ program at home to make it commercial. But when i copy in my office, the .exe that is generated it can not run and I dont know why.
a.
-
- I want to add/remove ES_PASSWORD(CEdit) style, dynamically.
by Purusothaman A
- 2 Replies
- Last post
by Purusothaman A
- Hi all, How can I change style ES_PASSWORD of CEdit, dynamically ModifyStyle() didn't work. I just want to add/remove this style dynamically. Thanks. :) Purusothaman A
-
- Debugger hangs when editing code
by yanivsag
- 28 Replies
- Last post
by yanivsag
- Hi, I've recently upgraded to VS2005 from vc6 and my greatest problem is this: I'm debugging my app (a very large one in terms of modules and lines) and if i try to edit the code when a breakpoint is hit (in order to try edit&continue) visual studio hangs and i keep getting the "visual studio delay notification" in my task bar. Has anyone came up with this matter Any suggestions tha
-
- more time for workspace file loading
by Enjoy
- 9 Replies
- Last post
by Bite Qiu - MSFT
- Hi My VC++ project being developed in visual studio 6.0 having about 100 .cpp and .h file. whenever i open the workspace, it s taking too much time(almost 5 min) to load and whenever i select any of .cpp or .h file, that also taking long time to load. I afraid, in future when i do add more classes it would end up with not able to handle the project completely. Moreover, the compilation also taking
-
- How to convert .Lib to .DLL?
by Azeem Sarwar
- 3 Replies
- Last post
by Simple Samples
- I have a library file(for Djvu file Interaction),which is written in Unmanaged code(MFC).I want to convert it in DLL so that I can use it with C#.Net.
How this can be done OR is there any equvilant way to do that.
Thanks
From
Azeem Sarwar
-
- Cannot run in debug mode
by hassaan_touheed
- 12 Replies
- Last post
by Anne Ngo
- Hi,
I am a person with a very basic knowledge of C++. I'm using Visual C++ 2005 express edition and installed Microsoft PSDK on top of it. My programs are running fine but when I try to debug, there are errrors. The same is happening with all the projects. Here is a simple code example:
#include<iostream>
#include<conio.h> using namespace std;
int main() { cout<<&quo
-
- Problem in Image Retrieving
by krishnasamy
- 14 Replies
- Last post
by Ramkrishna Pawar
- Hi,
I am retrieving the image from DLL through vc++ dll. Actually Image is retrieving in Callback function of main function. When I writing that image file inside of the Callback function then no problem in retrieving. At the same I want to send the Imagedata to the another function and write the same which cause the error.
Here I given that code,
//Callback function
pr
-
- problems with directinput
by fighter92
- 6 Replies
- Last post
by fighter92
- Hi, I have a very weird problem with directinput. Here's the code: while(1) { ZeroMemory( &MState, sizeof(MState) ); hr = MouseDev->GetDeviceState( sizeof(DIMOUSESTATE2), &MState ); if( FAILED(hr) ) { // If input is lost then acquire and keep trying hr = MouseDev->Acquire(); while( hr == DIERR_INPUTLOST ) hr = MouseDev->Acquire(); } x=x+MState
-
- Combo box in CListCtrl in c++
by Eby
- 2 Replies
- Last post
by Simple Samples
- Hi, I have a list control (CListCtrl) on my VC form . I want to make one of its column to show a combo box.How is this possible. Any suggestion will be help ful.
-
- Odd errors building and creating an project!
by Acid Burn the real one
- 9 Replies
- Last post
by Simple Samples
- Allright, i made an new project and this is my code #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { MessageBox( NULL, "sasdasd", "aasdasds", MB_OK ); } Nothing wrong whith this code, the error is Error 1 error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char ' to 'LPCWSTR' c:\use
-
- std::vector - very quick question
by Dalai
- 5 Replies
- Last post
by Dalai
- In the class below I want to pass a std::vector to one of its member functions that will add new items and manipulate them in some way ...
Code Block
class CMyClass1 { public: std::vector<CMyClass2*> object1; std::vector<CMyClass2*> object2; void addNew(void); void createNew(std::vector<CMyClass2*> object); }
CMyClass1::addNew(void){ pivCreateNew(object1); piv
-
- LNK2019 Error
by andrewblocke
- 3 Replies
- Last post
by einaros
- Whenever I try to compile a simple OpenGL file, I get about 38 of these:
error LNK2019: unresolved external symbol
-
- Custom Control Question
by codemaster1117
- 9 Replies
- Last post
by codemaster1117
- Is it possible to create a custom control without using MFC I have not been able to find a tutorial to do so. Or perhaps there is a better way: I am writing a map editor for 2D games, and I need to create a dialog box for the purpose of editing the properties of the map layers. I wanted to make a dialog similar to the Photoshop layer dialog in that it will be able to create new layers, toggle thei
-
- Pointer to a view class
by Sternocera
- 7 Replies
- Last post
by einaros
- Hi, I'm working on an application in Visual studio that uses C++/MFC . I see that in the wizard generated frame window class interface (MainFrm.h), a CmyappnameView class is instantiated ( I think) like this:
Code Snippet
#pragma once class CLustreView; How can I get a pointer to this object Cheers
-
- Error sigature Event Type:BEX
by kata.
- 2 Replies
- Last post
by kata.
- I'm developping Win32 application using VC++2005 recently. When I execute my program at a specific PC, it shows a error. It's just like the application error, but it is little different. It does not show the register, EIP and others.
It shows "Error signature Event Type:EBX P1:module.exe P2:1.0.0.0 P3:xxxxxxx P4:module.exe P5:1.0.0.0 P4:xxxxxxxx P7:0000xxxx"
It happened under Windo
-
- Error LNK2019
by Berthenson
- 1 Replies
- Last post
by einaros
- Hi, I'm trying to compile the Half Like 2 SDK tool VRAD and I'm at a stand still with this error:
Linking...
Creating library .\vrad___Win32_Debug/vrad.lib and object .\vrad___Win32_Debug/vrad.exp
trace.obj : error LNK2019: unresolved external symbol "public: void __thiscall RayTracingEnvironment::Trace4Rays(class FourRays const &,union __m128,union __m128,struct RayTraci
-
- How do I write text do the beginning of an existing file, rather than appending text to the end?
by JacksonJones
- 4 Replies
- Last post
by JGLP
- Simple question. I want to write text to the first line of a file, not the line after the last one, which is the WriteLine defualt. Hopefully there's a simple answer, but I was having a hard time trying to figure it out. Thanks,
Jackson
-
- CreateThread and UI Control (BackgroundWorker?)
by Cookster
- 2 Replies
- Last post
by Cookster
- Hi all, I am developing a GUI that I want to be responsive while running a seperate thread. I also want it to show updates via a progress bar and text label which will say what process is being run.
I really only have 1 GUI running, and 1 background thread running at a given time. When that thread is finished executing one process, I want it to begin executing another - all while updating t
-
- Win32: Set icon and bitmap to a button
by nimm
- 4 Replies
- Last post
by Simple Samples
- Hi I have a win32 application where i am creating a button using CreateWindow command. I need to set a bitmap to this button. please suggest a solution. also tell me how to set an icon to the button regards
-
- Starting off with C++
by Nubby
- 13 Replies
- Last post
by rdn2113
- I keep hearing it's hard to learn, but that you should try and begin learning with C++...That being said I just downloaded Visual C++ Express and was eager to code for the first time Only to be even more frustrated; I created a new file under Visual C++, C++ file, then started typing in code from tutorials. The color of the text is changing, appearing like I'm entering code but t
-
- Vista UAC in vc++
by sairaj
- 8 Replies
- Last post
by sairaj
- hi i have to disable UAC in vista while running my application and at last i have to enable it. how to do this in vc++. im a new bie to vista. pls help me
-
- Copying a stucture
by nimm
- 2 Replies
- Last post
by Simple Samples
- Hi i have a stucture as shown below; struct OPTION { int index; const char *name; } I am passing a n number of structure to a function as pointer. void AddOptions(OPTION* optionList, int numOptions); I want to clone this structure inside my function. plz tell me how to allocate and copy the structure.I have to allocate a character string for the 'name' also
-
- SSE performance extremely bad?
by Ken Camann
- 2 Replies
- Last post
by Holger Grund
- Hello.
I've run into a problem trying to use SSE. First, I implemented a 3 dimensional vector class in C++. I can compile it with SSE2 support or not, which will either generate x87 instructions (like fadd) or single SSE instructions (like addss). As expected, the scalar SSE version is faster since this processor is newer and more effort went into designing the SSE FPUs.
So to get some extra
-
- What is the best way to implement async' file downloading?
by ACAN2007
- 3 Replies
- Last post
by Bruno van Dooren
- Hello, all
I have got a legacy code that downloads files asynchronously using CAsyncMonikerFile MFC class.
I wonder if there is a better way nowadays to achieve this goal.
It can be MFC but better non MFC, I am still open to any suggestions, the only limitation - it should be C++.
Thanks in advance,
AC
-
- Writing Native code in VC++?
by AmazingAnt
- 3 Replies
- Last post
by AmazingAnt
- I've found all sorts of random information about Managed vs. Unmanaged code, and I've heard that apparently you can compile said unmanaged code as native code. From what I've read in other places, "native code" runs "natively", which would mean it would not require the .NET Framework. So, what I'm looking for is a couple quick answers. 1) Is there in fact a way to write code in