|
Does this help?
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
The only examples I have found are for VS C++ 6.0; e.g. Circle, Button, CIRC1/2/3 etc.
Are they any articles/tutorials for VS .Net as the Wizards hav gone on .Net
Cheers,
|
|
|
|
|
Is it possible to use the DeviceIoControl() function to send commands directly to the driver for a COM port?
I am developing a time sensitive serial port application where I periodically need to change the parity of my serial data. Calls to Get_Comm_State() & Set_Comm_State() to update the parity are taking too long. I observed (using a serial port monitor) that these get and set methods do alot of unnessecary things like seting the baud rate etc.
It would be nice if I could use the DeviceIoControl function along with the IOCTL_SERIAL_SET_LINE_CONTROL command (or similar) to quickly change the parity from within my application. Am I living in a fantasy world or is this a possibility?
Many thanks
B_B
|
|
|
|
|
Hi all
I have an application window, which is created as
a child to the IE window(i'am using the Findwindow and SetParent API's
to set it as child to IE) which is working fine.
My problem is when ever the child window is minimized, it is displayed
in minimized state with in the IE window, but my requirement is to display
it on the TaskBar.
I tried to set the style of the window to WS_EX_APPWINDOW but it works
only for unowned windows.
is there any way to make it appear on the taskbar.
thanks and regards
pradish
|
|
|
|
|
Hi all
Does VC 2005 Beta version Support MFC,i have downloaded the beta version but there is no support 4 MFC ,not even header files, could anyone tell me the reason.
Thanks
|
|
|
|
|
The beta version is a beta of the Express edition. In the Express edition there is no suppport for the MFC and the ATL. Simply.
|
|
|
|
|
Hi ,
I have developed a VC++ 6 application under WINXP . But the platform where this application will run use Windows 2000. And under winodws 2000 when i ran this application it gave me this error ;
"The procedure entry point Rtllpv4StringToAddressW could not be located in
the dynamic link library ntdll.dll."
I have copied all the required dlls in win2k machine (by using Depends.exe tool, I copied my WINXP dlls) , but still getting the same error. I have also tried to copy the NTDLL.DLL of windows 2000 , but same error .
Can please anyone help ... ?
Regards,
ZINC
ZINC
|
|
|
|
|
You should not be redistributing DLLs from your Windows XP system directory. Windows 2000's Windows File Protection should actually be kicking in when you attempt to do this. Instead, you should use the Merge Modules that match your Visual Studio service pack version. Download for SP5[^], download for SP6[^]. Note that there are known issues[^] in these merge modules.
You need to be very careful about which file versions you copy to which operating systems, and how you get them there. The merge modules include (mostly) correct instructions for which files to install on which systems. If you're not using Windows Installer you may want to look for redistributable package installers which you can run from within your own installer. Getting it wrong can screw up your customer's whole system ('DLL Hell').
I would strongly recommend avoiding the Visual Basic 'Package and Deployment Wizard' (which I refer to as the 'Package and Destroy Wizard'). This tool regularly picks up DLLs from the Windows system directory rather than the Redist directory it's supposed to (default location: C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist) and also picks up many components that should not be redistributed. It can be used safely but is very hard to do so.
These days I generally use Visual Studio .NET 2003's setup projects to distribute applications, using the merge modules for distributing components I depend on, modified as instructed by the InstallSite page I linked to earlier.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi All
I am taking backup of Registry keys by using regedit command and, ShellExecute( ) is used to run this command from MFC based application, the code that I am using is as follows
<br />
<br />
ShellExecute(0,"open","RegEdit.exe","/e D:\\write1.reg HKEY_CURRENT_USER\Software\Microsoft\Windows NT",NULL,SW_SHOW);<br />
"Suppose that I have to take the backup of following key
HKEY_CURRENT_USER\Software\Microsoft\Windows NT
But this is not saved at desired path,
Caz, as I think there is a space in Windows NT .
So please suggest me that how shoul I remove this problem.
one more thing registry keys with no space in name is saved successfully.
Pls help me.
Thanks
Edit/Delete Message
|
|
|
|
|
You may use the standard registry operation functions to open and read data.
I am not sure if these are correct, I do not have MSDN installed on this machine, but I have worked a lot on dealing with windows Registry. I believe the following are the functions.
<br />
RegOpenKeyEx<br />
RegQueryValyeEx<br />
RegSetValueEx<br />
I would suggest you open the key, read value, and write it into a text file in BINARY MODE.
Hope this helps. If you need more information about how to do this, just write back a word.
Regards,
Rajesh R. Subramanian
Akruti Software,
Bombay, India.
You have an apple and me too. We exchange those and We have an apple each.
You have an idea and me too. We exchange those and We have two ideas each.
|
|
|
|
|
rajeevktripathi wrote: ShellExecute(0,"open","RegEdit.exe","/e D:\\write1.reg HKEY_CURRENT_USER\Software\Microsoft\Windows NT",NULL,SW_SHOW);
Use this instead:
ShellExecute(0, "open", "RegEdit.exe", "/e D:\\write1.reg \"HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\"", NULL, SW_SHOW);
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
<br />
ShellExecute( 0, TEXT( "open" ), "RegEdit.exe", "/e d:\\write1.reg \"HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\"", NULL, SW_SHOW);<br />
Only difference is that I've wrapped the registry key in quotes, if you dont RegEdit will try and treat the key name as part of the export filename
Gavin Taylor
w: http://www.gavspace.com
|
|
|
|
|
Hi Brain,
Your tutorial about dcom in code project website is more
useful,Iam able to understand the concept easily upto step 6 , when i tried
your sample in a stand alone machine both client and server application
works properly,But at the same time when im trying it from a remote machine
it is not working can you please help me with your reply im getting a error
like this "unable to access rpc IHelloWorld " i followed all the steps what
you have said to follow.wait for your reply
sarvendu
active member
|
|
|
|
|
Have you posted this comment to the article itself? The author may be able to help.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
yup.
i need a help.
plz send me.
sarv
active member
|
|
|
|
|
sarvendu wrote: yup.
Where is the article you posted to?
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Hi Brain,
Your tutorial about dcom in code project website is more
useful,Iam able to understand the concept easily upto step 6 , when i tried
your sample in a stand alone machine both client and server application
works properly,But at the same time when im trying it from a remote machine
it is not working can you please help me with your reply im getting a error
like this "unable to access rpc IHelloWorld " i followed all the steps what
you have said to follow.wait for your reply
active member
|
|
|
|
|
Is there a difference between using the WinInet function HttpSendRequest() asychronously and calling the function on a new thread?
I'm currently using HttpSendRequest() on a separate thread but it still seems to be blocking the winsock 'keepalives' that are sent between our client program and server programs.
AxisFirst For Business
|
|
|
|
|
|
And ?? What's the problem ?
Also, when you post code, use the code tags just above the emoticons
|
|
|
|
|
1. use <pre></pre> tags to post blocs of code.
2. use < and > when you have to display < and > in your code (in if , for , while , #include statements).
3. ask for a specific question ; "could any one help me [...] Help please" is not a question.
4. target the code that don't work and post only that code instead of 2 full big code files.
5. read the forum guidelines[^].
and at last 6. use the [Modify] link at the bottom of your post to edit it instead of repost the same thing twice...
sincerely,
TOXCCT >>> GEII power [toxcct][VisualCalc]
-- modified at 6:31 Wednesday 30th November, 2005
|
|
|
|
|
The String class in .NET, used by most of the controls returns Unicode strings.
I want to do some IO operations using the FILE* type. But fopen() accept only
char* arguments for the file name. Is there a way to solve this problem because
byte conversion can cause data loss?
Thanks a lot!
|
|
|
|
|
Use _wfopen .
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi All,
I am using access automation. Please Guide How can I Get number of tables & names in a database using access automation?
I don't want to use any database connectivity since i don't intend to do anything with data or data fields. I just want to figure out number of tables & table names in an access database.is it possible using access automation.How?
Ankush Mehta
|
|
|
|
|
Hi all,
Please Guide me if anyone knows answer to this question!!!
Regards,
Ankush Mehta
erankushmehta
View Public Profile
Find all posts by erankushmehta
Add erankushmehta to Your Buddy List
Ankush Mehta
|
|
|
|