-
- Error when calling a function from a DLL (error 453)
by Douglas Penna
- 6 Replies
- Last post
by Douglas Penna
- Hello there,
I made a DLL before, and now I'm trying to use it on Excel. The problem is, I keep getting the same error (error 453), where it says that it cannot locate the name entry price in my DLL.
I've searched throught the foruns, and I did as it said on this thread ( the creation of a .def file ):
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=916149&SiteID=1
-
- VS 2005 and Qt QString
by TDobmeye
- 14 Replies
- Last post
by TDobmeye
- I am trying to convert a QString to a std: tring using VS 2005 and Qt 4.3.0. There is a function in QString::toStdString( ) that returns a std: tring and I have used this many times when I used VS 2003 and Qt 4.3.0 but I was recently forced to upgrade to VS 2005. Now I have been crashing in a function and I have narrowed it down to this call. I have commented out everything but this one line for c
-
- Need Suggestions
by DevelopperX
- 2 Replies
- Last post
by DevelopperX
- Hi: I'm developing a small application for controlling the surfing of children, which consist of taking screen capture periodically. My problem is that the size of the taken bitmap is large (for a 1280x800 resolution it is 3,90Mo) and the problem is going from bad to worst when the application takes more pictures. Do you have any suggestions If not I should abandon the development of this applica
-
- Strange Problem in VS2005 with SP1 and Vista Patch
by Whitehorseq
- 5 Replies
- Last post
by treaturebeauty
- Hello I have an application which loads the Property Pages from another DLL.
In First Propertypage I have a timer which runs every 5000/1000 mille seconds and query USB port to find one of the status of unit connected.
If I build this application in Visual Studio 2003 (installed in XP) and run the binary in Vista it works fine.
If I build this application in VS2005 with Sp1 &
-
- virtual Create of Listbox
by Gemini II
- 14 Replies
- Last post
by Simple Samples
- When I look in the MSDN for CListbox::Create or CListbox::CreateEx it tels me that they are virtual.
But when i look at the code in VS 2005 I see that this isn't true.
They are no longer virtual.
-
- CreateProcess Issues plz help
by DrJoness
- 14 Replies
- Last post
by DrJoness
- im using a dummy.exe to create a txt file so i know if it works right away... but i think theres a problem convertin from std string to the LPWSTR in vs 2005 if there is alternate method i would appreciate any help if(first4=="EXEC"){ LPWSTR szCmdline=(LPWSTR)cl.c_str(); STARTUPINFO StartupInfo; PROCESS_INFORMATION ProcessInformation; HANDLE hPipeRead, hpRead; HANDLE hPipeWrite; SECURITY_AT
-
- UAC problem on vista
by Phani577799
- 2 Replies
- Last post
by Ted.
- Hello,
My product needs admin rights to work. On vista, if user uses UAC feature, then my product is not working. My product is on VC++ platform. I tried adding some manifest to the exe specifying access rights. But i was not able to fix.
For example, if we try to edit registry, vista prompts a dialog for continue. In case if we try to create some key in registry using win32
-
- Spawn invalid argument: Fails at VS2005 but was working at VS2003
by MikeMorcilla
- 5 Replies
- Last post
by Simple Samples
- Hi,
I'm just trying to convert some sample code from VS2003 to VS2005.
Now this line was working fine at VS2003:
nPid = _spawnl( _P_WAIT, "process.bin" ,NULL);
But if fails at VS2005, returning invalid argument.
I have also tried:
nPid = _spawnl( _P_WAIT, ".\\process.bin\0" ,NULL);
nPid = _spawnl( _P_WAIT, ".\\process.exe\0" ,NULL);
Of
-
- Problems in debugging
by franziss
- 14 Replies
- Last post
by Holger Grund
- I encountered the error message below:
First-chance exception at 0x7c812a5b in mda2.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f764.. Unhandled exception at 0x7c812a5b in mda2.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f764..
Any possible answers Am I out of memory It occurred at this line
m1pos [ i ] = new int [m1[0]+1]; //allocat
-
- Trying something new
by dellthinker
- 4 Replies
- Last post
by Bite Qiu - MSFT
- Hi all. Im trying something new. Something yesterday gave me an idea that i could use it with more than one source file. So i created 2 source files and 1 header file to do all the including and bridging communication between sources. Here's what i have so far. Source 1 #include "include.h" int main(){ const SIZE = 100; char msg[SIZE]; printf("Enter a file you'd like to
-
- How to run a release version on another computer without Microsoft Visual Studio 2005?
by zorroboricua
- 3 Replies
- Last post
by PAC
- When i try to run the release .exe version in another computer does not have it Microsoft Visual Studio 2005, then says:
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Please tell me what i can do. Thanks.
-
- Error C2440
by Harithian
- 11 Replies
- Last post
by Simple Samples
- Hey all,
I'm new to C++, started learning last night, I followed the first tutorial to the letter, at first I typed it out EXACTLY and it didn't work, copied and pasted it and it worked T.T. Then at the end of the tutorial, at one of the last stages (this is the cardgame tutorial) I copied the code:
#include "Cardgame.h"
int Cardgame::totalparticipants = 0;
int main
-
- To dipaly ¨‹ (Unicode Character 25BC) in the mfc listcontrol header
by Samahith
- 1 Replies
- Last post
by Damien Watkins - MSFT
- Hi,
I need to append the header text with the ¨‹ (Unicode Character 25BC )in the mfc list control . Our project setting is unicode compatible and when I tried displaying this it displays as || not ¨‹.Could any one help to do this.
-
- Output binary build from command line crashed
by Hila123
- 4 Replies
- Last post
by crescens2k
- Hi, I current working on an ant script that will call cl.exe and link.exe to compile and link my VC proj. The compiling and linking work "fine" and I'm able to get my binary (exe or dll according to projs). However when I try to run it i got the following error reported by Vista TaskDialog [code] Problem signature: Problem Event Name: BEX Application Name: MyProg.exe Application Version:
-
- Strange Problem in VS2005 with SP1 and Vista Patch
by Whitehorseq
- 5 Replies
- Last post
by treaturebeauty
- Hello I have an application which loads the Property Pages from another DLL.
In First Propertypage I have a timer which runs every 5000/1000 mille seconds and query USB port to find one of the status of unit connected.
If I build this application in Visual Studio 2003 (installed in XP) and run the binary in Vista it works fine.
If I build this application in VS2005 with Sp1 &
-
- Assertions...
by Jerry584894
- 28 Replies
- Last post
by Jerry584894
- Upon exiting, my program comes up with an assertion error. It says:
Debug Assertion Failed!
Program:...
File: dbgdel.cpp
Line: 52
Expression: _BLOCK_TYPE_IS_VALID(pHead->BlockUse)
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
Abort Retry
-
- Build successful but cannot run helloworld?
by FastCoder28
- 4 Replies
- Last post
by Simple Samples
- Hi,
Any help would be aprreciated.
I am a beginner trying to run a c++ helloworld project I did on visual studio 2005 as win32 console project. I am using a centrino laptop is that is useful info to solve this. I have 2 questions.
Question 1: Why can I only build successfully if I put "void" in front of the main and inside the brackets
I see in tutorials that people can build without t
-
- Two instances of global variable created when DLL depends on static library
by jbreaux
- 5 Replies
- Last post
by Mike Danes
- The code below is a simple example that displays some behavior that I do not understand. I have a Visual C++ solution that creates a simple console application. The solution contains a Win32 console application project, a static library project, and a dll project. The console application project contains main.cpp: //########## BEGIN main.cpp #include "MyDLLClass.h" #include "MySt
-
- devenv hang inside NCBParse
by JuanchoPanza
- 0 Replies
- Last post
by JuanchoPanza
- Using VS2005 w/ SP1 to edit C++ source, and suddenly the GUI hangs. The 2nd time this happens I attached windbg and started crawling. 0:000> !locks CritSec vcpkg!ncb_lock+0 at 066655dc LockCount 1 RecursionCount 1 OwningThread 15ec EntryCount 1cc3 ContentionCount 1cc3 *** Locked CritSec vcpkg!CNcbWorkItem: m_csFeacpReentrancyGuard+0 at 06665b48 LockCount 1 Recursio
-
- Error: Command line error D8016 : '/RTC1' and '/clr' command-line options are incompatible
by hipswich
- 14 Replies
- Last post
by hipswich
- I have an MFC application that has been in use for 6 years. Now, all I want is to use a few functions of .Net, so I changed the configuration to support Common Language Runtime (/clr). When I complie, I get the following error:
Error: Command line error D8016 : '/RTC1' and '/clr' command-line options are incompatible
I tried every option of Basic Runtime Checks (e.g. Default, StackFrames
-
- Creating a DLL for use in Excel
by Douglas Penna
- 8 Replies
- Last post
by Douglas Penna
- Hello everybody =]
I wrote a class in C++ to make a DLL for later use, but the DLL isn't showing up. I have done as told in the tutorial of VS2005 ( http://msdn2.microsoft.com/en-us/library/ms235636(VS.80).aspx ), and after I compile the .DLL project, I can't find any .dll.
There wasn't any compile errors. The file that I think is the .dll is:
OpcAmericanaDll.dll.embed.mani
-
- gaming
by fenwayb
- 8 Replies
- Last post
by Simple Samples
- i didnt know where to post this so im posting it here i want to learn how to make a video game without spending a dime. i want to know the best free compiler, debuggers. etc and i also need to learn how to make video games in what eversoftare i use i have no programing exerience what so ever but i am willing to learn as long as the outcome is worth it if anybody would like to tell me if they know
-
- 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
-
- How do you reinitialize the classes shown in ClassView.
by John Forster
- 1 Replies
- Last post
by Sarath.
- I have a 4 files in my project which contains about 20 classes. Only the classes in 3 of the files show up in the ClassView. This prevents me from seeing the properties for the classes in the 4th file while editing it.
Thanks,
John
-
- detected dependencies
by &#40643;&#2785
- 2 Replies
- Last post
by üSãüÁ¿ Jeremy Wong
- I have a DLL that requires DbgHelp.dll redistributable. I want to have the DbgHelp.dll redistributable becomes one of the detected dependencies in the setup package of my own DLL. How can I do this I guess if I need to create a merge module and add an entry to the manifest file...