|
For <insert deity of choice>'s sake - it was only half an hour since your last request, in a different thread!! This is a volunteer site with people who do other things for a living. Be patient. And don't open a duplicate thread.
<end lecture on forum etiquette>
chetanjoshi9 wrote: path is : "ftp://www.ganitra.com//BannerTestPlan.jpg"
anyway, you don't need double slashes (//) if it is a forward slash. Doubles slashes are only needed in the string if you use a backward slash i.e. use either
"ftp:/www.ganitra.com/BannerTestPlan.jpg"
or
"ftp:\\www.ganitra.com\\BannerTestPlan.jpg"
Technically, Windows uses the backward slash although some of the APIs will accept forward slashes. I don't know off-hand if the one you're trying to use accepts / so try changing to \\.
Judy
|
|
|
|
|
hi all,
i am savitri here.good afternoon to all. in my program i want to find middle value of the string so how shall i find that value. please help me out.in VB it is like this
For ctr = 0 To 15
dout(ctr) = Asc(" ")
Next
For ctr = 0 To Len(strData) - 1
dout(ctr) = Asc(Mid(strData, ctr + 1, 1))
Next
but i want to know in VC++. in VB it is built in function but in VC++ it is not there please help me. please i am learning VC++ u all my guru's so please answer to my questions.
thanku in advance,
savitri.
|
|
|
|
|
See this[^]
savitri wrote: good afternoon to all
Time zone matters
|
|
|
|
|
Hi Experts,
I recieved HMENU from other funtion.
Could I append menu item with bitmap in it except InsertMenu().
|
|
|
|
|
Hi all,
Is there any open source application for detecting the people from the sequence of video motion of webcam. I need to detect only humans rather than objects.
Thanks in advance
|
|
|
|
|
I dont know of any open source app for people tracking, but you can build your own if you know a little bit of image processing. Open source library for image processing are available, such as OpenCV (Intel). You can also look for existing papers on human tracking on IEEE Xplore or the web.
|
|
|
|
|
I have an MFC app, I want to create a minidump .dmp file at my preferred location whenever the app crashes.
Any ideas ? Do I need to make some code change or is it some Windows setting or BOTH ?
Regards
Cage
|
|
|
|
|
|
Thanks a ton Roger! 
|
|
|
|
|
I am working on FTP wizard
I written a code to get the properties of selected file for local drive as
HTREEITEM hlocalselitem = m_LocaleTreeCtrl.GetSelectedItem();
{
CString selectedPath =GetLocalTreePath (hlocalselitem);
HWND hwnd = GetSafeHwnd();
SHELLEXECUTEINFO ShExecInfo = {0};
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_INVOKEIDLIST ;
ShExecInfo.hwnd = hwnd;
ShExecInfo.lpVerb = "properties";
ShExecInfo.lpFile = selectedPath;
ShExecInfo.lpParameters = "";
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
}
which works fine.
But when I used it for remote file i.e. selectedpath is different
as i.e. using '/' but it is giving me error as please check the path
I also tried for complete URL then it gives invalid parameter for
ShExecInfo.lpFile = selectedPath;
|
|
|
|
|
please post the path you specified for remote file
|
|
|
|
|
path for ftp file to which I want to get properties
ftp://www.ganitra.com//BannerTestPlan_1.jpg
|
|
|
|
|
::CoInitialize(NULL);
m_adoConn.CreateInstance(__uuidof(Connection));
m_adoConn->Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\1.csv;Extended Properties=csv;HDR=Yes;FMT=Delimited","","",adModeUnknown);
m_adoRec.CreateInstance (__uuidof(Recordset));
m_adoConn->CursorLocation = adUseClient;
m_adoRec->Open("select * from c:\\1.csv",m_adoConn.GetInterfacePtr(),adOpenDynamic,adLockOptimistic,adCmdText);
error message:
Unknown error 0x800A0E7D
thank
Blog:
http://taotesea.spaces.live.com
|
|
|
|
|
Hi all,
Actually i am new to VC2005. My problem is whenever i am trying to add any member function it says.IntelliSense:"No additional information available"I am not getting how to correct it...
Can anybody help me in correcting it...
Thanks in advance
|
|
|
|
|
Please post in appropriate forum - 'Visual Studio'.
Thanks
Cage
|
|
|
|
|
dear all
i have loaded a jpeg image already, now i would like to process this image, for example, convert to grayscale, and then display the grayscale image via this buffer. how to declare such buffer? thanks.
the following is what i loaded image code:
JpegData jData;
int iWidth, iHeight, iBpp;
jpeginfo(path, &jData);
iWidth = jData.width;
iHeight = jData.length;
iBpp = jData.vbitcount;
allocimage(&m_vicImg, iWidth, iHeight, iBpp);
Li Zhiyuan
|
|
|
|
|
I hope this can help you.
|
|
|
|
|
Hello friends.
I am having a problem with Timer in my application in Release mode.
The application crashes in release mode but works fine in Debug mode.
What could be the problem with the Timer in release mode?
ritz1234
|
|
|
|
|
What does your timer handler do? Could you show some code snippets?
Maxwell Chen
|
|
|
|
|
Hi, Thanks for the reply,
Actually the project is on motion detection by the webcam.
The OnTimer function creates a thread that save the current picture frame
on the disk.
I am using this timer in Application class derieved from CWinApp
does this creating a problem for me?
ritz1234
|
|
|
|
|
1. Is the timer successfully created?
2. Do you filter the timer IDs?
3. Does the execution enter the OnTimer body?
4. Could you add some OutputDebugString or write log to file to approach the last line it executes right before crash?
Usually this kind of crash relates to invalid handles or pointers.
Maxwell Chen
|
|
|
|
|
Please make sure that you do not have any un-initialized variables, they can act evil in Release mode.
Also, do you have a crash dump which you can analyse through any debugger and see which memory segment is throwing the error ?
|
|
|
|
|
Hi cagespear,
You should reply to OP's posts, otherwise he won't recieve a notification email.
Maxwell Chen
|
|
|
|
|
No, he was giving you some suggestions.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Rajesh R Subramanian wrote: No, he was giving you some suggestions.
Maxwell Chen
|
|
|
|