search for: stdafx

Displaying 20 results from an estimated 30 matches for "stdafx".

Did you mean: staff
2006 Jul 07
1
Probelm with WINE and MFC application
....20-8. with WineLib I am following the guide lines given in Wine LIB User guide. I copied all the source code from CD and I change the mode read /write than in the current directory i used winemaker command user/sample>winemaker --lower-all --mfc . but get the following errors out of make: stdafx.h:15:64: afxwin.h: No such file or directory stdafx.h:16:46: afxext.h: No such file or directory stdafx.h:17:54: afxdisp.h: No such file or directory stdafx.h:18:87: afxdtctl.h: No such file or directory i will be very thankful if anybody help me Praveen
2010 Feb 20
3
MFC Code Compile Error
...from /home/khana/mvs6/VC98/mfc/include/afxv_w32.h:120, from /home/khana/mvs6/VC98/mfc/include/afxver_.h:144, from /home/khana/mvs6/VC98/mfc/include/afx.h:27, from /home/khana/mvs6/VC98/mfc/include/afxwin.h:19, from StdAfx.h:22, from DemoMfc.cpp:4: /home/khana/mvs6/VC98/include/winnt.h:113:1: warning: "_cdecl" redefined <command-line>: warning: this is the location of the previous definition /home/khana/mvs6/VC98/include/winnt.h:630:2: error: #error Must define a target architecture....
2006 Jul 06
1
problems while compiling mfc applications with wine
...ux version. Iam using Linux ver. 9 and kernel version is 2.4.20-8. with WineLib I copied all the source code from CD and I change the mode read /write than in the current directory i used winemaker command user/sample>winemaker --lower-all --mfc . but get the following errors out of make: stdafx.h:15:64: afxwin.h: No such file or directory stdafx.h:16:46: afxext.h: No such file or directory stdafx.h:17:54: afxdisp.h: No such file or directory stdafx.h:18:87: afxdtctl.h: No such file or directory 1. what are the steps i have to follow to port mfc application into linux from the begining....
2013 May 09
1
Moving from Speex to Opus (question 2)
Hello! I was using Speex all the time, and I am now moving to Opus. I had encapsulated the decoder a bit, I had the following cpp file: #include "StdAfx.h" #include "spxcodec.h" #define MAX_FRAME_SIZE 2000 #define MAX_FRAME_BYTES 2000 CSpxCodec::CSpxCodec() : enh(1), rate(8000) { } CSpxCodec::~CSpxCodec() { } void CSpxCodec::Init() { speex_bits_init(&bits); decstate = speex_decoder_init(&speex_nb_mode); s...
2009 Feb 17
5
Problems in Compiling MFC
...source_Files/SingleAlg_CPU_Video.rc BiCubicInterpolation_OpenGL.h BiCubicInterpolation_OpenGL_Common.h BindDC_Common.h Header_Files/ChildView.h Header_Files/InputBox.h Header_Files/MainFrm.h Header_Files/MyCmdLineInfo.h Header_Files/Resource.h Header_Files/TestApp.h Header_Files/stdafx.h MyCmdLineInfo.h Resource_Files/res/SingleAlg_CPU_Video.rc2 Source_Files/stdafx.cpp readImage.h dicom_io.h SingleAlg_CPU_Video.rc warning: In non-MFC projects, winemaker replaces the MFC specific header 'afxres.h' with 'winres.h' warning: the above warning is issued onl...
2008 Jan 24
2
Problems when compiling MFC application
..._hello]$ make</font><br> <font size="2">wineg++ -c&nbsp; -mno-cygwin -I.&nbsp;&nbsp;&nbsp; -o hello.o hello.cpp</font><br> <font size="2">In file included from hello.cpp:17:</font><br> <font size="2">stdafx.h:13:20: afxwin.h: No such file or directory</font><br> <font size="2">In file included from hello.cpp:20:</font><br> <font size="2">hello.h:26: error: expected class-name before '{' token</font><br> <font size="2&q...
2004 Jun 26
8
getting started
I am giving serious consideration to abandoning waveOut multimedia and the wav format, for most of the audio in my C++/MFC project. However, I've never done any programming with a codec, and I still can't see how to step into Ogg Vorbis. If I convert all my wav files to ogg, there seem to be two major issues I'm facing: 1) What exactly will I replace my waveOut functions with? 2)
2004 Jun 26
8
getting started
I am giving serious consideration to abandoning waveOut multimedia and the wav format, for most of the audio in my C++/MFC project. However, I've never done any programming with a codec, and I still can't see how to step into Ogg Vorbis. If I convert all my wav files to ogg, there seem to be two major issues I'm facing: 1) What exactly will I replace my waveOut functions with? 2)
2007 Feb 13
1
Hello Guys
...speex_encoder_destroy(state); /*Destroy the bit-packing struct*/ speex_bits_destroy(&bits); fclose(fin); fclose(fout); //delete inFile; return 0; } Here is the decoder :: ================ // consSpexDec.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "speex.h" #include <stdio.h> #define FRAME_SIZE 160 int _tmain(int argc, _TCHAR* argv[]) { char *outFile; FILE *fout; FILE *fin; /*Holds the audio that will be written to file (16 bits per sample)*/ short out[FRAME_SIZE]; /*Speex handle samples as float,...
2010 Sep 06
0
encode and decode
hi we are trying to decode speech that was encoded on a ds'pic with a NB 8 Kb/sec. we wrote a simple program using the API speex lib 1.2 beta 3: #include "stdafx.h" #include <iostream> #include <stdio.h> #include "speex.h" #include "speex_bits.h" using namespace std; char hex2ascii(char toconv); #define FRAME_SIZE 160 #define nbBytes 20 int main(int argc, _TCHAR* argv[]) { int mode = 3; int i=0,j=0; char ch=...
2010 Sep 06
0
encoding on a ds'pic and decoding on a pc
hi we are trying to decode speech that was encoded on a ds'pic with a NB 8 Kb/sec. we wrote a simple program using the API speex lib 1.2 beta 3: #include "stdafx.h" #include <iostream> #include <stdio.h> #include "speex.h" #include "speex_bits.h" using namespace std; char hex2ascii(char toconv); #define FRAME_SIZE 160 #define nbBytes 20 int main(int argc, _TCHAR* argv[]) { int mode = 3; int i=0,j=0; char ch=0; int in=0,t...
2003 Jan 06
0
Desktop.ini (part) solution
...9;m not an everyday samba programmer, I have found a descrepancy between a windows code snippet running on a windows server, and on a samba (2.2.7a, but also earlier) systems. This causes the dreaded Desktop.ini problem (yay!) and probably some others too! The test code in windows: #include "stdafx.h" #include <windows.h> int main(int argc, char* argv[]) { HANDLE f; f = CreateFile("H:\\test.x",GENERIC_WRITE,FILE_SHARE_WRITE,NULL,CREATE_ALWAYS,FI LE_ATTRIBUTE_NORMAL,NULL); CloseHandle(f); f = CreateFile("H:\\test.x",GENERIC_WRITE,FILE_SHARE_WRITE,NULL,CREA...
2004 Aug 06
1
Fatal end of line errors occur when trying to compile libspeex in eVC++ 3.0 or 4.0
Hi all, I'm trying to create a speex decoder library for Pocket PC platform. I then intend to use this library within my .NET Compact Framework application. But when I simply try to compile the libspeex files within my eMbedded Visual C++ environment, I receive the following error c:\documents and settings\asheeshv.grapecity\desktop\pocketpcdll\speex\bits.c(367) : fatal error C1010:
2010 Aug 18
1
[LLVMdev] clang: call extern function using JIT
Heres my full code listing, im totally stuck. // Whistle.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "clang/CodeGen/CodeGenAction.h" #include "clang/Driver/Compilation.h" #include "clang/Driver/Driver.h" #include "clang/Driver/Tool.h" #include "clang/Frontend/CompilerInvocation.h" #include "clang/Frontend/CompilerInstance.h&qu...
2010 May 02
0
[LLVMdev] Win32 COFF Support
...typedef std::map <std::string, size_t> map; Please read http://llvm.org/docs/ProgrammersManual.html and use the data structures already provided by LLVM. E.g. http://llvm.org/docs/ProgrammersManual.html#dss_stringmap should definitely be used here. > #ifdef _MSC_VER > #include "stdafx.h" > #endif > #define report_fatal_error_dbg(x) __debugbreak () Generally it's prohibited to use target/compiler-specific defines outside of libSystem. > struct MCWin32CoffObjectWriter : > MCObjectWriter, > coff::file Any reason for such...
2012 May 21
1
Problems seeking with liboggz
...s always the time offset of the end of some near page but never the page that contains the time point requested in seek. What could be going wrong ??? Thanks in advance, Julio. PROGRAM: // TestaOgg.cpp : Defines the entry point for the console application. #include "stdafx.h" #include <exception> #include <oggz/oggz.h> int myReadPacketCallback (OGGZ* oggz, oggz_packet* packet, long serialno, void* user_data); int myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno, void* user_data); int _tmain(int argc, _TCHAR* argv[]) {...
2007 Feb 13
0
Hello guys Please help
...y the encoder state*/ speex_encoder_destroy(state); /*Destroy the bit-packing struct*/ speex_bits_destroy(&bits); fclose(fin); fclose(fout); //delete inFile; return 0; } decoder : ====== // consSpexDec.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "speex.h" #include <stdio.h> #include <conio.h> #define FRAME_SIZE 160 int _tmain(int argc, _TCHAR* argv[]) { char *outFile; FILE *fout; FILE *fin; /*Holds the audio that will be written to file (16 bits per sample)*/ short out[FRAME_SIZE]; /*Speex...
2001 Feb 22
2
afx.h... configure: error: Could not find the MFC includes
This is driving me nuts. I'm trying to compile an MFC application using WINE. I can specify the location of the ATL includes and configure is quite happy but it chokes when I give it the MFC includes in the same way: ./configure --with-atl-includes=/home/wade/VC98/atl/Include --with-mfc-includes=/home/wade/VC98/mfc/Include Wassup? I'm using Winemaker 0.5.5 And wine
2015 Jun 18
3
[LLVMdev] Clang 3.6.1 integration with MSVC++
Hi, This page http://clang.llvm.org/docs/MSVCCompatibility.html says clang-cl supports C ++ exceptions, but I cannot compile code with simple try{}catch{} error : cannot compile this throw expression yet What am i doing wrong? -- WBR, Arkady Shapkin aka Dragon -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Mar 22
1
Page fault with MFC42.DLL
Hi, I get a crash when I dynamically link with MFC42.DLL but not when I link with MFC statically I've created a simple test program to illustrate... #include "stdafx.h" #include "afxole.h" Code: int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { COleDateTime curTime; curTime=COleDateTime::GetCurrentTime(); CS...