|
Thats what I don't understand, VC++ .NET does it by default, and it still isn't working.
Just to be sure, I included the lib (project->properties->linker->advanced->import library: comctl32.lib) and the header (#include commctrl.h).
The manifest is already in the source tree as MFC projects create one by default.
I have tried including the manifest as a file with the app, and embedding it, and i still get windows classic controls.
Any more ideas? :s
|
|
|
|
|
hi, this is the first post for me in here,, i am working with VC++ with some of Dev-C++... under VC++ there is a header called conio.h, there is a function called _out ,,, it is to output a byte to a port,,, i can find that function in conio.h's Dev-C++
|
|
|
|
|
Your grammar is a bit obfuscated, but I guess that you're having problems writing to an IO port.
In Win32 you will have to use CreateFile() and WriteFile() when accessing the COM ports. Look up the functions in the help files, there is a description on how to open a port.
"After all it's just text at the end of the day. - Colin Davies
"For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
|
|
|
|
|
I don't see a question here. What are you wanting help with? Please be specific so we don't wander aimlessly through the forest looking for each other!
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Hello everbody,
i have a very very idiocratical problem! currently i try to change my application so it then supports the SecurityCenter located in XP Service Pack 2. The communication to the SecurityCenter works without any problems, but only in the debug version. I need to use the funcion CreateFile to enumerate some stuff. And as mentioned this works only in the debug version. In the release version the CreateFile function namly works but the communication to the SecurityCenter is missing. If i ignore (cancel out) the CreateFile function the SecurityCenter recognizes my application again, even in the release version!
Has anyone an idea of what i'm doing wrong ?
Thanks in advance!
|
|
|
|
|
in .cpp file
myCrypto.Decrypt(pBuffer, &dwBytes,myEOF(hFile1, dwFileSize))
.h file
Decrypt(LPBYTE pData, LPDWORD dwDataSize, int bFinal)
where is the error?
thank u all
|
|
|
|
|
The error seems to be that your method, ::Decrypt(), has not been defined.
It is declared in the header file as you have stated, but somehow the compiler cannot find the corresponding implementation of this function.
I Dream of Absolute Zero
|
|
|
|
|
Hi,
The module is to send data in 1 text box and receive that data in another text box using 2 buttons.
But when a check box is checked, a single line data should be received in the second text box. How is it possible?
Pls anyone help imm.
mithila
|
|
|
|
|
Hi,
How can i develop a application which can execute once and the executive file would be removed from device. Like: After program show a message, this executive file is removed. I got a straight way that after the application executes, deleting this application file. But how? Running program couldn't delete itself. Any suggestion is welcome. Thanks!
Regards, ginee
|
|
|
|
|
Hi,
One solution is to create a .bat file with deleting instructions. You will call the bat file at the end (before return ). That work's generally.
I hope this helps...
Well... I am a beginner ...
|
|
|
|
|
While that program is running (before return or some other interrupt, this program doesn't be terminated), i think the executive file is locked. And it can be deleted or moved. However, i will try this way. Thanks you!
|
|
|
|
|
I think the reason why the .bat file method works is because you put it just before return and the program you want to delete exits faster than the bat file opens...
|
|
|
|
|
|
|
I Write a player to play *.wmv files using the Windows media player ActiveX Control .It use about 20MB Memory when playing a wmv File,But the Windows Media player provided by the system only use 8MB.I wonder how can I decrease the memory useage of my player,how can the Windows Media player provided by the system managed to do it ?
|
|
|
|
|
|
|
Hi
Could anyone please tell me how to hook a printer.
I want to collect all the data regarding the printer, pages printed, who printed it etc.
I believe, this is possible if we can hook the printer. Intercept any communication to the printer.
Thanks in advance
The Best Relligion is Science.
Once you understand it, you will know God.
|
|
|
|
|
Does anyone know how to declare an iterator to, say, a struct variable? Here's an eg of a struct I declared outside a function:
struct vStruct {
CString szString;
int nInt;
double dDouble;
} v;
Then, inside the function I have:
std::vector<vstruct> vStruct;
And the problem is when I do this:
std::vector<vstruct>::iterator iStruct;
Thx,
Ralf.
ralf.riedel@usm.edu
|
|
|
|
|
RalfPeter wrote:
And the problem is when I do this
What's the problem? What does the compiler say?
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Well, I caught the problem. The data type and the name are the same. That's thouwing off the CP. Thx,
Ralf.
|
|
|
|
|
I think some of your < and > symbols have been stripped out by CP.
But what you need to do to declare the iterator is:
<br />
std::vector<vStruct>::iterator iStruct;<br />
Mike
|
|
|
|
|
Hi
I’m going to develop an application for university and I would really appreciate some advice. I’m creating a file managing system, like tar, that creates a ‘file’ which manages a collection of files. You can add files to the ‘file’, create directories (a directory would be a file with pointers to inodes), delete them, etc. It’s like creating a small file system. I have to develop it in Linux, in C++, it’ll be an Object Oriented Program. I was thinking of dividing the ‘file’ in three parts, the main or first section, the ‘inodes’ section and the files section. The inodes are small pieces of data that contains information of the files inside the ‘file’, its name, where it starts and the size in bytes among other things. I was thinking that all of them could have the same size, but that’s not good, as space will be wasted for file names. Then, for indexing the files inside the big ‘file’, I was thinking in giving them numbers, and searching sequentially, but I need something more efficient. I heard that the best solution to that are trees. Which is the easier solution to implement, one which is also fast? Any other ideas of how could I index files inside the big ‘files’? Any links or recommended books on the subject? I’m quite new in this area of programming and I didn’t find anything useful on the net.
Thank you very much for your time!
|
|
|
|
|
Hi all,
How can I get the information (Directories, Files, Drive used Memory Spaces and Unused Memory Spaces) from the other devices which is connected to the USB Ports(Thumb Drive, Flash Card) and even Harddisc, cddrive and Floppy Drive and so on.
Waiting for Result..........
Cheers
S.Darwin Paul Raj
DARWIN PAUL RAJ
|
|
|
|
|
Hello
I made a class for TCP-kommunicating using SOCKETS.
Only MFC, programmed with MS VS .NET C++
This class is to be used from 2 tolls, one client and one Server.
Everything works.
But when I build a tool containing Client and Server a very strange mistake happens.
The Server socket calls accept to wait for the client and stand still.
The client socket calls connect to get the Server and stand still.
Normally the Server goes on with the result of accept and then the client gies on with teh result fromn connect.
In ths speziel tool the server keeps on standing still and ist gets NO result of accept. But the Client gets immedialte the succes result.
But there is no server listeing to it.
Poor client. Nobody likes it.
It is exact the same procedure with all my three tools. And when I use the ClientServer tool with one of the other everything is ok.
Does anybody know how this can happen?
Im just very frustrated.
Thanks for any answer.
Gerhard from Germany
|
|
|
|