|
Hi all.
In my application I am trying to copy an html page from one temp location to another location specified by user.
I am using CopyFile() API to copy html pages.
But I need to explicitly carryout the image copying along with the .html page copying.
Is there any other API which copies all the images from particular html pages implicitly when I copy that html page?
Thanks
-- modified at 3:27 Wednesday 18th April, 2007
-- modified at 3:28 Wednesday 18th April, 2007
Sameer Thakur
|
|
|
|
|
What happen if you use of SHFileOperation ?
|
|
|
|
|
I created one windows form and placed text box.
my working environment:Vc++.net.I want to retrieve the content of that textbox and assign to variable/string.
please help...I am new to .net programming.
Thanks in advance
Ashok
|
|
|
|
|
Try the following forum: .Net Framework[^]
String^ abc = TextBox1->Text;
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
It was better you asked here[^]
|
|
|
|
|
hi,
I am using Quark XDK 6.1 function to print Quark pages to PDF.while printing if the
images in the Quark pages are not in the proper path.Quark will prompt
image missing Dialog Message.
After clicking OK in the dialog only the printing will continue.
I would like to Suppress the "Missing Picture Dialog Box - Warning Message ".
for this i try to get the Dialog id in the PrintCall back function but i failed in that.
can anyone tell me where i should call the function xd_getdlg(&gImgMissingDlgID);to get the Dialogid.
or Is there any other way to achieve it?
OS: WINDOW 2000,XP
XDK: QUARK XDK 6.1
creation of WIN32 DLL in vc++ 6.0
Please provide any infomation that you think may help me to resolve it.
Regards,
Karthick
|
|
|
|
|
hi all,
I tried to create a win32 application with sockets
I have included <winsock.h> and called WSAStartup() API function.
But I got a link error:"unresolved external symbol _WSAStartup@8"
Please give a help
Thanks in advance.
SYAMLAL
|
|
|
|
|
QuickInfo
Windows NT: Yes
Windows: Yes
Windows CE: Use version 1.0 and later.
Header: Declared in winsock2.h.
Import Library: Link with ws2_32.lib.
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
thanks to all who took interest.
I thought this lib should be included in case of MFC only, and so I didn't try it out.
Thanx a lot.
SYAMLAL
|
|
|
|
|
SyamlalS wrote: thanks to all who took interest.
np (No Problem)
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
Specify the required lib file Ws2.lib
Regards,
Paresh.
|
|
|
|
|
Requirement section for this API mention Ws2_32.lib as library. You need to link that.
Prasad
MS MVP - VC++
|
|
|
|
|
|
Programm3r wrote: WIN32 Console application
You need to start with an MFC (not Win32) GUI (not console) app.
|
|
|
|
|
Well Im a student and yesterday appeared in external examination (Lab Test)for "Data Structure Using C".
I was asked to write a program to do following thing :
1.Read Unsorted data(Rno & Marks)from an existing data file.
2.Display Unsorted data.
3.Using Linked list, sort the data on the basis of Rno.
4.Display Sorted data in increasing order.
5.Display same sorted data in decreasing order.
6.Search a particular record on the basis of some key(Rno).
In response what i did was
1.Make a write() and read() function in C using fopen() and fread() and fwrite().
2.Create a singly Linked list and while reading data in read() it used to fill it in the same way as it was stored on file.
3.Display the unsorted list.
4.Use bubble sort to sort the list and display it in Increasing order.
5.Searching on the basis of Rno.
Sorry for posting such a huge amount of text but i wanna make things clear.
My teacher told me that I should have put data into linked list in ordered manner while reading from file i.e. somewhat Insertion sort. I agreed but argued on the fact that question paper didnt mention to force me to use the best technique so i was free to use any sort.
But the nutshell was that i was failed and was told to appear again for the test next year.
Can any tell whether im right or wrong so that i can go to my HOD for the same.
Spread wat u Know!
|
|
|
|
|
Serious answer: Sounds to me like you got shafted
Humorous answer: One of your superiors changed their mind about the spec, and then blamed you? Welcome to the world of software.
|
|
|
|
|
Maybe I am missing something here, but requirements had 6 steps and you only listed 5.
Did you remember to display it in descending order as well?
I would hardly argue they could fail you if yousupplied all required steps, since there are no specifications regarding performance, system limitations, or otherwise.
If I had said this would be a high load system and this would be done several times per hour, I might have had issue with the bubble sort and singly linked list.
I think you would have found you had trouble with the descending display, unless you 'unbubbled' your items to reverse their order - basically you went through your list sorting it twice, then.
|
|
|
|
|
I must say "thnx" to the writer of article "Calling Conventions Demysified".
It is such a good article, i mean im a student n i feel it is must for every c programmer.
But im confused with what was written in first few lines :
"the value is returned in EAX register."
I mean no problem with basic types but how this statement fits fine for structures like:
struct abc
{
int x;
float y;
};
struct abc fun(void)
{
struct abc x;
x.x=0;
x.y=1;
return x;
}
Spread wat u Know!
|
|
|
|
|
Returning things that don't fit into a register have a special rule in all calling conventions that use a register to return values. One possible solution some calling conventions use is that the caller reserves the memory for the return value and passes a pointer to it to the called function as a hidden parameter.
So your example would be compiled like:
struct abc
{
int x;
float y;
};
void fun(struct abc *result)
{
struct abc x;
x.x=0;
x.y=1;
*result = x;
}
An optimizing compiler might assign directly to result->x and result->y.
|
|
|
|
|
help me pls...i m using c++ to do it..
hope can help me bcos the due date is near and i still cannot find any solution on its...
i only can display bitmap but when display in other image format...it cant load and display..
|
|
|
|
|
|
i have try this b4....but the problem is "Before use the CEDraw Library, you must copy some support file in you system"
a. Copy the dll to you WinCE system directory
1.If using in emulation mode, copy two of the dll in …\CEGraph\DLL\X86Em directory ( gx.dll & cegl.dll) to the emulation windows system directory, always in the D:\Windows CE Tools\wce300\MS Pocket PC\emulation\palm300\windows directoty, then copy the file Hzk16 in the …\CEGraph\Res directory to the WinCE Root directory, always in D:\Windows CE Tools\wce300\MS Pocket PC\emulation\palm300
2.if using an Arm system, copy the two DLLs in …\CEGraph\DLL\Arm ( gx.dll & cegl.dll) to the Pocket PC windows system directory. Then copy the file HZK16 to the System Root directory.
i found that i don hav ethe gx.dll and cgl.dll in my d drive or cdrive...so how should do to solve that kind of problem??????????
|
|
|
|
|
Both files (gx.dll & cegl.dll) are in the archive of the article (here), in the CEGraph/DLL subfolder. Find them and follow the article.
-------------------------
Don't worry, be happy )
|
|
|
|
|
but why the path that provided is not same with mine1??it say copy both file into D:\Windows CE Tools\wce300\MS Pocket PC\emulation\palm300\windows directoty...but in fact,i cannot find the exact path either in c drive or d drive....mine1 is D:\Windows CE Tools\eVC4..
|
|
|
|
|
The only thing I can recommend - try. Obviously, the author of the article gave HIS paths, that can differ among users...
-------------------------
Don't worry, be happy )
|
|
|
|