|
|
The URL and text do not match.
Have you considered the possibility that no one here knows of a solution for you? It's just a thought to consider.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
|
toxcct wrote:
ahahah, yes it does
No, the text was http://www.codeproject.com/script/comments/forums.asp?forumid=1647&fr=351&select=816840&msg=816840#xx813863xx while the URL was simply http://www.codeproject.com/script/comments/. Click on it and you'll see the problem. Your browser should open to an about:blank window.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
ok, but if you read my post to the end, you might understand (i hope) where vietdelphi was wrong :p
TOXCCT >>> GEII power
|
|
|
|
|
Connection.Execute has a known memory leak problem. However this is corrected with new MDAC. Download latest MDAC from microsoft and check whether it disappears
It's not a bug, it's an undocumented feature. suhredayan@omniquad.com
messenger :suhredayan@hotmail.com
|
|
|
|
|
Thanx you for all. And Sorry!
I´ll try with MDAC 2.8
|
|
|
|
|
ElitePCGaming is the best pc gaming site you will ever lays your eyes on... and they have no idea who i am, just call me an anonymous spammer! for 2 dollars ill spam your site too!
ElitePCGamer rocks your socks off
|
|
|
|
|
Sad thing is...this technique just worked on me
I can't help it...it's like a car accident...I just had to look...
To be honest it was a nice site, but i'm not a gamer so it's ultimately pointless for me...
Quick question though...if no one knows who you are how am I suppoesed to give you 2 bux??? Why don't you send me your details like address, fname, lname, CC number, etc...
Cheers
How do I print my voice mail?
|
|
|
|
|
Hope I don't thing any Intresting there!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
I wrote A COM Server Dll using the ATL Wizard, but i have one problem - it works only on my computer. When i try to register this dll with regsvr32 on another computer it shows me an error message. I can't remember now what was the message .
|
|
|
|
|
It is very difficult to answer that question if you can not remember the error message. But I think you should check again the following:
1. ALT.DLL is require if you build at MinSize mode. In this case, you can switch to MinDependency mode, so that ATL.DLL is independent.
2. If your DLL used MFC, you must ensure that in the computer where you get problem has installed MFCxx.DLL correctly. Ofcouse, in case DLL build with DEBUG mode, the MFCxx.DLL can be different.
Hope useful.
|
|
|
|
|
When adding new text at the botton how can you arrange for the scroll bar (vertical) to be set such that the last section of text is always displayed.
Currently when I move the scroll bar, it is reset when the program addeds the next bit of data.
|
|
|
|
|
After laying out multiple CToolbars in a CMDIFrame I have the following layout;
(1) Top of client area, 1st row, contains 5 toolbars (side by side)
(2) Underneath the above I have a 2nd row with two toolbars (side by side)
(3) At the bottom of the client area I have two more toolbars on a single row (side by side)
Unfortunately, when the user resizes the parent frame so that a toolbar to the right edge of window falls outside it, MFC decides to move the toolbar in question down one row. Even worse, it does not move it back afterwards!
This looks awful, and is very annoying.
Anyone have any suggestions on how to prevent MFC doing this?
I'm using the Visual C++ 6.0 IDE and that is able to keep its individual toolbars on the same row when I resize the main window (even when the toolbars go off screen) so how does it do it?
Many thanks,
Glidz
|
|
|
|
|
I am wondering how can I copy/backup a locked file.
Seems that almost all backup programs can do it so it's sound simple, but I can not find anything on this
Can you help me and give me some guide lines ?
what and where to search for ?
Thank you in advanced .
Vini
|
|
|
|
|
CoolVini wrote:
Seems that almost all backup programs can do it...
All the ones I've ever used will skip files open by other processes.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
If the process opening the file did not specify any sharing options, you cannot access it.
You should specify GENERIC_READ and FILE_SHARE_READ | FILE_SHARE_WRITE when openign the file.
Flirt harder, I'm a Coder
mlog || Agile Programming | doxygen
|
|
|
|
|
Anyone here knows how to do a program to calculate loan using MFC?I need some help.thanks
felix joe
|
|
|
|
|
What part of the computation do you want to know about? Do you have some code that is not working correctly? Is it too much to ask your instructor for some detailed instructions? Some will give you a few extra morsals that were not previously given in class (assuming you've at least bothered), while others will tell you to find the missing pieces on your own. Conspiring with classmates is also an option.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
I was wondering where i can get some info on the protocalls used by bank and stock servers. I need to make ann app which can buy and sell stock while managing money in specific bank acounts.
|
|
|
|
|
Help people!
I have just upgraded (still not really sure if it is an upgrade) to Visual Studio .NET
Using Visual C++ I have a library that needs to be linked to my app from the directory it was built in dependant on whether I am compiling for the debug or release version. So I have added the path to Tool/Options/VC++Directories/Library Files with the $(ConfigurationName) macro on the end. But it seems to make no difference, I can only get it to work if I put in the complete path.
Is this the correct macro? Or any tips?
Regards,
Kevin.
|
|
|
|
|
Add the appropriate directory to each configuration using the project property pages.
Using the project properties dialog box, navigate to linker->general->additional library directories. Add the directory for the appropriate folder, then change the configuration and add the other folder.
The ($ConfigurationName) macro may even be usable for 'all configurations'
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
I'm developping an ISAPI FILTER and I would like to know why this code for the event OnAuthComplete is not working; I have already declared the method and caught the notification (SF_NOTIFY_AUTH_COMPLETE: dwRet = OnAuthComplete(pfc, (PHTTP_FILTER_AUTH_COMPLETE_INFO))pvNotification); :
static DWORD OnAuthComplete(PHTTP_FILTER_CONTEXT pfc, PHTTP_FILTER_AUTH_COMPLETE_INFO pAuthCompInfo)
{
HANDLE TokenHandle = (HANDLE)1;
DWORD dwLen = 0;
PTOKEN_USER pTokenUser = NULL;
DWORD dwErr;
char name[MAX_NAME], domain[MAX_NAME];
// Get user token.
if ( pAuthCompInfo->GetUserToken(pfc,&TokenHandle) )
{
// Get token information size.
if ( !GetTokenInformation
(TokenHandle,TokenUser,NULL,dwLen,&dwLen) )
{
dwErr = GetLastError();
if ( ERROR_INSUFFICIENT_BUFFER == dwErr )
{
// Alocate buffer for token information.
pTokenUser = (PTOKEN_USER)GlobalAlloc(GPTR,dwLen);
dwErr = S_OK;
}
}
// Now get the actual token information.
if ( dwErr != S_OK ||
!GetTokenInformation(TokenHandle, TokenUser,pTokenUser,dwLen,&dwLen) )
{
// Error …
}
else // We have the token information in hand.
{
// Extract from the token information - the SID.
SID *pSid = (SID *)pTokenUser->User.Sid;
DWORD dwNLen = MAX_NAME, dwDLen = MAX_NAME;
SID_NAME_USE eUse;
// Get the user name and the domain from the SID.
if (!LookupAccountSid(NULL,pSid,name,&dwNLen,domain,&dwDLen,&eUse) )
{
// Error …
}
else
{
// name buffer contains user name.
// domain buffer contains user domain.
}
}
}
if (*name != NULL)
return WriteIntoFile(pfc, "OnAuthComplete: User name:" + *name);
else
return WriteIntoFile(pfc, "Evento OnAuthComplete: ");
}
WriteIntoFile is a method that write into a file and I have already tested it and it works well.
|
|
|
|
|
How can write a cookie from vc++ without ATL or MFC?
|
|
|
|
|
See this thread.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|