WLM Caching? |
Author: |
Message: |
tjh2k6
New Member
Posts: 8
35 / / –
Joined: Feb 2006
|
RE: WLM Caching?
i have finally found them by going to c:\doc. and set.\user\local set.\temp\messengercache, then to open them use windows fax and picture viewer. does anyone know how i make that the default program to open that file type? i would normally just click the tick box but it is grayed out. any ideas?
thanks tom
|
|
02-19-2006 02:28 AM |
|
|
Moo
Full Member
Posts: 395 Reputation: 19
Joined: Jun 2004
|
RE: WLM Caching?
quote: Originally posted by SonicSam
a dword that fell asleep and fell down...making it look like a qword
rofl
But seriously.... You can't store a picture in a QWORD or a DWORD... These are not for images!
This post was edited on 02-19-2006 at 05:37 PM by Moo.
|
|
02-19-2006 03:19 AM |
|
|
LipoToid
Junior Member
LipoToid
Posts: 24
Joined: Oct 2005
|
RE: WLM Caching?
I don't think with a response like the above I'll be leaving any further comments on this site again. The immaturity is clearly shown just by the wording alone.
e.g. to help in your misunderstanding of your comments.
code: // Partial e.g. Struct Store
// The structure below contains all of the AppBar settings that
// can be saved/loaded in/from the Registry.
typedef struct {
DWORD m_cbSize; // Size of this structure
BOOL m_Scroll_Text_COLOR; // Default Scroll Text Color Set
BOOL m_Scroll_Background_COLOR; // Default Scroll Background Color Set
COLORREF m_TXT_COLOR; // Scroll Actual Text Color
COLORREF m_BKG_COLOR; // Scroll Actual Background Color
TCHAR m_FONT_NAME[25];
INT m_FONT_SIZE; // Scroll Font Size
INT m_SPEED; // Scroll Speed Viewing
LONG m_FREQUENCY; // Frequency of viewing each line
TCHAR m_UserNameGmail[26];
TCHAR m_PasswordGmail[26];
} APPBARSTATE2, *PAPPBARSTATE2;
// Setup default state data for the AppBar
APPBARSTATE2 abs;
abs.m_cbSize = sizeof(abs);
abs.m_Scroll_Text_COLOR = TRUE; // Default Scroll Text Color Set
abs.m_Scroll_Background_COLOR = TRUE; // Default Scroll Background Color Set
abs.m_TXT_COLOR = m_crTextColor;
abs.m_BKG_COLOR = m_crBackColor; // 16767411; // Actual Default Background Color
abs.m_FONT_SIZE = m_size;
abs.m_SPEED = m_speed;
strcpy(abs.m_FONT_NAME, m_FONT_NAME);
abs.m_FONT_SIZE = m_FONT_SIZE;
abs.m_FREQUENCY = m_FREQUENCY;
strcpy(abs.m_UserNameGmail,m_UserNameGmail);
strcpy(abs.m_PasswordGmail, m_PasswordGmail);
// Create and Write imaietoolbar File Identification Into Registry?
if(! ( RegSetValueEx( scrollerOptions, // subkey handle
"ANYNAMEVAR", // value name
0, // must be zero
REG_BINARY,
(BYTE*)&abs,
sizeof(abs) ) == ERROR_SUCCESS ) )
{
AfxMessageBox("Unable to set ** Write ** ietbar ANYNAMEVAR ** label !", MB_ICONSTOP);
// _exit(0);
}
//Close Keys
rctCloseKey(scrollerOptions, _T("ScrollerOptions"));
// Partial e.g Binary Store
BYTE abSample [256];
HKEY hKey = NULL;
REGSAM sam = KEY_READ;
char* pszKey = "Software\\Blob";
if ( ERROR_SUCCESS != RegOpenKeyEx ( HKEY_LOCAL_MACHINE, pszKey, 0, sam, &hKey))\
{
// error
}
else
{
DWORD dwType = REG_BINARY;
DWORD dwSize = sizeof ( abSample);
if ( ERROR_SUCCESS != RegQueryValueEx ( hKey, "ValueName", NULL, &dwType, ( LPBYTE) abSample, &dwSize))
{
// error
}
}
RegCloseKey ( hKey);
On a personal note:
I will not be posting any longer here on Patchou's website.
I personally thank him and the Admins for allowing me to make
postings and comments. Thanks again Messenger Plus!
Respectfully,
LipoToid
|
|
02-19-2006 04:26 AM |
|
|
ShawnZ
Veteran Member
Posts: 3146 Reputation: 43
32 / /
Joined: Jan 2003
|
RE: WLM Caching?
okay, congradulations, you can read and write code from and to the windows registry?!
Spoiler: the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
|
|
02-19-2006 04:42 AM |
|
|
TheSteve
Full Member
The Man from Japan
Posts: 179 Reputation: 23
40 / /
Joined: Aug 2005
|
RE: WLM Caching?
The code that was posted stores a structure (about 100 bytes) in the registry using the type REG_BINARY. It is in no way stored as a DWORD (4 bytes) or a QWORD (8 bytes).
It does not do anything to prove his point, other than it is possible to store an image in the registry... just not in 4 or 8 bytes. The only possible way that you'd be able to store an image in 4 bytes, would be to store a pointer or some other access token which would allow access to the data from another source.
In any case, as was stated above, WLM now stores the DPs and custom emoticons in
%temp%\MessengerCache
Where %temp% is the System environment variable for your temporary files.
This post was edited on 02-19-2006 at 05:50 AM by TheSteve.
|
|
02-19-2006 05:29 AM |
|
|
ShawnZ
Veteran Member
Posts: 3146 Reputation: 43
32 / /
Joined: Jan 2003
|
RE: WLM Caching?
quote: Originally posted by TheSteve
The code that was posted stores a structure (about 100 bytes) in the registry using the type REG_BINARY. It is in no way stored as a DWORD (4 bytes) or a QWORD (8 bytes).
Not to mention, it's very slow and inefficient
Spoiler: the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
|
|
02-19-2006 05:34 AM |
|
|
tjh2k6
New Member
Posts: 8
35 / / –
Joined: Feb 2006
|
RE: WLM Caching?
anyone have any ideas on how to make Windows Picture and Fax Viewer the default program for opening the messengercache documents. When i click i have to choose it from the list where as before i used to be able to click the tick box at the bottom to make it default, but its grayed out for some reason.
|
|
02-19-2006 04:04 PM |
|
|
Moo
Full Member
Posts: 395 Reputation: 19
Joined: Jun 2004
|
RE: WLM Caching?
right click, open with, choose program... select windows picture and fax viewer and select make this the default before clicking ok
|
|
02-19-2006 05:39 PM |
|
|
tjh2k6
New Member
Posts: 8
35 / / –
Joined: Feb 2006
|
RE: WLM Caching?
i can do that but the tick box to make it default is grayed out so i am unable to click it.
|
|
02-19-2006 06:54 PM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: WLM Caching?
Because the cached files don't have any extension.
You can't assign a program (winfax or whatever) to a file with no extension (well you actually can, but it is not so easy and not so wise to do)....
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
02-19-2006 07:37 PM |
|
|
Pages: (3):
« First
«
1
[ 2 ]
3
»
Last »
|
|