my last post has the source code which still don't compile with me http://www.rarhost.com/download-pvyb7b.html
CiNN
Posts
-
error C2512: 'Cryptography::CRC32' : no appropriate default constructor available -
error C2512: 'Cryptography::CRC32' : no appropriate default constructor availableboth since I can't compile I can't run
-
error C2512: 'Cryptography::CRC32' : no appropriate default constructor availablehere is le test project source for visual studio 2008 b2
-
error C2512: 'Cryptography::CRC32' : no appropriate default constructor availableI don't seee anything that would prevent it from running either... I don't know whats wrong...
-
error C2512: 'Cryptography::CRC32' : no appropriate default constructor availableI guess it does I just replaced the EXPORTS macro Visual Studio made for my code to be explicit on the forum. btw I'm using visual studio 2008 beta 2
-
error C2512: 'Cryptography::CRC32' : no appropriate default constructor availablelibrarie project
namespace Cryptography { class __declspec(dllexport) CRC32 { public: CRC32(void); [..] } }
test program projectusing namespace Cryptography; CRC32 *pcrc=new CRC32();
when I try to use my CRC32 class I get this error error C2512: 'Cryptography::CRC32' : no appropriate default constructor available whats up ?? :sigh: -
how to initiate a class stored in string variableUse an Interface
-
How to convert Struct to arrayUse Serialization ? If the client is using .net
-
how to hide base class methodokay
-
how to hide base class methodhow do you hide unsupported method from a base class ? so that they don't show up in intellisense.
-
AllocConsole and Consolewhy not
-
AllocConsole and ConsoleI am using AllocConsole to add a console window to a window form at runtime but i can't write to it using console.write.
-
Pausing A Loop in Windows Applicationmake a recursive function and use a variable as the incrementer and in the button method increment the variable and call the function.
-
How to read a file that is always written to?you just have to keep tracks of the position of the writing process and limit yourself to not read beyond where the last write position was.
-
IsInputKey override and ding soundi need to override this to enable getting tab in my keydown override.
-
IsInputKey override and ding soundwhen i override to handle tab in a textbox i have a ding sound like if the key is not supported/is not allowed in here.
protected override bool IsInputKey( Keys keyData ) { if ( keyData == Keys.Tab ) { return true; } return base.IsInputKey( keyData ); }
so how do i suppressed this sound ? -
Column Click with right mouse button ?the column click event from listview doesnt handle the right mouse button? how to get it working
-
make a new structure type like Int32public struct Int32 : IComparable, IFormattable, IConvertible, IComparable, IEquatable how do you make a structure like Int32 , for exemple NewInt i = 15;
-
Total Posts: 1 Member Since: Jan 30, 2006 [C#] loading .pgm file within a Bitmap objectyou forgot to scale the grayvalue # Each gray value is a number proportional to the intensity of the pixel, adjusted by the ITU-R Recommendation BT.709 gamma transfer function. (That transfer function specifies a gamma number of 2.2 and has a linear section for small intensities). A value of zero is therefore black. A value of Maxval represents CIE D65 white and the most intense value in the image and any other image to which the image might be compared. in the exemple 15 so pixel =(int)((grayValue *255)/15); PixelFormat should be the default Canonical # Each gray value is represented in pure binary by either 1 or 2 bytes. If the Maxval is less than 256, it is 1 byte. Otherwise, it is 2 bytes. The most significant byte is first. so you need to do either a readbyte or readuint16
-
Total Posts: 1 Member Since: Jan 30, 2006 [C#] loading .pgm file within a Bitmap objectwrite in a memory stream the bmp header and decode the pgm data to the stream and load the stream as a bitmap and voila.