|
If you haven't already done so, download the boost library. The regex library has an example ("regex_split_example_2.cpp"), that scans a file and returns a list of the URLs.
|
|
|
|
|
I have a picture control on the dialog.I want to get the color of the picture.or the color of the dialog(It's same to the picture).Note,not the bkColor of DC.
Thanks!
|
|
|
|
|
|
hi all
i had bitmaps or drawings on dialog.I want to print these bitmaps any idea how to do that. or any other method of doing this printings.
ddd
|
|
|
|
|
this[^] might come in handy.
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
maybe it is some helpful to you
...
HDC m_dcPrinter=CreateCompatibleDC(CreateDC(m_Printer->pDriverName,
(LPCTSTR)lpdevmode->dmDeviceName,m_Printer->pPortName,lpdevmode));
PRINTDLG lppd;
...
...
PrintDlg(&pd);
hBitmap=LoadBitmap or LoadImage
SelectObject(m_dcPrinter,hBitmap);
StartDoc (pd.hDC, &di);
StartPage (pd.hDC);
BitBlt(pd.hDC,150,300,2100,1575,m_dcPrinter,0,0,SRCCOPY);
EndPage (pd.hDC);
EndDoc (pd.hDC);
|
|
|
|
|
I am working on a mfc application. At the time the project started no automatization support was defined for it from the wizard application. Now i want to add some automatization features . Can any one help me on this matter? Do i need to recode the whole prject ?
|
|
|
|
|
|
I have a dialog box. There's a (background) bitmap on it.I can load a (foreground) jpeg on it. Now I wanted to know if,on a new dialog , I can load a background jpeg on which i can load the foreground jpeg.
-- modified at 6:24 Wednesday 22nd March, 2006
|
|
|
|
|
You are not making any sense, rephrase the question.
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
Hello,
I do have one doubt.
Iam at ppresent working with C programming in VC++ environment. I need to work with a DLL, is it possible to use for C coding also without any Dailog based file? or should i use in VC++ enviroment?
-- modified at 5:21 Wednesday 22nd March, 2006
|
|
|
|
|
Of course you can use DLL with VC++.
|
|
|
|
|
Hi Everyone,
How can we write the commandline instructions in VC++? For example, i want to copy Excel file from one location to another location in another place(LAN). I have a copy button in my dialog. When i press the copy button, the excel file should be copied over to another location. Is it possible to do so?
Thanks in Advance.
Chetan.
Helping others satisfies you...
|
|
|
|
|
system() if you directly use DOS commands.
otherwise, use CopyFile()
|
|
|
|
|
Thank you.
Is it possible to copy a file from one computer to other computer in a LAN using CopyFile().
Chetan.
Helping others satisfies you...
-- modified at 5:10 Wednesday 22nd March, 2006
|
|
|
|
|
looking at the MSDN[^], i think so
what you have to do for that is prepend the file name with \\<server>\ ...
|
|
|
|
|
int WINAPI function1(param);
int is the return value,function1 is teh function name,
then what does WINAPI do?
|
|
|
|
|
It's a calling convention for system functions. WINAPI expands to _stdcall .
Nibu thomas
Software Developer
|
|
|
|
|
It's a macro which expands to the appropriate calling convention. It's a macro so it can be defined differently on different platforms. On x86 based platforms it's __stdcall but on others it could be defined differently.
Steve
|
|
|
|
|
|
thank u all!!!!!
|
|
|
|
|
hi
i'm working in vc++ from last one month.i'm working on a Project.
In which i have made a Web Browser.
My project need some more points.which i'm not getting these are:
1.Communication from the Browser to the web application is done by means of sending XML data using an HTTP POST request.
2.After the web application has received this request, it processes it and sends a redirect to the Browser.
Please help how can i implement these point.
Thanx in advance
Amit
Amit
|
|
|
|
|
I am working on windows 2000. I want to send FAX from my PC using the SendFaxDocument() API. For this should use a dial-up connection & if Yes, how?
aasstt
|
|
|
|
|
hi all
I have for example 4 char variables
char c[4] = {'a','a','a','a'};
and one __int32 variable
__int32 x;
I want to write c[4] contents(binary) to x .
using shift left and & operations but I cant.
can someone help ?
|
|
|
|
|
2 ways :
__int32 i = c[0] +
c[1] << 8 +
c[2] << 16 +
c[3] << 24;
the second one is more exotic :
union {
char c[4];
__int32 i;
} u;
-- modified at 4:07 Wednesday 22nd March, 2006
|
|
|
|