HI , Can any one tell me how can i send data to paralle port . n how can i recive from it i think there is also a difference to send and recive on windows 98 and on NT n XP is it plz send me any sample thanx
Zeeshan Bilal
Posts
-
How to communicate with Parallel Port -
A questioni think ShellExe( .....) will help u ,,, use "Open" for this.
-
Set Timer ???HI while using SetTiemr (,,,,); wt is the maximum Elapse time , we can set. Means to say it takes it in milli seconds we can conver it to hours or manyhrs(dayz) 1000 * 60 * 60* 24 = 24 hrs or is it depends on System( Processor etc) thanx
-
bitmap zoomingHi , thanx for guiding me . But i m not getting any clue from this. I only want to zoom it ,,ur sample application is doing many things i m confused with this waitng for more prompt answer thanx
-
bitmap zoominghi, I want to zoom in and zoom out a bitmap. how can i do this any sample ,, or help. thanx
-
Will .. any body tell me zbut Zoom in and Zoom out of PictureI have posted a question alredy but no awnser. Kindly tell me how will i zoom in and zoom out a picture. in VC++ MFC any help or sample thanx
-
how to ZOOM a Bmp PictureHI, I want to build an application , that zoom my BMP or GIF Picture saved on my Disk .. I give it path and it will show that pic,,, and on clicking a zoom button it will zoom it few percent. same like as an aplication ( Picture Viewr in windows XP) .. any idea or sample to zoom a picture thanx
-
Abut timersWts is timers life time ,, means i wanaa say its maximum limit to set it.. if i set a timer for 24 hours ,, will work or SetTimer (...) have any time range for timer thanx
-
Abut timersI wanaa to start timer on clicking button Btn_Start and here i will disable button Btn_Start (GetDlgItem(BTN_START ))->EnableWindow (FALSE); SetTimer( 21, 1000 * 60 * 180, NULL); as my calculations 1000 * 60 * 180 = 3 hours or 180 mint is it ? after expiry of 180 minuts in ON_TIMER Event I will Enable Start Button GetDlgItem(BTN_START ))->EnableWindow (TRUE); KillTimer( 21 ); But it not complete its time of 180 mint ,, it enable it early ,,,, Y?? any reason thanx
-
No anwering my this question ...y?HI ,,, I m using VC++ 6 and DirectShow Compiling in Release mood + Using MFC Static Library following errors there ,,, but when i change to Shared DLL there is no such error Linking... LINK : warning LNK4049: locally defined symbol "_strrchr" imported thanx Strmbasd.lib(wxdebug.obj) : error LNK2001: unresolved external symbol __imp__sprintf Release/cam.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.
-
Linking error ?? yHI ,,, I m using VC++ 6 and DirectShow Compiling in Release mood + Using MFC Static Library following errors there ,,, but when i change to Shared DLL there is no such error Linking... LINK : warning LNK4049: locally defined symbol "_strrchr" imported thanx Strmbasd.lib(wxdebug.obj) : error LNK2001: unresolved external symbol __imp__sprintf Release/cam.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.
-
Registry Values Problm Plz hlp meI think the Problm in my Query to the key here CRegKey reg; CString str = "cam"; BOOL bRetVal; CString strTmp = "Software\\NDT\\Fovea"; bRetVal = reg.Open (HKEY_LOCAL_MACHINE ,(LPCTSTR)strTmp ) ; if (bRetVal==ERROR_SUCCESS) { CString key = "Password"; char getValue[256] ; DWORD d; bRetVal=reg.QueryValue ( getValue , (LPCTSTR)key , &d); if (bRetVal==ERROR_SUCCESS) { AfxMessageBox(" Working fine"); CString check = (CString)getValue ; AfxMessageBox( "Value is ....||"+ check); if (str.Compare (check) == 0) { AfxMessageBox( "Same"); reg.Close (); } else { AfxMessageBox( "Not same"); reg.Close (); } } else AfxMessageBox(" Query Failed"); } else { AfxMessageBox( "Cannot Open"); reg.Close (); } It is messaging Query Failed..
-
Registry Values Problm Plz hlp meI think the Problm in Query to the key here CRegKey reg; CString str = "cam"; BOOL bRetVal; CString strTmp = "Software\\NDT\\Fovea"; bRetVal = reg.Open (HKEY_LOCAL_MACHINE ,(LPCTSTR)strTmp ) ; if (bRetVal==ERROR_SUCCESS) { CString key = "Password"; char getValue[256] ; DWORD d; bRetVal=reg.QueryValue ( getValue , (LPCTSTR)key , &d); if (bRetVal==ERROR_SUCCESS) { AfxMessageBox(" Working fine"); CString check = (CString)getValue ; AfxMessageBox( "Value is ....||"+ check); if (str.Compare (check) == 0) { AfxMessageBox( "Same"); reg.Close (); } else { AfxMessageBox( "Not same"); reg.Close (); } } else AfxMessageBox(" Query Failed"); } else { AfxMessageBox( "Cannot Open"); reg.Close (); } It is messaging Query Failed..
-
Registry Values Problm Plz hlp meHI i m using CRegKey Class.... and its methods for query etc. Can u send me any code sampl ,, that can work on both win 98 and win 2000/ XP but if u see using regedit command too see registry values in windows 98 .. or 2000/ Xp. check there any registry value that is string value in win 98 its as "value" but in XP and 2000 its as value simply without qoutations"". thanx
-
Registry Values Problm Plz hlp meHI ,, I m Storing Value in Registry as String Value in Windows 2000 / XP its store string value without double qoutes"" as... value but in Window 98 it Save String Value with in qoutes... "value" then after query a value then i try to mathc it but there is missmatch in Windows 98 due to " .." . y any solution. thanx
-
Erros at MFC link Static library but not at Shared LibraryHI , i m using VC++ 6 and DirectX ( DirectShow) Now i m compling my project in Release mood and Use MFC in Static Library ,, and it gives following Erorrs at compiling.. \\\\\\\\\\\\ Erorrs//////////// LINK : warning LNK4049: locally defined symbol "_strrchr" imported Strmbasd.lib(wxdebug.obj) : error LNK2001: unresolved external symbol __imp__sprintf Release/cam.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. ///////// If i change to only to MFC shared Library its gives no Erorr at compile n works fine ......... y? any hlp thanx
-
No bady can Kill my application Process my Application using Task ManagerHow can i make my application Desktop Interactive Service. i dont know how .. plz tell me
-
No bady can Kill my application Process my Application using Task ManagerHI, I want that no one can kill/ or cannot end task my application process using Task Manager. hows its possible. thanx
-
How to handle a Slider ControlI m not Capturiong the Slider's THumb. HAve u any Sample.. plz send at zahid_ash@yahoo.com thanx
-
How to handle a Slider ControlHI , I m biulding an application like Video Media player . I saw many appliction on Codeproject ,, but no one is of mine kind help I have a slider in it ,, to move the video postion same as in Windows Media Player. I m Using MCI Api's .... Slider Control only Gives three Message Handlers 1. CustomDraw (..........) 2, OutofMemory(..............) 3. ReleasedCapture(...) Which one i Should use.. Or some thing else way Means i want to click on slider thumb and move it ,, too n froo. or click on on any where on slider and thumb goes there. thanx