Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

pabloraul

@pabloraul
About
Posts
20
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Overflow Exception
    P pabloraul

    the formula i wrote there is not any kind of code, it is written in human language, i know for ^ i should use Pow(base,exponent) and for Modulus i should use %; it is supposed to be a formula to calculate a value in order to calculate another value to prove the basis of cryptography to my teacher in classroom. (it is supposed to be somehting simple) anyway, i just wanted to know if it was possible to do without getting an overflow

    C# tutorial question

  • Overflow Exception
    P pabloraul

    Is there anyway to get this expression to work without getting an overflow execption? Answer = (PublicKeyB^PrivateKeyA)Mod(PublicKeyA) the public and private keys are supposed to be 9 digit numbers example: 123456789 i've tryed using System.Math.Pow but it uses Doubles and thats the source of the overflow anyway, i would like to know if its posible and if it is, how?

    C# tutorial question

  • Call DialogB from DialogA
    P pabloraul

    thenks for the idea, found an article about modal thingies

    C / C++ / MFC csharp c++ visual-studio question

  • Call DialogB from DialogA
    P pabloraul

    i asked my dad about it and he said it was from an old stupid class called "MyDlg" so he told me to find a new way to call dialogs. now that code and way of doing it its obsolet so if i acomplish solving this issue i solved the issue for all the dialogs that need to be called. already tryed to use the .DoModal(); thing but it didnt work

    modified on Wednesday, April 2, 2008 4:04 PM

    C / C++ / MFC csharp c++ visual-studio question

  • Problem with VS2005 solution with one dll and one exe
    P pabloraul

    perhaps in the project properties/general/ output directory?

    C / C++ / MFC csharp c++ testing debugging help

  • Call DialogB from DialogA
    P pabloraul

    yes, dialog A runs when the App starts the code is the following: CZEUSv2008Dlg(CWnd* pParent = NULL); CEncriptacion * dialogo_encriptar; but i dont know how to use it since im copying from a thing done like 10 years ago. i tried dialogo_encriptar->DestroyWindow(); dialogo_encriptar->Create(); but it gives me error c2027 for using an undefined class and a c2227 for the left part of the "->" must point to a class struct union or generic type im just plain confused with this

    C / C++ / MFC csharp c++ visual-studio question

  • Call DialogB from DialogA
    P pabloraul

    Hello everyone, i finished with yesterdays work and got a fully functional crytography class that builds perfectly and today im starting to write my dialog based aplication. i created a few dialogs and im trying to link them but i havent found how. i know its an easy question but still i would like a recomendation. in dialog A theres a button, when i press it i want to make dialog B appear on the screen, i've tryed the ->Create(); command but i think im using it wrong ps: the aplication is in C++ for visual studio 2005

    C / C++ / MFC csharp c++ visual-studio question

  • Wrong DLL output
    P pabloraul

    i may not be an expert but if all you need is a random number in VB you should use: ' Initialize the random-number generator. Randomize() ' Generate random value between 1 and 6. Dim value As Integer = CInt(Int((6 * Rnd()) + 1))

    C / C++ / MFC question csharp c++ visual-studio debugging

  • How to use Namespaces created in different projects in the same solution?
    P pabloraul

    yay! thenks Mark, that was the answer i was looking for, ill code it later since i have to go out. take care everyone

    C / C++ / MFC c++ help csharp visual-studio cryptography

  • How to use Namespaces created in different projects in the same solution?
    P pabloraul

    by the way, do you have any interesting link about including? cant find anything useful yet...

    C / C++ / MFC c++ help csharp visual-studio cryptography

  • How to use Namespaces created in different projects in the same solution?
    P pabloraul

    include path problem, im gonna research about that. about the namespace begin im gonna post few of the files for you to see at least how its supposed to work. wei dai wrote it somehow and it works, i just need to use that library in order to use cryptography in my solution. here is a picture of the object browser for you to see that CryptoPP is a namespace argnames.h #ifndef CRYPTOPP_ARGNAMES_H #define CRYPTOPP_ARGNAMES_H #include "cryptlib.h" NAMESPACE_BEGIN(CryptoPP) DOCUMENTED_NAMESPACE_BEGIN(Name) #define CRYPTOPP_DEFINE_NAME_STRING(name) inline const char *name() {return #name;} CRYPTOPP_DEFINE_NAME_STRING(ValueNames) //!< string, a list of value names with a semicolon (';') after each name CRYPTOPP_DEFINE_NAME_STRING(Version) //!< int CRYPTOPP_DEFINE_NAME_STRING(Seed) //!< ConstByteArrayParameter CRYPTOPP_DEFINE_NAME_STRING(Key) //!< ConstByteArrayParameter CRYPTOPP_DEFINE_NAME_STRING(IV) //!< const byte * CRYPTOPP_DEFINE_NAME_STRING(StolenIV) //!< byte * CRYPTOPP_DEFINE_NAME_STRING(Rounds) //!< int CRYPTOPP_DEFINE_NAME_STRING(FeedbackSize) //!< int CRYPTOPP_DEFINE_NAME_STRING(WordSize) //!< int, in bytes CRYPTOPP_DEFINE_NAME_STRING(BlockSize) //!< int, in bytes CRYPTOPP_DEFINE_NAME_STRING(EffectiveKeyLength) //!< int, in bits CRYPTOPP_DEFINE_NAME_STRING(KeySize) //!< int, in bits CRYPTOPP_DEFINE_NAME_STRING(ModulusSize) //!< int, in bits CRYPTOPP_DEFINE_NAME_STRING(SubgroupOrderSize) //!< int, in bits CRYPTOPP_DEFINE_NAME_STRING(PrivateExponentSize)//!< int, in bits CRYPTOPP_DEFINE_NAME_STRING(Modulus) //!< Integer CRYPTOPP_DEFINE_NAME_STRING(PublicExponent) //!< Integer CRYPTOPP_DEFINE_NAME_STRING(PrivateExponent) //!< Integer CRYPTOPP_DEFINE_NAME_STRING(PublicElement) //!< Integer CRYPTOPP_DEFINE_NAME_STRING(SubgroupOrder) //!< Integer CRYPTOPP_DEFINE_NAME_STRING(Cofactor) //!< Integer CRYPTOPP_DEFINE_NAME_STRING(SubgroupGenerator) //!< Integer, ECP::Point, or EC2N::Point CRYPTOPP_DEFINE_NAME_STRING(Curve) //!< ECP or EC2N CRYPTOPP_DEFINE_NAME_STRING(GroupOID) //!< OID CRYPTOPP_DEFINE_NAME_STRING(PointerToPrimeSelector) //!< const PrimeSelector * CRYPTOPP_DEFINE_NAME_STRING(Prime1) //!< Integer CRYPTOPP_DEFINE_NAME_STRING(Prime2) //!< Integer CRYPTOPP_DEFINE_NAME_STRING(ModPrime1PrivateExponent) //!< Integer CRYPTOPP_DEFINE_NAME_STRING(ModPri

    C / C++ / MFC c++ help csharp visual-studio cryptography

  • How to use Namespaces created in different projects in the same solution?
    P pabloraul

    that would be perfect but try explaining that to my dad. lets try this example: file structure: CRYPTO -config.h ZEUS08 -myfile.cpp config.h NAMESPACE_BEGIN(CryptoPP) typedef unsigned short word16; typedef unsigned int word32; #if defined(__GNUC__) || defined(__MWERKS__) || defined(__SUNPRO_CC) #define WORD64_AVAILABLE typedef unsigned long long word64; #define W64LIT(x) x##LL #elif defined(_MSC_VER) || defined(__BORLANDC__) #define WORD64_AVAILABLE typedef unsigned __int64 word64; #define W64LIT(x) x##ui64 #endif since it has the definition for W64LIT i decided to include it. so i put into my file #include "config.h" but it gives me fatal error C1083: Cannot open include file: 'config.h': no such file or directory would u please help me with that or give me a link to c++ basics¿?

    C / C++ / MFC c++ help csharp visual-studio cryptography

  • How to use Namespaces created in different projects in the same solution?
    P pabloraul

    about the NAMESPACE_BEGIN(CryptoPP), i really dont know. the compiler understands that it its the beggining of the namespace and at the end of the file theres a NAMESPACE_END. when i look at the object browser it has something like this: CRYPTO {}CryptoPP //meaning that cryptopp is inside crypto {}Std about including the header file of the namespace, i dont now which one since every file of the class has that thing inside... by the way, i cant even include the files of CRYPTO into de files of ZEUS example: #include "config.h" //cannot include file, no such file or directory

    modified on Tuesday, April 1, 2008 1:13 PM

    C / C++ / MFC c++ help csharp visual-studio cryptography

  • How to use Namespaces created in different projects in the same solution?
    P pabloraul

    Grettings everyone, today im dealing with Crypto552 created by Wei Dai. im converting a project my father did long ago. since we think different i didnt want to have all the crypto files spread across my solution so i created a project for them. in my visual studio 8 solution i have 2 projects: CRYPTO (In wich the cryptography solucion is written in c++) and builds perfectly; ZEUS08 (Wich is the project thats gonna have the conversion of what my father did in C++) both projects are in C++ inside CRYPTO theres a namespace called CryptoPP. (NAMESPACE_BEGIN(CryptoPP)) wich is in all the files .h and.cpp since im copying parts from the last version im having some problems. the most important one is: im trying to use the namespace CryptoPP in ZEUS08 but it wont allow me... i have tried USING_NAMESPACE(CryptoPP); using namespace CryptoPP; but it keeps telling me: error C2781 : 'CryptoPP' : a namespace with this name does not exist does anybody have an idea why it tortures me with that nonsense?, i mean the project is in my solution why it wont recognize it? help would be apreciated.

    C / C++ / MFC c++ help csharp visual-studio cryptography

  • how to return the xml from a web service and store it into a data grid?
    P pabloraul

    i also get the same error about System.Xml.dll somehow the idea to try dataset1.readxml(file.xml) datagrid1.datasource = dataset1 only gives me trouble if i cant load an xml from a file, how is it possible to get it from a web service and im starting to worry about that

    XML / XSL question css winforms wcf

  • how to return the xml from a web service and store it into a data grid?
    P pabloraul

    hello gentlemen, im new at web services all i've acomplished to do is to make the web reference... the web reference i made of a web service that returns an xml im sure of that because in the details page when i press invoke it returns a very large xml my question is how to take that xml from the web service and somehow save it into the computer and transform it to be used by a dataset to feed a datagrid using windows forms in visual basic 2003 language visual basic i've read a lot about web services but im alittle bit confused about all the xml things the xml writters readers readxml etc (its simply confusing) help is apreciated thanks for your time an expample of the xml that returns is here: 100PRE MI ROBERT HC2733 EQA 22.61 2 1170 10-04-2007 08:00:00 09-05-2007 10:00:00 -0.8500000000 -80.7000000000 0 0 NAV 2 MUJERES J.M. EQA 1.83 1 1065 02-04-2007 09:00:00 17-04-2007 06:00:00 -2.2297222222 -79.8738888889 0 0 NAV : : ' "everything is possi

    XML / XSL question css winforms wcf

  • stuck with WSDL in VB.net win forms
    P pabloraul

    [Message Deleted]

    Visual Basic wcf xml help tutorial csharp

  • stuck with WSDL in VB.net win forms
    P pabloraul

    thanks Christian, u have made some serius point clear, now i understand my situation. ill request that url and then ill start coding. just another thing, when calling the web method it returns me a xml in this format: 100PRE MI ROBERT HC2733 EQA 22.61 2 2 05-02-2007 06:00:00 01-03-2007 10:00:00 -0.9166666667 -80.7000000000 0 0 NAV how do i store it or do i just put it as an input to a xml data adapter to turn it to a dataset? im not very clear with that modified on Tuesday, April 1, 2008 12:34 PM

    Visual Basic wcf xml help tutorial csharp

  • stuck with WSDL in VB.net win forms
    P pabloraul

    umm, i missed to say i only have a wsdl file, i havent been given a url... i was wondering if i could get the url from the swdl file

    Visual Basic wcf xml help tutorial csharp

  • stuck with WSDL in VB.net win forms
    P pabloraul

    grettings gentlemen i've been only given a WSDL file and i have to use that file in a VB.net win forms aplication to consume the given web service. i've read much about WSDL, SOAP, UDDI, web services, etc. everyone points very clear what is what and how its supposed to work. but none makes clear the "how to introduce the wsdl file into the project" i just want to know how to use the wsdl file to reach its web methods and how to save the resulting xml from the methods. my idea is to insert the wsdl into the project. then a button triggers the code to call the webmethod, then the result is saved into a xml, then with a xml data adapter turn this xml into a dataset. then using the dataset fill a datagridview control to show it to the user. i simply dont know how... any help would be appreciated, later with this experience i prommise im gonna make an article about this "WSDL in practice, step by step", trying to be not so specific about the theory but in the practice. thanks for your time

    Visual Basic wcf xml help tutorial csharp
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups