|
something like that.. But i need exact look as the notification button (which has ">" + round background)
Achievement is not a destiny but a endless journey
|
|
|
|
|
sorry, i really don't see what button you're talking about when saying "notification button".
|
|
|
|
|
have u seen the a button in between notification area and the task bar buttin.. which hides or shows (un)used icons on clicking.. i need a button which exactly resembles that one
Achievement is not a destiny but a endless journey
|
|
|
|
|
this area is not called "notification area" but "system tray"...
well, to answer your question, i don't know myself, but at least, i understood you then...
|
|
|
|
|
i am really sorry on that.. but Microsoft refers that to notification area instead of system try..thats why i said so.. any way..
Atleast do u know how to get a window proc of "Already" subclassed window
Achievement is not a destiny but a endless journey
|
|
|
|
|
v2.0 wrote: this area is not called "notification area" but "system tray"
Microsoft disagrees with you. In fact, Raymond Chen (a Microsoft employee) specifically says that "system tray" is wrong.
Anyway, I've heard both.
|
|
|
|
|
BlueCrack wrote: does anybody know how to create chevron button (something similar to the notification area button in XP) in win32
Use SetWindowRgn(...) .
Nibu thomas
Software Developer
|
|
|
|
|
Thanks Thomas on that. But i have been already using that for a while.. what i need is the visualization similar to the chevron button near system tray..
I dont want to use owner drawn owner drawn button or some GDI stuff. i want to make it simpler
Thanks
Ranga
_______________________________________
Achievement is not a destiny but a endless journey
|
|
|
|
|
Hi, I´m having some trouble rebuilding a sample application for WINNT ( I know... but old hardware card drivers only run there )
First part...
If I use the makefile provided it builds OK but when run in winnt I get "not valid win32 executable" message, (on winxp/2k3 It seems to run ok but of course fails when no drivers are found) we don't have vc6 atm... I tried on 2003 & 2005
2nd part...
If I create a new solution include provided files ( .h & .lib ) the linker fails with...
...
zzz.obj : error LNK2019: unresolved external symbol _strcmp referenced in function
...
zzz.obj : error LNK2019: unresolved external symbol __imp__printf referenced in function _
zzz.obj : error LNK2019: unresolved external symbol __imp__atoi referenced in function _getargs
strings.h / stdlib.h are included in the source... I may be missing some project option I can't find... tried with vc 2003/2005
any tips/suggestions on anything ?
thanks in advance
Pablo75
|
|
|
|
|
It seems you have changed something wrongly in linker options...
Was it working properly with nmake options??
Also check whether "Ignore Default Libraries" option is set "Yes".. If so make it "No"
|
|
|
|
|
I created a new blank solution and can compile and link fine,
with nmake it compiled ok too, but when copying the exe to the winnt pc it fails to load with the "not valid win32 executable" msgbox.
I can't log on terminal server now.. will have to try again later
Pablo75
|
|
|
|
|
could you please give me just the header lines of all the .h & .c* files. It might help me in diagnosis
Achievement is not a destiny but a endless journey
|
|
|
|
|
Does any body know how to get windproc of already subclassed window. bcoz GetWindowLong fails in getting wndproc of subclass window
Thanks
Aceivement is not a destiny but a endless journey
-- modified at 9:01 Friday 17th March, 2006
|
|
|
|
|
Hi all!
I want to get the function name and its signature from any type of DLL(whether it is a COm dll or simple C++ DLL). If the DLL doesn't have any exported function, so how could i get the name and signature of those functions. Is there any tool exists then plz tell, i tried Dependencywalker.exe, but it shows only exported fns.
if anyone can send me any sode then i will be highly obliged.
Regards,
Zia
-- modified at 8:59 Friday 17th March, 2006
|
|
|
|
|
did you try dumpbin.exe ?
VuNic
|
|
|
|
|
Hi Zia
The very basic way to find a signature is to get the corresponding *.h file
As far as i know, you can just see the exported/imported fn's but not the signature. But there are some traces left out on that.
1) If fn's are in simple 'C' dll
Then no way to find a way on that. But of course if you are very good at assembly language, you may dissamble & you can trace upto certain extent using stack memory transactions which are basically highly associated with the size of the input arguments but not the TYPE.
In short you can know the size of the input arguments in bytes (that too not always) but you can NOT know the type.
2) If it a C++ dll. then the linker will decorate the exported functions with springs like MyFuncion@ZA@12J@owe.
even though it has some kind of interpretions its difficult to rely solely on that
3) If it's a COM dll.. lol always 4 COM functions will be there whose signature is public. other than that if anything else is exported the same rulez as above applies
In short.. I am sorry.. its really very difficult to find it out (i think so). And you cant use dumpbin (coz its just a complicated version of depenwalker)
Thanks
_______________________________________
Achievement is not a destiny but a endless journey
|
|
|
|
|
Hi,
I am trying to keep my PPP connection alive on an Windows machine. To do that, I want to send an "LCP echo-request" packet over the established PPP link.
Do you know how to enable the generation of an "LCP echo-request" packet over an PPP connection, using the RASAPI on Windows?
Regards,
Hideraldo
|
|
|
|
|
Hi, I have a small MFC app, i have two buttons, i have a dummy function too.
I have a small dll, the issue is when i press the button 2 I have memory leak (i have tried with CMemoryState and does not detect any memory leak, but i can see it in the Process Explorer).
In my simple dll code i have in the "stdafx.h" file the following line
#include <afxwin.h>,
but if i comment this line, the memory leak is gone.
I tried to comment all my dll code (except that include) and the problem still persists.
Any clues of this behavior?
(I tried in a Win32 application instead of MFC and i have the same problem)
void CPruebaThreadDlg::OnBnClickedButton1()
{
LPVOID lpParam = NULL;
AfxBeginThread(dummy, lpParam, THREAD_PRIORITY_NORMAL, 0, 0, NULL);
}
void CPruebaThreadDlg::OnBnClickedButton2()
{
int i;
HMODULE hmod = LoadLibrary("SimpleDll.dll");
while(true)
{
for(i = 0; i <= 150; i++)
OnBnClickedButton1();
Sleep(700);
}
}
UINT dummy(LPVOID)
{
return 0;
}
|
|
|
|
|
Hi,
I want to copy the complete data from an excel sheet to another excel sheet.And also serach for the specific data from the specific column and copy down the data to the excel sheet. Is there any possible way to do so?
Thanks a lot in advance.
Chetan.
Helping others satisfies you...
|
|
|
|
|
Hi,
You can convert that xls to csv and parse it to read the specified coloumn ,this would be the fast mechanism if the data to be read is huge,
or else you can use automation .
Regards,
FarPointer
|
|
|
|
|
hi,
Thanks for reply.
There is a .xls file. i tried to open it using fopen but i realized that excel file is a binary format file and could not be opened using fopen.
I have to use .xls file. i cannot use .csv file.
I have no idea about automation. could you please refer some links, which helps me.
Again thanks a lot
Chetan.
Helping others satisfies you...
|
|
|
|
|
|
Thanks, i will go through the link.
Helping others satisfies you...
|
|
|
|
|
Hello friends
I have written a code in c++ for parallel port reading .
Programm is running successfully.
A analog to digital converter is attached to parallel printer port using 25 pin.
one side this ADC is attached to a device which gives analog voltages.
Following programm read the voltages pulses and print their values.
But I am not able to run this programm in VC++
I using conio.h and _outp _inp.
I have to run this programm using MDI application only,not dialog based.
plz suggest me where should I write the code ,what modification should I made in the following programm.
How is parallel port programming work in VC++(MDI app only)
void CStartport2View::OnDraw(CDC* pDC)
{
CStartport2Doc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
CString ms,ms1;
unsigned char a; int j,i,c; float voltage;
while(1)
{
c=0;
_outp(0x378,2);
_outp(0x378,0);
_outp(0x378,2);
for(j=0;j<5000;j++);
for(j=0;j<16;j++);
{
_outp(0x378,3);
for(i=0;i<5000;i++);
_outp(0x378,2);
for(i=0;i<5000;i++);a = _inp(0x379);
a=a&0x8; a=a>>3;
a=a&0x1; c= c*2; c=c|a;
}
ms.Format("%d",c);
pDC->TextOut(50,50,ms);
getch();
voltage = (5000.*c)/4096;
ms1.Format("%f",voltage);
ms1 = ms1.Mid(0,ms1.Find('.')+3);
pDC->TextOut(50,100,ms1);
}
Any help would be appreciated
rohini sharma
|
|
|
|
|