Questions tagged [visual-c++-2008]
The November 2007 release of Microsoft Visual C++, a C and C++ compiler for Windows.
visual-c++-2008
200
questions
0
votes
0
answers
35
views
Unable install python-ldap in python 2.7.9 on windows 11
I cannot install the required package because it needs Visual Studio C++ 9.0, which is no longer supported. Unfortunately, I can't upgrade my Python version because I need it for Odoo 8 development. ...
0
votes
0
answers
12
views
Read after write, must I flush the buffer between them?
I am using Visual C++ CFile.
I open a file, write some data, then read some data, must I flush the data between the write and read operations:
CFile File;
CByteArray Buf1, Buf2;
Buf1....
0
votes
1
answer
56
views
How to use MTA in MFC DLLs?
We are developing an asp.net app to call an unmanaged DLL created via MFC/Visual C++ 2008. The DLL will use Excel Automation, so it will call OleInitialize() to initialize the COM library.
The ...
0
votes
1
answer
532
views
keyboard interrupt routine visual studio C++ console app
I am using VS 2022 Preview to write a C++ console application. I wish to detect a keyboard hit and have my interrupt handler function called. I want the key press detected quickly in case main is in a ...
0
votes
1
answer
143
views
MFC - WebBrowser control: Ctrl-F does not search?
I use webbrowser control to embed a browser in the app (source: https://www.codeproject.com/Articles/3919/Using-the-WebBrowser-control-simplified). When I load web page from URL and type Ctrl-F, the ...
3
votes
2
answers
585
views
C++: Is there a way to programmatically check if my printer is an Inkjet or a Laser printer?
I'm writing a program to display the type of printer connected to the system with it's other details, but i can't seem to find any function, method or class that gives me the details on the printer's ...
1
vote
2
answers
477
views
Get Product Codes of C++ 2008 Installed from registry using Powershell
I am trying to get the product codes of all the Visual C++ 2008 Installed on my device and wrote the below code but I am stuck. Code Executes but no action takes place. Please Assist.
$log = "C:\...
0
votes
1
answer
4k
views
Why Does my Computer not have ave the Microsoft Visual C++ 2008 Runtimes installed
So I'm getting ready to do some work with Laravel Homestead, and was following all the installation instructions, and everything was running smoothly until this came up:
And then so I went to the ...
0
votes
0
answers
124
views
Is it possible to have C++11 code in a Python 2.7 module?
I am writing a module in C++ that detects pitches from the microphone, which is going to be used in a FreePIE script. I have successfully compiled the module for Python 3, but FreePIE uses Python 2, ...
0
votes
1
answer
193
views
Visual C++ 2010/2008 does not accept `__int64` in C mode
I have reduced the problem to these lines:
typedef __int64 int64;
inline int64 qatoll(const char *nptr) { return _atoi64(nptr); }
When compiling in C mode with VC++2008 or 2010 I get errors:
t.c(2) ...
1
vote
0
answers
63
views
VS2015 with VC++ 2008 toolset template deduction failure
Sample code to reproduce the problem:
#include <iostream>
template< typename T, typename Func >
void action(Func T::* func)
{
T entry;
(entry.*func)();
}
struct A
{
void f()
...
0
votes
0
answers
38
views
How to import a dll in an exe file without including the header file in visualC++ 2008?
I am in the starting stage of programming.
I have created a .dll file. I want to link it in an .exe file. I have used the __declspec(dllimport) function, but it shows some error. How can I link the ....
0
votes
1
answer
13k
views
php_mssql.dll support for php version greater >= 5.3
PHP has removed support for php_mssql.dll support for versions starting with 5.3. For that reason I have been using version 5.2 till now. But ionCube which converts PHP application into binary format, ...
0
votes
1
answer
46
views
visual c++ 2008 keeps losing custom build rule setting
So for various "boring" reasons, I'm stuck using VC++ 2008.
Now, I have a custom build rule that parses a ".h" file and produces a .cpp.
The build rule works fine when I can get the setting in the ....
0
votes
0
answers
17
views
LNK 1120 Fatal error in Dark GDK 2d game [duplicate]
I recently started coding and i've wrote like 2 programs before the error showed up. I wanted to begin a new project when this error showed up:
1>------ Build started: Project: XYZ, Configuration: ...