Hi Actually yes Tim
tbrake
Posts
-
buiding webbrowser without internet options proxy -
buiding webbrowser without internet options proxyHi I have restricted the internetusage with an proxy-server. These proxy settings are done with the internet options. Now i'd like to built programm a webbrowser. And it shall not use the internet option settings! I do notwant to change the registry while i send or receive data. but using normal webbrowser settings always cvonnect via proxy. Why and what do i have to do? Thanks Tim
-
Chnage html source code before dispayingHi I'd like to change the source code of some html pages before the page will be dispayed for the user. For example the login data should be filled in and not changebal any more. that means a textbox should get the value information and the readonly. But at least i have no idear how to manage. Thanks for any help Tim
-
restrict http sides depending on the login name and auto fill inHi I'd like to write a programm to restrict internet sides. I mean a filter that only allows some sides - maybe working like a virtual proxy depending on the user login name for a machine. Second function should be to fill in login data into a form. And those data should be non changebal. For example using gmx login only for one given account. Thanks for any help Tim If you believe this is not very usefull then I believe you have not been in my situaltion.
-
drawing errors caused by tooltipDear List I have a problem while i'm drawing lines into my Childview. Some background: i'm Meassuring some events and the result is plotted to the view. Fore that i use:
void someMethod(long color) { CClientDC cDC(this); OnPrepareDC(&cDC); CPen pen(PS_SOLID,1,color); cDC.SelectObject(&pen); // Allwayes as Pair cDC.MoveTo(from_pt); cDC.LineTo(to_pt); }
I Use this method quiet offten (recalled after 25 milliseconds). So fine. Now moving the mouse over the toolbar is fine until the tool tip (or any tool tip belonging to the mainframe) is shown. It seems like the tooltip is shown between MoveTo and LineTo. So it might the easiest for me ether to deactivate tooltips at all - i don't know how to do this - or to have another possibility to draw a line. Please any suggestions might help THX Tim PS Oh i forget to say not all Window machines behave the same way - i mean on some machines this happens on others not. -
change derived class - building a dll an import itHallo I have some project written and this is working fine. Now i have a base class not a abstract class and some derived. Now i want to handle each derived class in a separate dll. Now is this possible ?? And if so how to manage this ?? Do i have to make a lot of changes?? Thanks Timen
-
ntdll RtlEnterCritialSection [modified]Hallo After working for years my Software is ready. But it is not running on all Window machines. Especially Win2000 and WinXp cant start the software. DrWatson tells me ntdll.dll 0x0000005 RtlEnterCritialSection Ok some Access violation in ntdll but can i figure out what problem i realy have and what to do to fix it. THX Timen -- modified at 14:51 Monday 12th June, 2006 So here is the DrWatson result
*----> Statusabbild für Threadkennung 0x284 <----* eax=00000020 ebx=0013f360 ecx=7ffdf000 edx=00000020 esi=00000000 edi=0013f364 eip=7c911010 esp=0013f2f0 ebp=0013f330 iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202 *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\ntdll.dll - Funktion: ntdll!RtlEnterCriticalSection 7c910ffc 0000 add [eax],al 7c910ffe 0000 add [eax],al 7c911000 90 nop 7c911001 90 nop 7c911002 90 nop 7c911003 90 nop 7c911004 90 nop ntdll!RtlEnterCriticalSection: 7c911005 648b0d18000000 mov ecx,fs:[00000018] 7c91100c 8b542404 mov edx,[esp+0x4] FEHLER ->7c911010 837a1400 cmp dword ptr [edx+0x14],0x0 ds:0023:00000034=???????? 7c911014 754f jnz ntdll!RtlEnterCriticalSection+0x60 (7c911065) 7c911016 f0ff4204 lock inc dword ptr [edx+0x4] 7c91101a 7519 jnz ntdll!RtlEnterCriticalSection+0x30 (7c911035) 7c91101c 8b4124 mov eax,[ecx+0x24] 7c91101f 89420c mov [edx+0xc],eax 7c911022 c7420801000000 mov dword ptr [edx+0x8],0x1 7c911029 33c0 xor eax,eax 7c91102b c20400 ret 0x4 7c91102e 8da42400000000 lea esp,[esp] 7c911035 8b4124 mov eax,[ecx+0x24]
And how to figure out witch thread is meant - or what to do against it ?? THX Timen -
How to add a menu to a propertysheet :doh:Hallo I'd like to add a menu to a propertysheet. The menu has the same look for all bags (only different Functions) THX Timen
-
MFC71.dll missing export link SHLWAPI.dll:UrlUnescapeAHalllo I know i'm not realy right here. But i don't know where else to go. My little software is ready and now i prepare everything for the installer. I went to another machine to see the dll's i need. So far so good. Now my App needs MFC71.dll but just copying the dll won't work The error message is the message title. Does any one have any suggestions ?? THX Timen
-
How to redefine HEX symbolsI am not sure but i think i need the numeric interpretation. The controller is a GPIB card (16 BIT connector) - to the receiver there is an initialisation string send to as char "N00,TH0,V0123456789:;<=>?\n" changing anything here will end up in errors. ... ah i think i can do this like :
int hex = 0x2ABCDEF; cmd[0] = ((hex & 0x0F000000)>>24)+48; cmd[1] = ((hex & 0x00F00000)>>20)+48; cmd[2] = ((hex & 0x000F0000)>>16)+48; cmd[3] = ((hex & 0x0000F000)>>12)+48; ...
OK i try this :cool: THX Timen -
How to redefine HEX symbolshallo OK radix ... will look up this just after this mail.. I mean Displaying Hex as String measn unsing the symbols 0 1 2 3 4 5 6 7 8 9 A B C D E F Now i need 0 1 2 3 4 5 6 7 8 9 : ; < = > ? I know this is strange but i have some old hardware - this is only able to understand these symbols no hex !!! X| and the second problem is i need a very fast calculation. THX
-
How to redefine HEX symbolsHallo I'd like to change the chars printed unsing HEX. Sample:
int nHex = 0xABCDEF; char nHexText[7]; sprintf(nHexText,"%x",nHex); // Result for example // nHexText = ":;<=>?"; // This is [hex value] + [48] ?!?!
By now i convert as hex to string and use some macros for each char to convert. Is there any posibility to change the symbol by just using sprintf ?? THX Timen -
how to change interpretation int - hexHallo 1. Well at least it makes sence. cause i have to controll some hardware. To calculate the needed commands the shortes way is to interprete int as Hex bit shift this and the result is the needed command. Outherwice if you cant see the sence then become a lectural 2. int - char - hex is what i have and this is as fast doing a lot of if else combinations - well but i need somthing fast - much faster ?!?! Well the THX Timen:->
-
how to change interpretation int - hexHallo How can i change the interpretation of a variable. Example
int text = 123456; // editable by user !! ... // On one position I need to convert to 0x123456 ...
THX Timen -
ProcessShellCommand and DDE [modified]Hallo so far i understood: Using RegisterShellFileTypes() adds a string to the registry. So double clicking a file opens the app. But the regkey ends up with \dde and i would like to have %1 What do i have to do ?? THX Tim -- modified at 19:27 Monday 22nd May, 2006
-
Acces from CView to CChildFrame and/or CMyAppHi How can I access public variables of CChildFrame and CMyApp from my CView? Or: How to access CChildFrame and CMyApp from any other class? I tried:
CMyApp theApp; theApp.public_data = ...;
but this is not working. Please HELP me CU Timen -
limit app to one instanceHi A common way to handle one instance is using an identifier
BOOL CMyApp::InitInstance() { HANDLE hMutex = CreateMutex (NULL, TRUE, "MY APP IDENTIFICATION"); if (GetLastError() == ERROR_ALREADY_EXISTS) { AfxMessageBox("Alreay running!"); return FALSE; } if(hMutex) ReleaseMutex (hMutex); ... }
CU Timen -
MainFraim - Child - file extansionHallo I try to implement: double clicking a file opens mainframe an childframe. Openeing the mainframe seems to work but what do i have to do that also the childframe opens ?? THX
-
Double Click On File Opens App but not the Child windowHello I have a little problem with my app. I can double click on the assotiated file type (*.app) an the MainFraim of my Prog is started. But to display the information in the file there should also be a ChildFrame opened. And this doesn't happen! Now how to add this function ? And/od how to debug this (if Possible)? THX
-
Ending Thread ProblemsHi Well equal if m_bAutoDelete = true or false calling delete maxID will last to an accessvalidation error. And do you anything aout ending threads quick ?? THX