Home » Directory

Microsoft Visual C & C++

Terminal & registersSat, 30 Dec 1899 00:00:00 GMT

Hello everybody !I would like know if my application has a permission to access to registers if it is runnig in terminal services environment.Thanks Alusa !...

Comments (2) | Promote | Bookmark

controls similar to CFileDialogSat, 30 Dec 1899 00:00:00 GMT

I need to populate a tab in CTabCtrl with the content of a custumized CFileDialog.It seems impossible to do, so I wonder if there exist the classes relative to the controls inside CFileDialog. For example the listbox that implements the filebrowser, or the combobox for file type, etc.Do you know if...

Comments (2) | Promote | Bookmark

Problem with EditControlSat, 30 Dec 1899 00:00:00 GMT

HI,I am working with an application(EXE1) which gives input to an edit control of another application (EXE2) of 3rd party whose source code is not available. This EXE2 is dialog based.I am able to input in this edit control throu' [::SendMessage(hWnd,WM_CHAR,...)]. But I need to press enter aft...

Comments (2) | Promote | Bookmark

unresolved externalsSat, 30 Dec 1899 00:00:00 GMT

When I try to link I get error messages that say:afxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadexnafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadexlibcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _mainCan someone tel...

Comments (2) | Promote | Bookmark

How to connect two views to one documentSat, 30 Dec 1899 00:00:00 GMT

I have two views in different pans of a splitter window. One of the view is automatically attached to the document when I define the CDocTemplate but how and where should I add the 2nd view to the document?I want to be able to call GetDocument() from both views and they both return the same document...

Comments (2) | Promote | Bookmark

Exception handling - OnInitDialogSat, 30 Dec 1899 00:00:00 GMT

What is the proper way to handle exceptions when they occur in OnInitDialog()? If I catch an exception in the OnInitDialog() function and call EndDialog() then no problem. But if I re-throw the exception to an outer try-catch block (see below), the outer block will catch the re-thrown exception...

Comments (1) | Promote | Bookmark

Deprecated functions & ANSI CSat, 30 Dec 1899 00:00:00 GMT

I am converting an older (VC++ 6.0) dll to the VS2005 environment and am receiving warnings about deprecated functions. 1. Are the suggested functions (strcat_s for example) ANSI C Compliant? 2. When will the functions (strcat for example) no longer be supported? Thanks. ...

Comments (1) | Promote | Bookmark

mac addressSat, 30 Dec 1899 00:00:00 GMT

hi allhow i can read the mac address of a ethernet card?thanks...

Comments (1) | Promote | Bookmark

serializationSat, 30 Dec 1899 00:00:00 GMT

Hello,I am having some major serialization problems. I have a hierarchy of classes that need to be written to an output file in text form. So, when the overriden Serialize function in the doc class gets called, I wantto do something like thisvoid CTestDoc::Serialize(CArchive& ar){ // call the s...

Comments (1) | Promote | Bookmark

EncryptionSat, 30 Dec 1899 00:00:00 GMT

Hi All Can we make encryption or decription keys that window provides (CryptDecrypt() ,CryptEncrypt()) to compatible to all OS. How i make a key that encrypt or decrypt data with same key?thanks...

Comments (1) | Promote | Bookmark

Converting RTF to HTMLSat, 30 Dec 1899 00:00:00 GMT

I want to convert a help window file (hlp or rtf format) to a HTML file.Do anybody know how to do this ?...

Comments (1) | Promote | Bookmark

HelpActiveX control on Dialog Locks upSat, 30 Dec 1899 00:00:00 GMT

Have built an ActiveX control which displays a property sheet with 3 pages on it. IF the ActiveX control is dropped on to a FormView, It works fine. When I drop on a dialog and perform DoModal, the control displays properly, but when I do Alt+ tab to switch to another application, my container appli...

Comments (1) | Promote | Bookmark

directshow, Timeline, VMR9, DESSat, 30 Dec 1899 00:00:00 GMT

Hello,I don't know if VMR9 and DES are compatible, and since I haven'tdiscovered that they aren't , I tried. What you find below is code that I tried. I know it is wrong because I start getting assert failures elsewhere in my program when I insert this vmr9 code. The thing is I can�...

Comments (1) | Promote | Bookmark

LogonUser always returns zeroSat, 30 Dec 1899 00:00:00 GMT

Hi all!I'm a beginner to Windows programming.I require a user to submit his username, paasword and Domain name to log him on NT system.I use LogonUser function. But the return value is always 0.I checked for the error code if any, it resulted in error code 1314,which says that process is not pr...

Comments (1) | Promote | Bookmark

Filtering Databases(PLEASE HELP!)Sat, 30 Dec 1899 00:00:00 GMT

I need to know how to filter a database on iformation gathered from the user. I have created a database application with appwizard using odbc(Access Database). I need to filter it so that I can update the stock of one of my records....

Comments (0) | Promote | Bookmark

Animation TimerSat, 30 Dec 1899 00:00:00 GMT

Hello! I'm looking to implement a multimedia timer for accuracy within animation. I have a RenderScene() function i wish to call after a certain time period has elapsed. do any of you know how to create a multimedia timer which will do this? there's lots of documentation out there and it&#...

Comments (0) | Promote | Bookmark

URGENT!Passing Japanese characters to a window as if done through keyboard eventSat, 30 Dec 1899 00:00:00 GMT

I am facing a problem in sending japanese characters to another application.To send english characters to an application I am getting the character and finding the virtual key code and scan key code for that character. I have tried usign keybd_event and SendInput to pass to the application. That is...

Comments (0) | Promote | Bookmark

Coding a Mail eXchange lookupSat, 30 Dec 1899 00:00:00 GMT

Does anyone know how to code a Mail eXchangelookup in VC++?I'm coding an e-mail program which sends the maildirectly to the receipient's server and not thrumy SMTP-server.Therefore I need to lookup the receipient'smailserver.All tips/trix/dox are appreciated...~J...

Comments (0) | Promote | Bookmark

MFC objects with an IDispatchSat, 30 Dec 1899 00:00:00 GMT

OK,Here is the problem:I'm using MSAA(Microsoft Accessibilty) functions to retrieve a list of IDispatch interfaces for all of the MFC controls on a client window.Given an arbitrary IDispatch from this list is there any way to determine the type of MFC control that is associated with? If the MF...

Comments (0) | Promote | Bookmark

HOWTO: Automate Internet Explorer to handle Log-On Dialog box?Sat, 30 Dec 1899 00:00:00 GMT

Hello All!Using Internet Explorer DOM (Document Object Model) one can automate almost all functions of Microsoft Internet Browser: navigate URL, automatically fill-in data in forms, submit forms, etc.The question is: How to automatically submit Log-On Dialog, created by WebBrowser on 401 (Unauthoriz...

Comments (0) | Promote | Bookmark