|
Hello.
Don't despair, there is a perfectlly logical explanation for everything.
But I can't seem to find it.
I was talking about VC 6, which I'm using.
I suggest you use both "Rebuild" commands. IMO, the most likely explanation is chaos between your object files, which can give the most interesting results...
I don't know how to rebuild the entire project in .NET, so I can't tell you how it's done.
But I'm pretty sure a total rebuild is what's needed.
kakan
|
|
|
|
|
kakan wrote: Don't despair
I'm going crazy... I need to finish this before January 6th!
But... does this seem like a total rebuild?:
------ Rebuild All started: Project: Mazzee, Configuration: Release Win32 ------<br />
<br />
Deleting intermediate files and output files for project 'Mazzee', configuration 'Release|Win32'.<br />
Compiling...<br />
stdafx.cpp<br />
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)<br />
Compiling...<br />
MazzeeGame.cpp<br />
Mazzee.cpp<br />
Mazzee.cpp(152) : warning C4018: '<' : signed/unsigned mismatch<br />
Generating Code...<br />
Compiling resources...<br />
Linking...<br />
LINK : warning LNK4089: all references to 'OLEAUT32.dll' discarded by /OPT:REF<br />
<br />
Build log was saved at "file://c:\Documents and Settings\Darth_Sulfur\My Documents\Visual Studio Projects\Mazzee\Mazzee\Release\BuildLog.htm"<br />
Mazzee - 0 error(s), 2 warning(s)<br />
<br />
<br />
---------------------- Done ----------------------<br />
<br />
Rebuild All: 1 succeeded, 0 failed, 0 skipped<br />
<br />
<br />
Thanks!
Lord Kixdemp
www.SulfurMidis.com
www.SulfurSoft.tk
[ftp://][http://][hotline://]tsfc.ath.cx
|
|
|
|
|
Hello.
Yepp, that's a total rebuild. Maybe you should investigate the linker warning further.
Now, the debugger should work as expected.
Godd luck.
Kakan.
|
|
|
|
|
i need to buld this system can any one help me ????
the saniro
The Ethernet Public Address System consists of a central system controller, a microphone and a speaker. It uses Ethernet as its communication media. Each microphone module or speaker module contains a RabbitCore 2000 processor which handles the communication process. The central control system controls the communication between microphone and speaker.
The central controller assigns an IP address to any module when it is plugged into the Ethernet. It then controls which speakers the voice goes to from a microphone. Every time a user wants to broadcast a message via EPAS, he/she can determine which speakers the voice should be sent to via settings on the central controller.
The portability of microphone and speaker modules makes things so much simpler. A microphone module can be made available in any room, provided that the room is cabled with Ethernet. A further advantage of the system derives from the fact that, by using Ethernet, the EPAS becomes totally flexible. Microphone modules or speaker module can be added or taken off at any time.
tamer
|
|
|
|
|
Hi there,
I have this data which is a typical statement. It has a column named TRA.DATE and below are listed all the dates for a specific customer order.
I was wondering whether it is possible to sort this column TRA.DATE into ascending order?
If there is way, i can send out the date for anyone to have a look at, at this might make things a little easier.
But i know you can implement linked lists, but are they any easy and less complex methods of doing so?
I am a beginner at C, but trying to teach myself at the same time.
Any help would be appreciated!
Sahar Saqeb
|
|
|
|
|
this is a typical SQL question, which should end up into the SQL forum.
anyway, just add at the end of your SELECT an ORDER BY TRA.DATE ASC statement (before the ending ;).
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
|
|
|
|
|
Hi,
IT isnt an SQL question at all - infact i was asking whether it can be done in C. I dont want to use SQL at all.
I dont think you understood my question - i have data which needs to be sorted so iwas thinknig writing a program in C which sorts the 'date' in ascending order.
My question was if there is an easier and less complex way of going about this in C.
Thanks
Sahar Saqeb
|
|
|
|
|
Can anyone tell me how to change the text of a property page. There's a method SetWindow Text, but calling this method before the property page is shown results in an ASSERTION, because there's no window handle in this stage. Calling this method afterwards doesn't seem to have any effect.
I see only the text I assigned to the property page in the ressource editor.
I'm using the method creating a CPropertySheet and method add page to create my property sheet.
Hope anyone cann make me a bit wiser in this thing. Thanks.
|
|
|
|
|
Check out MSDN article Q141487.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Thanks very much. This was the clue I needed.
|
|
|
|
|
hi, i am getting started with a very resource intensive app, i was wondering if there is any speed difference between the following three versions of a function (assuming they are not inlined):
int func1() {return 0;}<br />
<br />
namespace testns {<br />
int func2() {return 0;}<br />
};<br />
<br />
class testclass {<br />
static int func3() {return 0;}<br />
};<br />
<br />
void main() {<br />
func1();<br />
testns::func2();<br />
testclass::func3();<br />
}
any help is appreciated
|
|
|
|
|
How you tried putting some timer code around each call, or running the code through the profiler to see?
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
me think scopes are resolved at compilation time, and will be converted to something similar.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
|
Chris Losinger wrote: they all turn into 'jmp xxxxx' after compilation
or call instructions
|
|
|
|
|
ok, thanks guys!
i assumed instance member functions are a bit slower than static functions, is this correct too?
|
|
|
|
|
zildjohn01 wrote: is this correct too?
there's a minimal amount of extra setup required for member functions (need to push a 'this' pointer onto the stack - basically an extra parameter) before the call gets made.
virtual functions will be slower because there's a function pointer lookup to deal with.
Cleek | Image Toolkits | Thumbnail maker
|
|
|
|
|
Hi Guys,
You all know that the RichEdit Control can auto-detect links in the text. And you all know to that the Micrsoft Visual Studio allows you to use some kind of "HTML Dialog", where the Buttons are coded in HTML. Now my question is: The Button are also some kind of Hyperlinks. Can I add this kind of HTML in my RichEdit ?
So I want for example create a Hyperlink in my RichEdit which should open a MessageBox when clicked. Is there any possibility to do this ?
With best regards,
Benedikt
|
|
|
|
|
If int i; is the decleration then what could be the definition?
Can any one please let me know this.
Nice talking to you.
|
|
|
|
|
i = 3; ???
That's used for methods...
|
|
|
|
|
int
int is a built-in atomic type that the compiler recognizes as part of the particular language definition you're using, in this case C++. So read the docs to find what an int or some other type is defined as. As for C++ on Win32 int is defined as a storage size of 4 bytes which can contain values ranging in -(2^32-1) and +2^32.
Other compilers/platforms may define it slightly differently resulting in a differing value range.
|
|
|
|
|
|
I have a simple C++6.0/MFC SDI application that has some username/passwords associated with it. Up to now I have stored these items in the registry since there was no real security needs. However, there are now a few users who are requesting some increased security so I would like to encrypt/decrypt the username and passwords. I have searched for and found many encryption downloads but was wondering if there is any consensus on a preferred one. I just need to encrypt/decrypt a string as simply as possible, with moderate security. Thanks for your time and any assistance. StoneRaven
|
|
|
|
|
You could use a simple xor on the password.
I think the standard way is to use a MD5 hash or SHA hash.
You hash the user password and store the hash in the registry. After you get the plain text password from the user you then hash the password and then compare the hash value to the hash value stored in the registry. This way even if the registry is compromised the password is not stored in the clear.
Forever Developing
|
|
|
|
|
I don't know what is you application for, but if you need increased security you need to change the way you store user/password.
You could encrypt the passwords with any algoritm you want, but if someone modifies the registry and sets the password to null, all you security is f****d up.
If you still want to store the info in the registry, and want the users to think that they have improved security, just add 100 or some random number to the string, and is the same.
|
|
|
|