15,300 Posted Topics

Member Avatar for headedtomexico

On my Vista computer that dll is in c:\windows directory. You might check your computer to see if its already installed. Also read [URL="http://support.microsoft.com/kb/262450"]this article.[/URL]

Member Avatar for headedtomexico
0
228
Member Avatar for mcco1

>>cs = new ChatSession(*t2); The error message is telling you that *t2 is just a single character, not a character array. Maybe you mean this? [icode]cs = new ChatSession(t2);[/icode]

Member Avatar for Ancient Dragon
0
116
Member Avatar for msteele

You could, of course, roll your own function that provides that feature of unlimited buffer length [code] #include <stdlib.h> #include <string.h> #pragma warning(disable: 4996) #define TRUE 1 #define FALSE 0 int getline(char** buf, FILE* fp) { const int BLOCKSIZE = 10; int c; int size = 0; int maxsize = …

Member Avatar for Ancient Dragon
0
178
Member Avatar for walter clark

you could probably create the Form1.cpp yourself and put implementation code there just like you would do with standard C and C++ programs. [edit]Just tested it, and yes you can do that just like normal c++ programs.[/icode]

Member Avatar for Ancient Dragon
0
100
Member Avatar for ttqtrang146
Member Avatar for abby2589

[URL="http://www.daniweb.com/forums/forum71.html"]Look here [/URL]-- should be hundreds of ideas

Member Avatar for jencas
0
80
Member Avatar for VIkhers

Instead of reading the file one character at a time, why not use getline() to read the entire line? [code] while( ls.getline( temp_isi_file, sizeof(temp_isi_file), ',') ) { // now temp_isi_file only contains one integer int n = atoi(temp_isi_file); // or if you prefer c++ stringstream str(temp_isi_file); int n; str >> …

Member Avatar for VIkhers
0
212
Member Avatar for xiikryssiix

If you are looking for code that fails, this doesn't work either. [icode]for(int x = 1.0; x != 0; x -= 0.1)[/icode] There are lots of ways to make floats fail due to rounding errors. For example [icode] x = 1; x = x / 3;[/icode] You think the result …

Member Avatar for xiikryssiix
1
112
Member Avatar for jephthah

I only contributed 10% of his rep points -- everyone else apparently thinks he is great too :) posts:solved ratio doesn't really mean much because it says nothing about who helped solve the problem. I can make a post that says nothing more than "agree", and my solved post count …

Member Avatar for ~s.o.s~
0
577
Member Avatar for monkey56657

Already gave you a couple suggestions [URL="http://www.dreamincode.net/forums/showtopic115734.htm"]here[/URL]

Member Avatar for monkey56657
0
280
Member Avatar for Antonescu Andre

In think you are talking about an installation program such as InstallShield, or possibly a compression program such as WinZip and PkZip (but they will not run a program after the files are copied),

Member Avatar for sknake
0
193
Member Avatar for Denxerator

Start out by reading the [b]Read Me[/b] threads at the top of the c++ forum. Especially the FAQ and Books threads. Then google for c++ tutorials. Best to buy and study books, but if you can't afford them then read tutorials. >>And my dream is to take over the operating …

Member Avatar for jencas
0
150
Member Avatar for gispe

>> while ((pos < tope) && (strcmp(NombreBuscado, article[pos].name)!=0)) variable [b]article[/b] is not an array. Change [icode]article[pos].name)!=0[/icode] to [icode]article.name)!=0[/icode]

Member Avatar for gispe
0
170
Member Avatar for Glasgow

That is apparently a [URL="http://filext.com/file-extension/NRG"]Nero CD-Image File[/URL] Go to task manager and see if Nero is running on your computer.

Member Avatar for kaninelupus
0
271
Member Avatar for thEhAckEr

>>kindly check if it is having an error.. Don't you have a compiler that you can check it yourself?

Member Avatar for thEhAckEr
0
92
Member Avatar for Stefano Mtangoo
Member Avatar for Stefano Mtangoo

The project is probably not linking with the library that is produced for that dll, most likely akrip32.lib, or libakrip32.a, or something like that.

Member Avatar for Stefano Mtangoo
0
228
Member Avatar for codedhands

>>queue<string>* Pages_Queue One possibility is the way you are using this pointer. The Parser class does not own the memory for this pointer, its just passed into one of the methods. Consequently the pointer could get deleted or reused somewhere else and Parser class would be none the wiser. IMO …

Member Avatar for codedhands
0
214
Member Avatar for Beastmanh
Member Avatar for kaninelupus
1
553
Member Avatar for dknoebber

move line 9 down to between lines 12 and 13. Programs are executed in sequence, so the calculation can not be performed until after the value of the variables are known.

Member Avatar for DoEds
0
196
Member Avatar for VIkhers

>>How can I, convert str, from string to char(array of char). cause, if in array, I can easy split the content of that file. What is it that you want to do with that String? Have you looked at the methods it provides to see if it already does what …

Member Avatar for VIkhers
0
137
Member Avatar for Azurea

[QUOTE=siddhant3s;921615] [*]And yes, try to squeeze your code in 80 character width as people like me ( who run your code in 80-sized terminals) often find it harassing when our text editor wraps the long lines . Use \ character for doing this. [/QUOTE] Sounds like a problem for the …

Member Avatar for siddhant3s
0
140
Member Avatar for JugglerDrummer

I really love codeproject.com, if I need a code snippet or example program for MS-Windows that is the very first place I look., and I can usually find something that I can use. codeproject has the best online repository of MS-Windows programs/functions/libraries that I know of. IMHO Digital Point sucks. …

Member Avatar for peter_budo
0
258
Member Avatar for CoolGamer48

you will probably have to tell the compiler where you put all those files. Fire up the compiler, then select menu item Tools --> Options. Exand the [b]Project and Solutions[/b] tab, then select [b]VC++ Directories[/b] Change the list box [b]Show Directories For[/b] in the right dialog box and add the …

Member Avatar for Sepiantum
0
496
Member Avatar for jcollins85

'\n' in C program is standard across platforms, and the underlying implementation code (standard C libraries) translates it to whatever the operating system uses. It can be "\r\n" on MS-Windows, "\n" on *nix, "\r" in MAC, or anything else on other operating systems. For files opened in text mode all …

Member Avatar for jcollins85
0
156
Member Avatar for kevintse

[URL="http://www.codeproject.com/KB/files/ANSI-UNICODE_conversion.aspx"]Here [/URL]is just one of may articles you can find about that topic. [URL="http://lmgtfy.com/?q=unicode+file+format"]Here are some others.[/URL]

Member Avatar for kevintse
0
313
Member Avatar for colmcy1

>>if (!"\EvolveTraffic.exe") What is the world is that supposed to do ???? >>HWND hWnd = ::FindWindow(NULL,"EvolveTraffic.exe"); FindWindow() looks at the window's title, not the name of the executable. As a test, write a short program that calls EnumWindows() and see all the values that it returns. Run the program below …

Member Avatar for colmcy1
0
2K
Member Avatar for laconstantine

>>can you explain why it wont work? It won't work because the addresses will change every time the program is run. Windows hook functions work because you pass it a pointer to the function, not the actually address value. This should work [code] void PHook(void) { cout << "Bye"; } …

Member Avatar for Ancient Dragon
0
184
Member Avatar for selsium

There must be something else wrong or you posted the wrong code because the code snippet you posted is correct.

Member Avatar for Dave Sinkula
0
106
Member Avatar for xfreebornx

Do you go to an auto repairman and say "my car is broke -- please fix it. And BTW I left my car at home." No of course you don't. You have to take your car there and tell him what you think is the problem. Same here. We can't …

Member Avatar for Ancient Dragon
0
117
Member Avatar for 9868

Note that even if s1 were not a string literal the program would not work because s1 was not allocated enough memory to contain both s1 and s2 at the same time. [code] char s1[80] = "Hello "; char* s2 = "world"; strcat(s1,s2); // ok now [/code]

Member Avatar for Ancient Dragon
0
78
Member Avatar for risa

[URL="http://www.codeguru.com/cpp/controls/propertysheet/comments.php/c545/"]read these links[/URL]

Member Avatar for Ancient Dragon
0
50
Member Avatar for risa

[QUOTE=risa;920798] its better to search there more instead wasting time in reading that stupid doc[/QUOTE] Only stupid to those who are too lazy to read and learn from their mistakes.

Member Avatar for Salem
0
490
Member Avatar for serkan sendur

I deleted that poll and thread because we don't flame/attack other members. I don't care if serkan did approve of it -- flaming by any other name is still flaming.

Member Avatar for MosaicFuneral
0
292
Member Avatar for daino

installations program normally copy not only the executable but also install DLLs and set registry entries. If your program does not need to install DLLs or set registry entries then merely copying the executable to the hard drive might be sufficient.

Member Avatar for Ancient Dragon
0
78
Member Avatar for amarucla

I know that could be done with Microsoft MFC. Probably even wxWindows. You might search [url]www.codeproject.com[/url] to see if they have anything useful. I know they have a plotting program written if MFC.

Member Avatar for Stefano Mtangoo
0
926
Member Avatar for Shaitan00

[quote]This all works perfectly fine in an administrative environment - but soon the application will be migrated to a restricted (user) account where the running application (A) does not have the rights to launch application (B) to the necessary work. The solution, have an administrative service (service installed when logged …

Member Avatar for Ancient Dragon
0
265
Member Avatar for osmano807

symbolic links are only support in NTFS file systems on W2K systems and newer. [URL="http://answers.google.com/answers/threadview?id=341355"]Read this article[/URL] (maybe you have already seen it, I don't know).

Member Avatar for osmano807
0
81
Member Avatar for Alva1
Member Avatar for veru

What exactly is the problem with it. Do you also take your car to the garage and tell them "my car is broke -- please fix it". Of course you don't -- you have to tell them what you think is the problem or the symptoms.

Member Avatar for chaines51
0
108
Member Avatar for colmcy1

In MFC there are two versions of that function, one global and the other a method of CWnd. The compiler is assuming you want the CWnd version. Just add global scope operator :: like you did with FindWindow() and it will compile correctly.

Member Avatar for tux4life
0
646
Member Avatar for selsium

No, we can't help you because we can't see your program. The warning/error messages give you the line number in your program, all you have to do is go to that line and see the problem.

Member Avatar for Ancient Dragon
0
571
Member Avatar for Dream2code

You mean like [URL="http://en.wikipedia.org/wiki/BoundsChecker"]BoundsChecker[/URL] ?

Member Avatar for Dream2code
0
126
Member Avatar for GotCake

[code] #include <iostream> #include <stdlib.h> using namespace std; int foo() { cout << " World\n"; return 1; } int main() { onexit(foo); cout << "Hello\n"; } [/code]

Member Avatar for GotCake
0
150
Member Avatar for 141550

[QUOTE=141550;920562]In a class use the new operator to crate a object of the class . Their constructor is used to allocat memory for the data member and fucntion , and distructor is use to free the memory . If we use delete inplace of distructor , will it work ???[/QUOTE] …

Member Avatar for kvprajapati
0
122
Member Avatar for Kurt Kubing

If you are on MS-Windows why not just use win32 FONT structure and call win32 api functions to populate it. [URL="http://windows-programming.suite101.com/article.cfm/win32_easy_font_handling_tutorial"]This might help you.[/URL]

Member Avatar for Dream2code
0
125
Member Avatar for sdmahapatra

[QUOTE=sdmahapatra;919724]If I don't have one source file then how to do this? Actually I need that the header files,class,member functions(for process) and main(for application) should be in separate window and I want to execute the program properly.[/QUOTE] To add another *.c, *.cpp or *.h file to the project, select the …

Member Avatar for sdmahapatra
0
134
Member Avatar for haven_u
Member Avatar for olarotimi73

That's a tall order -- please explain and show what you have done to start solving the program. For example what are the program requirements? I assume (maybe wrongly) what you want to do this as a school assignment. If that is true then what did your teacher say he/she …

Member Avatar for ithelp
0
272
Member Avatar for lancevo3

the last line should be [icode]dMaxSize = oldDeque.dMaxSize;[/icode] and you need to add [icode]dSize = oldDeque.dSize;[/icode] Is the value of oldDeque.dSize > 0 ? You can delete line 5 because that variable is not used.

Member Avatar for lancevo3
0
1K

The End.