|
hi i would like to update an resource inside a dll pragmatically. It has to be done for win9x .
any suggestion would be appreciated
tia
|
|
|
|
|
Hello all,
I need to write a security program for Win9X. Can I use CBT Hooks to gain control over most everything? I know about policies and they are not sufficient for what I need. I want to disable kb and mouse input and control what applications can be run. Links to some example cbt hooks would also be greatly appreciated.
--Tale
|
|
|
|
|
Good Evening,
I have a contact manager project to start in Feb/Mar and am considering the look of MS Money 2001. It seems a lot different from a Doc/View architecture. Can anyone give advice on how MS Money 2001's gui was designed? The only thing that looks "Visual C++ wizard" generated is the menu at the top. I have only used the Visual C++ MFC.exe wizards and modified things from there as necessary, but very limited. I figure I've got a few weeks to learn the desired gui structure before the project begins.
Thanks!
Scott!
Still learning, but getting better!
|
|
|
|
|
Hi Everybody:
I wanted to open an image(prefferably in TIFF form, but not necessarily) in a window, and draw some lines on the image?(Using VC++ MFC Application)
I 'd really appriciate any help.
thank-you.
Sadegh.
|
|
|
|
|
You basically want to download paintlib ( www.paintlib.de ) to read the tiff, then select the image into a DC and use MoveTo and LineTo to draw your lines.
Christian
The content of this post is not necessarily the opinion of my yadda yadda yadda.
To understand recursion, we must first understand recursion.
|
|
|
|
|
how to access to button "zoom on" on a view?(vc++6).
|
|
|
|
|
Hi all,
Im trying to incorperate a chat sort of thing into my program. It has a list control on the side listing the people who are connected to the room, a edit box where people enter their text and a list box which displays the text that people enter.
Okay, now I want to be able to do all that stuff, cept I got no idea how.
If you think you can help, or have a sample application that does that, please respond to this message or email me at pajen007@bigfoot.com
Thanks
Id appreciate it alot!
Ashman
|
|
|
|
|
Your query,
Creates many questions,
There are many different means of creating a chat app,
1. IRC
2. Web Based
3. Messaging,
4. Peer to Peer !
All of them have benefits and problems,
I found Friendly Talk useful resource.
Many people don't like it as it contains proprietry information to tenebril !
But Hey I got it working in less than an hour !
Regardz
Colin Davies
|
|
|
|
|
If anyone knows where I can get info, code or DLL for reading Kodak KDC and PCD format files, I would dearly like to know about it.
Thanking you in advance.
Happy programming!!
|
|
|
|
|
Hi Wolfram!
A friend had a book once, I think titled "Advanced Multimedia Programming". I guess it has some demo apps w/source for that thing.
Unfortunately I don't recall the website of the author today!
But let me search in my old papers maybe I come up with something!
Cheers
"Silence is golden, but my eyes still see."
-- Masoud Samimi
Website: www.geocities.com/samimi73
|
|
|
|
|
|
try http://www.wotsit.org/
|
|
|
|
|
Hi,
Have any of you ever succesfully used the build-in profiler in VC6?
I have tried on several machines without luck.
After my App have finished, VC tell's me that it can't find a file in the outputdir called "test.pbo" (if my project is called test)...
Any ideas?
TIA,
- Anders
|
|
|
|
|
Heres a hard coded sample of assigning "Hello" to this variant bstr value. How would I assign a char* or char[] to bstr?
char *cTemp="Hello";
char cTemp2[32]="Hello";
VARIANT v;
v.vt = VT_BSTR;
v.bstrVal = SysAllocString(OLESTR("Hello"));//work ok
// how would I assign these?
v.bstrVal = cTemp;
v.bstrVal = cTemp2;
|
|
|
|
|
There might be smarter/better ways to do it, but the following code works
char *t = "just testing";
CComBSTR bs;
bs.Append(t);
VARIANT v;
v.vt = VT_BSTR;
v.bstrVal = bs;
- Anders
|
|
|
|
|
You don't assign a char* to a BSTR, because a BSTR is not a C string. If you want to create a BSTR from a char array, use an ANSI<->Unicode conversion function, for example T2OLE:
#include <atlconv.h><br />
<br />
V.bstrVal = SysAllocString ( T2COLE(cTemp) );
--Mike--
http://home.inreach.com/mdunn/
"That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas."
--Buffy
|
|
|
|
|
Thanks I found the follwoing seems to work...
var.bstrVal = (_bstr_t)cTemp;
|
|
|
|
|
No, that code is incorrect. It will not work reliably. You're putting into var.bstrVal the contents of a temporary variable, which gets destructed once that assignment statement completes.
--Mike--
http://home.inreach.com/mdunn/
"That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas."
--Buffy
|
|
|
|
|
how can detect the current lpt port address
because the lpt has three different addresses and can be changed from the setup of pc.
thanks
|
|
|
|
|
I am trying to update a .dbf database. I opened the database and the
CRecordset derived object with settings so the database could be
updated. CanUpdate() returns true. Yet when I try to call Update(),
I get a message that says the database is read only! How can this
happen, and how do I fix it?
Robert
|
|
|
|
|
Hi!
I'm trying to write a DLL, which contains calls to COM methods.
Most calls works OK, and everything seemed fine in the beginning,
but now I've encountered that a COM method call genererates an
access error (STATUS_ACCESS_ERROR).
What I'm actually trying to do, is to use the Microsoft Platform
SDK with Borland C++, which is seemingly hopeless. Therefore, I'm
wrapping my methods up in a DLL written in Visual C++ with the
wanted PSDK calls (actually the WIA SDK for Windows ME), and then
using this DLL in the Borland program I'm creating.
I haven't really encountered any access errors writing DLLs before,
so I thought everything was going to be fine. But I suspect that
some sort of initialization should be done in the DllMain-function
related to memory handling?
By the way, if I try the same COM-call in a "real" application,
everything works fine, only the call in a DLL makes the access
error.
I would be extremely grateful for any help or suggestions when
it comes to what could be wrong. I could include code samples,
but don't think they are needed. Some general guidelines to DLLs
could be enough to get me on track!
Regards,
Lars Ove Claesson
|
|
|
|
|
Hello
I need help on creating ActiveX Composite Control (MSCOMCTL.OCX) with visual interface like modelless dialogbox with listview control
with VC++6 MFC ActiveX Control.
I need samples and code, but not VB!Thanks...
Best regards
|
|
|
|
|
Has anybody got any c++ code which will get the name of the CDROM drives on your pc? I have two CD Rom Drives which are SAMSUNG and LG. I want the code to get these names from the system - any hints or tips would be appreciated - many thanks in anticpation.
|
|
|
|
|
Anyone looked at Microsoft Money and said, "I know exactly how they did this. "?
I have a contact manager project ahead of me, Feb/Mar... and was thinking of the look/functionality of MS Money. There are a lot of things that seem different from the normal Doc/View architecture. Any thoughts?
Thanks!
Scott!
PS. Please don't flame if this is a stupid question, I am new to non wizard generated gui plumbing, but am willing to read and practice to gain necessary knowledge.
|
|
|
|
|
Sorry, forgot to mention what version.
Scott!
|
|
|
|