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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

Rolando Cruz

@Rolando Cruz
About
Posts
15
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • We're 8!
    R Rolando Cruz

    Congratulations on this accomplishment! My how time flies when we are having fun! How about a get-together at some conference for the 10th BDay? :rolleyes: Happy BDay! :-D

    Rolando :suss:

    The Lounge c++ php com sysadmin linux

  • Convert WAV file to text string and back
    R Rolando Cruz

    My question is simple enough. I need to convert WAV files into a text string, store the string into a database table (mySQL) and when needed convert the text back and rebuild the WAV file for playback. I have looked into using the LongBlob and read many messages (here and other sites) on how to handle the longblog's but it seems to me there are no adecuate solutions since I am using straight SQL statements with ODBC and not ADO or .NET or any else for that matter. I already convert and store a each byte of the WAV file into a HEX representation and store tehem into multiple table records. What I now need to do is the oposite; convert the text strings back and rebuild the WAV file. For the life in me, I can't figure it out! :zzz: Maybe I'm just tired or something. :zzz: I'm sure it is something simple to acomplish. Any suggestions would be appreciated. Thanks.

    Rolando :suss:

    C / C++ / MFC database csharp mysql tutorial question

  • COM/DCOM is now what?
    R Rolando Cruz

    Excelent suggestion! :-D I believe this would be the better way to go. I did not think about the Sockets. Cool. Thanks for your help.

    Rolando :suss:

    C / C++ / MFC question wcf com sysadmin help

  • COM/DCOM is now what?
    R Rolando Cruz

    I'm adding more information to this thread as to what I want to accomplish. I need to develop an application which will be monitoring phone lines (Call Center). I want the client application to be notified when a specific line receives a phone call. I think this approach will be more efficient than querying the database every 30 seconds (or so) to see if a new call came through. Simple as that. Now, does this mean the Web Service does all of this work (line monitoring) or do I also have to create a separate Web Service (DCOM) and end up witha three tiered application? :~ (Line monitoring App / Web Service / Client App). Thanks all for your suggestions. :-D

    Rolando :suss:

    C / C++ / MFC question wcf com sysadmin help

  • COM/DCOM is now what?
    R Rolando Cruz

    In your opinion, is there an equivalent to DCOM in .Net? Is it Web Services? It's been so long since I've worked with this I'm not sure which direction to go...

    Rolando :suss:

    C / C++ / MFC question wcf com sysadmin help

  • Problem with creating richeditctrl?
    R Rolando Cruz

    Make sure you are calling the AfxInitRichEdit2() function at the begining of the application and not within OnInitDialog(); Also, did you declare m_RichEditCtrl as a CRichEditCtrl? I tested this using VS 2005 version 8.0.50727.762 (SP.050727-7600) and your code was copied and pasted into the OnInitDialog without changes. All I then did was declare m_RichEditCtrl as a CRichEditCtrl. Other than this I do not know what else to tell you. Hope this helps.

    Rolando :suss:

    C / C++ / MFC help question

  • File reading problem
    R Rolando Cruz

    Hi, Rather than reading the contents of the txt file to a buffer and then create and write it to the new file why not just do both at the same time? CStdioFile fSrc, fDest; // Open Source and Create Destination files ... while (fSrc.ReadString(strLine)) { fDest.WriteString(strLine); } fSrc.Close(); fDest.Close(); Also, in your code you are missing the first line of the text file. while(fileObj.ReadString(strLine)) <-- moves file pointer to next line { fileObj.ReadString(strLine); <-- reads next line. 1st line is gone!! ... } Finally, unless you are making changes or scrapping the text file for any data why not use the ::CopyFile function? Hope this helps!

    Rolando :suss:

    C / C++ / MFC database help

  • Problem with creating richeditctrl?
    R Rolando Cruz

    Hi, Should work fine but... Did you remember to enter AfxInitRichEdit2() in the InitInstance of the application?

    Rolando :suss:

    C / C++ / MFC help question

  • COM/DCOM is now what?
    R Rolando Cruz

    Hello to all, About 8 years ago I developed an client/server application for a client of mine using DCOM. I have not touched the subject since then. :-> I now have the need to revisit this technology but with all of the changes in software development I do not know what is being used now. :~ Is DCOM still alive and kicking? Do I look at Web Services? :confused: Thanks for your help in this matter.

    Rolando :suss:

    C / C++ / MFC question wcf com sysadmin help

  • How Do I Write A Data Management System? PLEASE HELP!
    R Rolando Cruz

    Hi, OK, 30 terabytes. Is this data formated in any way? What is represented wihtin the 30 TBytes? Images? Dates? Times? Stellar Coordinates? As you can see your initial question is too general. :doh: Please be more specific. :) What are the results you want to get out of the DMS? What information do you want to store in this DMS? I'm willing to point you in the right direction. If you want you can directly send me an email to discuss this project of yours in more detail. Rolando :suss:

    The Lounge question com help announcement

  • HTML Boilerplate
    R Rolando Cruz

    Thanks, Of course this is the way to do it!! I must have had a temporary mind meltdown, I've been for focused on the project I just could not see what I needed to do. Rolando

    C / C++ / MFC tutorial html

  • HTML Boilerplate
    R Rolando Cruz

    Hi, I do not know if this has been covered before nut I am in need of an example which will show how to take an HTML file with special tags (maybe in the form of comments) and allow me to replace those special tags with additional customized HTML code. I guess it's kind of like a search and replace text but at a file level. I am not sure how to proceed with doing this. Any ideas and/or sugggestions would be appreciated. I've looked at several articles here but can't seem to find exaqctly what I need. Thanks Rolando

    C / C++ / MFC tutorial html

  • Tree Control within 3D Sphere?
    R Rolando Cruz

    This is exactly what I had seen before!! Thanks so much!! Rolando

    IT & Infrastructure csharp data-structures question

  • Tree Control within 3D Sphere?
    R Rolando Cruz

    Hello, I am looking for a specific control. I saw this control within another application for which I do not remember. My hope with this message is to see if any of you can tell me what company makes this control (URL will be helpful) Description: I basically remeber seeing a tree-like control displayed within a 3D sphere, therefore the tree would open up similar to a tree root system. I could place the mouse pointer on the left side of the sphere, click and drag. This would have the effect of rotating the tree and bringing to the "front" other portions of the tree. Hope this helps. I can really use a control like this one. Thanks in advanced for any suggestions. Rolando E. Cruz-Marshall rcruz@dbsolutionsinc.net

    IT & Infrastructure csharp data-structures question

  • New Years Bash, how do you?
    R Rolando Cruz

    My wife and I are going to a party in Old San Juan to the El Morro Fort. I understand that all of the waiters will be dressed in costumes of the times (1492 - 1550) and will be alot of role playing. Should be alot of fun. :laugh: Rolando E. Cruz-Marshall Puerto Rico

    The Lounge com linux question announcement
  • Login

  • Don't have an account? Register

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