-
- IMAPI,CDs and DVDs...
by akhin
- 3 Replies
- Last post
by Bruno van Dooren
- I ve only experienced data cd burning with IMAPI , but i look for other things :
How can i burn data DVDs
How can i burn VCDs and Video DVDs
How can i burn ISO backups
BEST REGARDS
-
- VC++ 2005 Win32 redistributable
by wleizero
- 8 Replies
- Last post
by wleizero
- I would like to make a single file, redistributable "Hello World" program. Is there a way of compiling any depenent files/DLLs into the helloWorld.exe program
#include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { printf("Hello World!!!\n"); return 0; }
OR
#include "stdafx.h" #include "iostream" using namespace std;
int _tmain(in
-
- how to use this dll in managed code
by ChandlerDeng
- 4 Replies
- Last post
by flobadob1975
- I create a MFC dll file like below, which is not compiled from CLR environment.
//////////////////////////////////////////////////////////////////////////////////////////// ScanComm.dll head file ////////////////////////////////////////////////////////////////////////////////////////////
#pragma once #include "serial.h"
#define MAX_BARCODE_SIZE 255 #define MAX_COMPORT_SIZE 
-
- Accessing the vftable (vfptr) without constructing the object
by PointyStick
- 3 Replies
- Last post
by PointyStick
- I am sending messages across a network. I have created my base class NetMessage with virtual functions. I can send the message across the network, but I need to patch up the vftable pointer. Is there a way to access the address of a vftable without instantiating it Derived::__vfptr and Derived::`vftable don't work (I'm using VC 2005). The best I've been able to do so far is :
int vfptr = 0; BOO
-
- call class in mfc dll from vb.net
by farsad ghaffarian
- 3 Replies
- Last post
by Simple Samples
- Hi
I have a mfc c++ program. and wish convert this to dll and run it in vb.net 2005.
how can I call main class of this program in vb.net.
my first class is:
in myfile.h
public class __declspec(dllexport) CRelCtrlApp : public CWinApp
{
public :
CRelCtrlApp();
public :
virtual BOOL InitInstance();
DECLARE_MESSAGE_MAP()
};
-
- Smartbridge Alerts
by Helen Cool Granny
- 14 Replies
- Last post
by viobass
- I too am receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks.
Helen McLaughlin
-
- unable to resolve LNK2019 error when linking to xmllite.lib - Please help
by vkasi
- 7 Replies
- Last post
by qiangieee
- I need to link to xmllite.lib library for one of my projects. I am seeing the following linker error: 1>XmlHandler.obj : error LNK2019: unresolved external symbol _CreateXmlReader@12 referenced in function "public: __thiscall XmlHandler::XmlHandler(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >)" ( 0XmlHandler@@QAE@V $CStringT@D
-
- 'invisible' properties in dao namespace
by llorrac
- 5 Replies
- Last post
by Brian Kramer
- I am converting a project from VB.NET to C++/CLI.
I have established a reference to the DAO 3.6 object library and am using the dao namespace. Everything appears to work fine except that the 'Parameters' property of the QueryDef class and the 'Fields' property of the TableDef class are not recognized. Attempting to use either result in a C2039 error.
There is no problem accessing these prope
-
- Issue while registering ocx files
by sabarish_s
- 4 Replies
- Last post
by Anne CHild
- Hello Everyone,
We are facing a strange issue while building some VC8 OCX projects using Visual Studio 2005 i one particular machine ... By Default there is a custom build Step which registers the control after building . The following is the custom build Step
regsvr32 /s /c "$(TargetPath)" echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg"
When we rebuild the solu
-
- Edit and continue causes a delay
by yanivsag
- 5 Replies
- Last post
by yanivsag
- Hi, I've started a thread about this problem 3 weeks ago and haven't receive any helpful reply, so i'm trying my luck again... We've recently upgraded from VC6 to Visual Studio 2005 pro and came out with a very annoying problem during debugging. Whenever i try to edit the code on a debug session VS2005 freezes for about 3 minutes before i can continue to work. It happens immediately after the firs
-
- passing a vector from VS2005 compiled app to VS2003 compiled library
by Srinivasa Reddy Bhoompalli
- 4 Replies
- Last post
by einaros
- Hi,
I have DLL compiled in VS2003,which exports a function. The exported function takes a std::vector.
Now I am trying to use the DLL in an application compiled using VS2005. when i call the DLL function from this app, it crahses in DLL.
here is my sample code
VS2003 DLL code:
TestLib2003.h
#ifdef TESTLIB2003_EXPORTS #define TESTLIB2003_API __declspec(dllexport)
-
- Microsoft.VC80.MFCLOC errors
by Haritvm
- 14 Replies
- Last post
by Saint05
- I get the following SidebySIde error upon start up of my app:
Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 59
Date: 11/23/2005
Time: 1:44:24 PM
User: N/A
Computer: VMXP
Description:
Resolve Partial Assembly failed for Microsoft.VC80.MFCLOC. Reference error message: The referenced assembly is not installed on your system.
How do I fix this error Plea
-
- Windows Movement Question
by Jamie R. McPeek
- 7 Replies
- Last post
by Jamie R. McPeek
- I'm having some trouble with placing windows where I would like them. This code works: TextWindow^ temp = (TextWindow^) this->MdiChildren->GetValue(0); temp->Location = Point(0, 0); This following code does not work (as expected): TextWindow^ temp = (TextWindow^) this->MdiChildren->GetValue(0); temp->Hide(); temp->Location = Point(0, 0); temp->Show();
With the second cod
-
- Link Error
by dellthinker
- 6 Replies
- Last post
by Simple Samples
- Hi all. Im having a link error when i compile 3 source files together. error LNK2001: unresolved external symbol __imp__SendMessageA@16 Thats just one out of 4 errors. I've googled the error msg and found that other have had the same problem, but neither of their problems were ever resolved( at least not on the article/forum) So since i have this issue and i'd like to know what i need to update/
-
- wchar_t to const char *
by Kamwing
- 7 Replies
- Last post
by einaros
- I would like to ask how can I pass wchar_t pd to the function big5Bitmap16x15(const char *pChar)
wchar_t pd; pd = System::Convert::ToChar(Intbig5Input); pa = big5Bitmap16x15( ); Thx a lot ^__^
-
- re compling error - include\crtdefs.h(388) : fatal error C1017: invalid integer constant expression
by PJ-21
- 1 Replies
- Last post
by Mike Danes
- Compiling...
cotcltest.cpp
c:\program files\microsoft visual studio 8\vc\include\crtdefs.h(388) : fatal error C1017: invalid integer constant expression
I get the above message during compiling of any of my code from a previous version of MS C++. Do I have the correct crtdefs.h file.
75 kb 09/22/2005 10:48 p.m.
-
- 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
-
- fatal error C1083
by newtux
- 3 Replies
- Last post
by Holger Grund
- I got this error, where the compiler apparently cannot find my header file cr.h which is not in the same directory of the source file cr.cpp. I have added the include directory where cr.h is in Project > CR Properties > Common Properties > References > Reference Search Path, but the error persisted. Then, I added the directory to Tools > VC++ Directories > Include files, and the
-
- Problems
by Jerry584894
- 7 Replies
- Last post
by Jerry
- These are the errors I get for one program:
1>Skeleton.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function _WinMain@16
1>Skeleton.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function _WinMain@16
1>Skeleton.obj : error LNK2019: unresolved external symbol __imp__GetMessageA@16 reference
-
- Question about const_cast
by Suncho
- 14 Replies
- Last post
by Suncho
- Here's round two of my silly questions. How come this compiles: ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int &> (test1); return 0; } ---------------------------------- But this does not. ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = c
-
- XSLTemplate
by Joe-Babylon
- 2 Replies
- Last post
by 26.2runner
- Hi guys,
I have an XSL which uses the following:
< xsl:import href="../lib/ads.xsl" />
and in my XSL i'm using a "Names Template" which is defined in that import.
I'm loading this XSL using the following commands:
CComPtr <IXMLDOMDocument2> pDoc;
pDoc.CoCreateInstance(L"msxml2.FreeThreadedDOMDocument. 3.0 ");
-
- Install Redistributable C++ and DirectX parallel to SDKs?
by S.T.577741
- 4 Replies
- Last post
by S.T.
- Hi again, refering to the MSDN-Library, I understand that I have to provide *redistributable* versions of libraries when releasing a project. Now, I have installed Platform SDK, DirectX SDK, and Visual Studio 2005. Is it necessary to install all the pedistributable packages, i.e. Platform SDK Resistributable, DirectX Redistributable, or are all files I need provided by the SDKs And is this the ca
-
- Compile in Vista and crash in XP
by GrkEngineer
- 2 Replies
- Last post
by GrkEngineer
- I have an application which I'm now compiling in Vista. It has a deployment project which creates the .msi file. When I try installing and running on an XP machine I get "The procedure entry point _except_handler4_common could not be located in the dynamic link library msvcrt.dll ".
Why is my program depending on this entry point Does anyone know how to properly handle this I did
-
- If loop Problem in VC++
by Kishore_83
- 10 Replies
- Last post
by einaros
- Hi,
I have the following code in my application when i debug i am gettin restore = 1 but next it is not going to mrestore (m); instead it calls mr_free (m);
what could be the problem
Is this is because of project setting problem
if (restore)
mrestore (m); /* restore screen */
else
mr_free (m);
-
- windows.h not found...
by jwellsntr
- 14 Replies
- Last post
by miznig
- WOW, I can't believe this information isn't easier to find. I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2. NOTHING WORKS! The Directories are not found and there is no apparent way to set them. Apparently users have found a hack to make it work, but this is crazy. It seems like the first Microsoft person to