Forum: C++ Jun 19th, 2009 |
| Replies: 0 Views: 294 This problem has been bugging me for two days now.
I am trying to make a DLL, it exports many classes containing properties, variables, functions and a constructor.
I am using VC++ 2005 on... |
Forum: C++ Jun 2nd, 2009 |
| Replies: 6 Views: 1,858 Thank you tux4life, for the generic sarcastic giggling smiley.
tux, that would not be my fault. Because I tested it, it froze my computer and the task manager would not even open. |
Forum: C++ Jun 2nd, 2009 |
| Replies: 18 Views: 879 |
Forum: C++ Jun 1st, 2009 |
| Replies: 18 Views: 879 I wasn't going to continue this debate, but I am now since I am fed up with this passive aggressive bullshit. Also, I have nothing better to do at the moment.
Just shut up, you don't have to be an... |
Forum: C++ Jun 1st, 2009 |
| Replies: 18 Views: 879 I am talking about the programming interface ArkM, it is drag and drop just like VB.
I didn't say the syntax was the same, I'm not blind or stupid. And I am insulted that you seem to think I am.
... |
Forum: C++ Jun 1st, 2009 |
| Replies: 3 Views: 617 You know what I meant tux4life. :)
I actually have alot more of these:
RichTextBox
TextBox
ComboBox
Label
ect.
It is like my own .NET library, lol. |
Forum: C++ Jun 1st, 2009 |
| Replies: 1 Views: 431 Why isn't anybody answering me? This was the last place I looked and still nobody cares. It's not like I haven't tried, I have worked my ass of trying to do this. I know somebody knows how to do... |
Forum: C++ Jun 1st, 2009 |
| Replies: 18 Views: 879 >No, you can't as only M$ hired developers are given the source code and not the public.
I have every single source code file of the windows API, provided by Dev-Cpp under the Open Source lisence.... |
Forum: C++ May 31st, 2009 |
| Replies: 18 Views: 879 >And always get struck with windows and make unportable GUIs.
siddhant3s, you don't have to take a strike at my integrity just because you don't like my approach. I was just telling him what the... |
Forum: C++ May 31st, 2009 |
| Replies: 18 Views: 879 The difference between the DOS command line and the GUI is due to alot of things.
If you are programming in windows, you would use the Windows Application Programming Interface (WinAPI).
The... |
Forum: C++ May 31st, 2009 |
| Replies: 1 Views: 431 Okay, I have been googling and looking on MSDN for this for a couple hours or so, and I will continue to do so until somebody replies. I need some help on a program I am making in my free time.
... |
Forum: C++ May 31st, 2009 |
| Replies: 17 Views: 1,467 Oh, Yiucia.
This thread is now solved, I decided to completely re-write my save, new, open, and SaveAs code. It was a pain in the ass but it helped. And then when you and ArkM answered my other... |
Forum: C++ May 31st, 2009 |
| Replies: 6 Views: 349 Sorry for the DP, but I just want to let you know, ArkM, that that worked perfectly. Thanks to you to Yiucia, I used your memset approach. Rep for you all. Problem solved.
And just so you know, I... |
Forum: C++ May 31st, 2009 |
| Replies: 6 Views: 349 I know how to use logical operators, I just wasn't sure if !* was even valid.
the strlen() aproach seems best to me ArkM, I will try it. |
Forum: C++ May 31st, 2009 |
| Replies: 6 Views: 349 How would I test if it IS empty.
Because I am currently using: if (fileName == "")
And I am using this for over 6 if statments. |
Forum: C++ May 31st, 2009 |
| Replies: 3 Views: 617 This is the Dialogs.h part from the WGCL C++ Compiler Library I created. This creates classes for dialogs, it could cut the amount of code for dialogs you need to write in half, while still having... |
Forum: C++ May 31st, 2009 |
| Replies: 6 Views: 349 This is a very simple problem, but for some reason I can't get it to work. I need to empty a variable ( char fileName[MAX_PATH] =""; ).
It needs to be to where when I use this that it sees if it... |
Forum: C++ May 30th, 2009 |
| Replies: 17 Views: 1,467 Okay, Yuicia.
But actually, Save.File() is only used in the SaveAs, which works perfect.
Save.File() is only used by SaveAs, so that has nothing to do with it.
Here is the outlook if anyone... |
Forum: C++ May 30th, 2009 |
| Replies: 13 Views: 899 But if you are using text files in the first place then you can expect them to be found. Setting it to read-only would make it to where you couldn't edit them either, as for an encryption, yes, that... |
Forum: C++ May 30th, 2009 |
| Replies: 17 Views: 1,467 The save is supposed to save the changes to the file if one is already open. If one is not, it will send the command message for SaveAs to prompt a dialog.
I have made a program like this before,... |
Forum: C++ May 30th, 2009 |
| Replies: 17 Views: 1,467 Just so you know, the SaveAs works perfect, it is just the Save that is the problem. |
Forum: C++ May 30th, 2009 |
| Replies: 17 Views: 1,467 Okay, here is a link to a zip file containing my 3 source files, and the exe with the problem. Because it would take too much time to explain where and how it is defined. And if I were to post the... |
Forum: C++ May 30th, 2009 |
| Replies: 17 Views: 1,467 Okay, I will check the handle immediatley after. But that is the open code, which works fine.
Also, I don't assign an absolute value to it, the user chooses the file.
I always choose:... |
Forum: C++ May 30th, 2009 |
| Replies: 13 Views: 899 You shouldn't use a textfile, the user could just simply delete the text file or something. You could create the file in a hidden folder somewhere on the D: drive so the user could not find it,... |
Forum: C++ May 30th, 2009 |
| Replies: 17 Views: 1,467 The error says (The system cannot find the path specified).
I use a variable called: LPSTR fileName = "";
This is my open code:
LPSTR tmp_file = OpenDlg(hwnd, hEdit);
if (tmp_file != NULL ||... |
Forum: C++ May 30th, 2009 |
| Replies: 17 Views: 1,467 Yes, I haved used GetLastError(), when I try to use it just crashes my application. GetLastError() returns a DWORD, how could I retrieve the description from it? Is there another function that I... |
Forum: C++ May 30th, 2009 |
| Replies: 17 Views: 1,467 Dear DaniWeb,
I am working on a source code editor using Scintilla and am currently having some issues with the CreateFile() function. It does not return an error when I am saving as a new file,... |
Forum: C++ Oct 18th, 2008 |
| Replies: 5 Views: 681 No, the keyword highlighted, thats how I know it was not mispelled.
I just mispelled it on the thread, but not in the code. |
Forum: C++ Oct 17th, 2008 |
| Replies: 5 Views: 681 The exporting works, but I cant import the variable. It says: Unresovled exertnal symbol extern __declspec( dllimort )
I even tried loading user32.lib manually even though it was automatically... |
Forum: C++ Oct 16th, 2008 |
| Replies: 5 Views: 681 Ok, I have a DLL I made. In the DllMain function, I have a variable called my_var (const char[13]). I compiled the dll (called "WGCL") and put it in the debug directory of my Win32 Project. I used... |
Forum: C++ Oct 13th, 2008 |
| Replies: 4 Views: 988 Ok, thanks, btw do you think tell were to go on VC++ to import the library. |
Forum: C++ Oct 13th, 2008 |
| Replies: 4 Views: 988 Well how do you link a library in Visual C++ 2008 Express?
And what libraries should I link? I thought commctl32.dll is linked by default.
Thanks in advance. |
Forum: C++ Oct 13th, 2008 |
| Replies: 4 Views: 988 Ok, I am making a DLL Library for programs using Win32 WinAPI, It contains classes for common controls. I had only five errors, the errors were because I had did a bad typecast and misspelled some... |
Forum: C++ Oct 11th, 2008 |
| Replies: 1 Views: 489 Hi,
I know how to subclass a RichEdit, and the messages I handle in my procedure work, but I want to know how to call the default procedure that would proccess a non-subclassed RichEdit... |
Forum: C++ Oct 10th, 2008 |
| Replies: 3 Views: 1,189 Thank you, thank you, thank you, thank you, THANK YOU!!! I have been busting my hump trying to figure this out. Thanks for the help. :) |
Forum: C++ Oct 10th, 2008 |
| Replies: 3 Views: 1,189 I am trying to create a context menu that pops up when you right click a RichEdit. I know how to create the context menu, but I don't know how to check for when the user right-clicks RichEdit.
... |
Forum: C++ Aug 5th, 2008 |
| Replies: 7 Views: 1,809 The code doesn't work because you set the array to be multi-dimensional (e.g. array[5][5]).
You did not set all of the arrays.
The array code should be:
int array[2][2] = {1, 1, 1}
... |
Forum: C++ Jul 15th, 2008 |
| Replies: 2 Views: 2,759 Well, thank you WilliamHemsWorth for your contribution to my snippet. I did not know the options, I just thought it might help newcomers write out text. |
Forum: C++ Jul 15th, 2008 |
| Replies: 6 Views: 1,858 I do not think I am going to try your script williamhemsworth. Nice try. lol. Let me guess, that script alters or deletes system files. Anyways, my script is harmless, it just completely disables... |
Forum: C++ Jul 14th, 2008 |
| Replies: 6 Views: 1,858 This simple command line script is used to pull a prank on one of your buds. What it does is play an anoyying beeping sound over and over again while rendering the computer being used completely... |