Anuncio - Libreria MySQL

Discusiones y contenido exclusivo relacionado con el desarrollo de Pauscal

Anuncio - Libreria MySQL

Notapor lukasg » Mié Nov 21, 2007 11:36 am

Bueno, el cambio de look no viene solo, también les anuncio que estoy haciendo un conector para mysql. Ya logre lo más importante, ahora solo falta que propongamos cual va a ser la estructura de la clase (métodos, propiedades, constructores) así armar una buena libreria. En este momento el conector depende de la libreria libmysql.dll por lo que hay que tener este archivo junto al ejecutable si o si. La idea es en el futuro independizarnos de este archivo, pero por el momento lo más facil es tenerlo ahí.

Acá les dejo una demostración de como se conecta con mysql, realizar una consulta y tomar la respuesta.

En este link estan los archivos: mysqlconector.exe, mysqlconector.bdp, libmysql.dll
http://www.pauscal.com.ar/contenido/foro/mysqlconector.zip

Nota: El ejemplo se conecta a la base de datos que tengo en mi pc, probablemente si no funciona es porque no tengo prendida la pc :P
lukasg
 
Mensajes: 129
Registrado: Mié Nov 21, 2007 9:41 am
Ubicación: Santa Fe, Argentina

Sponsor


Re: Anuncio - Libreria MySQL

Notapor Pauscal » Mié Nov 21, 2007 2:20 pm

Mi idea era tener una clase Conexión que te conecte con el servidor de base de datos, y que esa clase tenga un método que ejecute consultas sobre el servidor. Este método debería devolver un objeto que permita iterar de alguna forma sobre las filas del resultado de la consulta.
Las clases serían algo así:

Conexión
Conexión(cadenaDeConexión:Cadena)
EjecutarConsulta(consulta:Cadena):SetResultado
Cerrar()

SetResultado
CantidadFilas:Entero
FilaActual:Fila
Avanzar()

Fila
Valor(columna:Cadena):Cadena
ValorEnt(columna:Cadena):Entero
...
Si este proyecto te parece útil, aceptamos donaciones en Bitcoins: 1FdnaaQyVDqmhsJZw9gk41M3zUsJrDY7Hj
Pauscal
Jefe
 
Mensajes: 439
Registrado: Mar Nov 20, 2007 9:41 pm
Ubicación: Paraná, Entre Ríos, Argentina

Re: Anuncio - Libreria MySQL

Notapor Sadic » Mar Nov 27, 2007 5:49 pm

Que bueno ya me descargue la libreria me pongo a estudiarla y luego subo alguna aplicacion.
Segados por la voz de la inesperiencia nos arrastramos
Sin penzar a lomos del desierto asia las cavernas la huellas del peregrino me giaran.
Sadic
 
Mensajes: 115
Registrado: Mié Nov 21, 2007 7:25 pm
Ubicación: 23824 villa vista DR Orlando Florida

Re: Anuncio - Libreria MySQL

Notapor Pauscal » Mié Nov 28, 2007 8:48 am

Aclaro que la biblioteca todavía no está lista. El ejemplo de más arriba se conecta directamente utilizando la API provista por MySQL.
Si este proyecto te parece útil, aceptamos donaciones en Bitcoins: 1FdnaaQyVDqmhsJZw9gk41M3zUsJrDY7Hj
Pauscal
Jefe
 
Mensajes: 439
Registrado: Mar Nov 20, 2007 9:41 pm
Ubicación: Paraná, Entre Ríos, Argentina

Re: Anuncio - Libreria MySQL

Notapor lukasg » Mié Nov 28, 2007 1:53 pm

Dentro de poco tenia pensado ponerme con esa biblioteca, pero resulta que la facultad esta quitando mucho de mi tiempo. Cuando termine con los finales seguramente me pongo a terminar eso ;)

Mientras tanto se puede usar con las API's

Saludos!
lukasg
 
Mensajes: 129
Registrado: Mié Nov 21, 2007 9:41 am
Ubicación: Santa Fe, Argentina

Re: Anuncio - Libreria MySQL

Notapor Pauscal » Vie Nov 30, 2007 5:45 pm

Subí una versión de prueba de la biblioteca de clases para conectarse con un servidor MySQL. Necesitan la DLL que subió lukasg al principio del post.

Descargar acá
Si este proyecto te parece útil, aceptamos donaciones en Bitcoins: 1FdnaaQyVDqmhsJZw9gk41M3zUsJrDY7Hj
Pauscal
Jefe
 
Mensajes: 439
Registrado: Mar Nov 20, 2007 9:41 pm
Ubicación: Paraná, Entre Ríos, Argentina

Re: Bibliotecas de prueba

Notapor lukasg » Vie Nov 30, 2007 6:24 pm

Se le podria agregar a SetResultado lo siguiente:

Proc NombreCol(índice:Entero):Cadena
Var ret, lMYSQL_FIELD:Entero

lMYSQL_FIELD = mysql_fetch_field_direct(res, índice)
CopyMemory (ret@, lMYSQL_FIELD, 4)

Resultado = CadenaDePtrCad(ret)
FinProc

Que dice el nombre de la columna.

Saludos!

PD: Dejo adjunta la biblioteca con la nueva función.
lukasg
 
Mensajes: 129
Registrado: Mié Nov 21, 2007 9:41 am
Ubicación: Santa Fe, Argentina

Re: Anuncio - Libreria MySQL

Notapor Pauscal » Vie Nov 30, 2007 11:06 pm

Modifiqué las clases en base a la sugerencia de lukasg. También agregué un programa de Visual Pauscal que permite conectarse a una base de datos y realizarle consultas.

Descargar acá
Si este proyecto te parece útil, aceptamos donaciones en Bitcoins: 1FdnaaQyVDqmhsJZw9gk41M3zUsJrDY7Hj
Pauscal
Jefe
 
Mensajes: 439
Registrado: Mar Nov 20, 2007 9:41 pm
Ubicación: Paraná, Entre Ríos, Argentina

cheap nfl jerseys 0-11-0-11-234550 wholesale jerseys china

Notapor SUo71pnwhl » Sab Abr 28, 2018 11:26 pm

Everybody has points in their life when they feel depressed or stressed out. Some monitors will run every drive cycle and some take longer to run. Parental pressure can be both good and bad depending on the personality of the parent and the child.Motivation for the child should be high because he/she has great support from people close to them.Prizes Prizes are a good way of getting younger people as well as older people to get motivated and perform well, for example if a child is playing a football match and their parents said if you score a goal today we will buy you a treat for doing so, well then the child will think I can get something extra out of this and put in a better performance and work harder..

What it is we actually do. When she finally calms down I say, "You see, I am still here." Then I buy her something to eat and we take a walk. Jet lag and/or a lack of sleep can adversely affect any business traveler with crankiness and dullness and this could cost you a big account or a new customer..

For Trade: You must be looking to trade specific records and should provide specific releases or genres you are willing to trade for within your post as text. He says, "How do you even do it? Like this?" He proceeds to mime something that looks damn near like milking a cow.

cheap jerseys china I didn really understand what she did until my first major paper when she gave me a list of books to use. I hope this post starts exploding and getting some good recognition. A waitress told me in passing that I looked like a wrestler (I was, but never felt like I was any good, and definitely felt like I never had the look of one). cheap jerseys china

cheap nhl jerseys Seitisho earns a whopping R960 000 per annum, yet holds no degrees, and has only five year experience in municipal management. That was the most important thing, George. I forgot we were specifically talking about pedophiles receiving treatment after having committed a crime rather than including the ones that haven actually done anything to abuse a child(including watching porn including one) and are looking for treatment, so I apologize for the confusion there.. cheap nhl jerseys

First. And then we will together present that petition. The information provided below will certainly help you in protecting the sound health of your child. Two it's a new future here in America. Here is what I have found that helps me, and I think dispels the perception that the game favors those with shitty connections.

cheap football jerseys She had no problems making friends at summer camp, however.. All I seen is lies, bullshit PR, and disconnect since the acquisition. If she is saying she can and won date you, even if she got emotional, listen to her and move on. Assuming Gotham America has similar laws to our America then bribery is a CRIME not just an immoral action but an outright illegal activity. cheap football jerseys

cheap football jerseys To be honest, I surprised you guys don have couple friends you meet through your kids (their friends parents), kids are a great a reason to stuff outside of work and meet other adults with common interests. I always got chills from an interview on a podcast with a family member of one of his final victims. cheap jerseys

cheap football jerseys If you can only get one, I definitely recommend H3 over this but if you want to do some more target shooting in a different environment, this is fine to pick up in addition to H3.. He is called Jehoshua in Numbers. Aside from motivating kids to get outside with mom, dad, siblings and friends, a basketball hoop can also provide the drive for kids to do better in school. cheap chian jerseys

cheap mlb jerseys This is a GT1544; the slightly less beasty cousin of the now discontinued GT1548. Everything they put out lets us get to know them better. But Keselowski was wrecked out of the race, Blaney was lost in traffic after leading a race high 118 laps and Logano led the Penske charge with a disappointing fourth place finish.. cheap mlb jerseys

wholesale china jerseys When he went online monday morning you could feel the explosion everywhere. I think some of you are missing the point. And get a humidifier. Pyroluria was first discovered in the late 1950s in relation to schizophrenia by a Canadian research team led by psychiatrist Dr cheap jerseys wholesale.
SUo71pnwhl
 
Mensajes: 549
Registrado: Jue Abr 26, 2018 11:35 pm

cheap nba jerseys 0-11-0-11-234660 cheap football jerseys

Notapor edEfyBQlAG » Sab Abr 28, 2018 11:28 pm

And I sure that this wasn the only problem in your relationship.. My own union discussed our last pay agreement. I admit, was a disaster a year ago, but reviewing myself in the replays and watching my teammates reactions (from their point of view) to my positioning/challenges/saves/hits/passes/clears/centers has helped me gain a better sense of the field and what I needed to work on.

cheap chian jerseys Damn that really sounds tricky. Thursday's windfall puts "Infinity War" in fourth place for the biggest preview night behind "Star Wars: The Force Awakens," "Star Wars: The Last Jedi" and "Harry Potter and the Deathly Hallows' Part 2." "The Force Awakens," which made $57 million on its Thursday night preview in 2015, holds the title for the biggest opening.. cheap chian jerseys

cheap nba jerseys What kind of sleeping bag do you need and where do you get it? Are you doing some event planning for an outdoor weekend and the weather is beautiful but you have no idea what to do? Get some fun and interesting ideas by searching these topics. No one else was fast enough for her, so she put something together by herself and wouldn accept anyone else work or suggestions because she didn want to do more work. cheap nba jerseys

There might be consequences but they can bring someone back from the dead.. Though the Mustang was basically a humble compact Falcon with a snazzy body, its combination of high style, low price, and numerous options started a buyer stampede to what became known as the "ponycar.".

cheap jerseys supply She even went to Hong Kong to show em how it's done but unfortunatly a 'spin off' called Cleopatra Wong flopped miserably.. Then it just started it paired with can be funnier about it. FILE In this April 10, 2017, file photo, Salt Lake County Mayor Ben McAdams, right, listens during a committee hearing in Salt Lake City. cheap jerseys supply

The system isn't quite as pure as the previous description would lead you to believe. Every child, adult, rich, poor, educated, uneducated know about them. It does super precise crosses when done inside the crossing area.2) L2+L1 does manual close control shielding dribble, which is amazing in the box especially with bigger/stronger players.3) L2+shoot outside the box does a 'fancy' knuckle ball long shot.4) L2+R1+shoot outside the box does a more driven/powerful finesse shot.5) Holding L2+X on defense does jockey contain which keeps you close and tracking your man.

cheap nfl jerseys They also use pork jowl instead of pork belly in their Tonkatsu 2.0. After sixteen olympic games and Fifty years in broadcastingSteve Armitage has got perspective like almost nobody else. Read the perspectives of PBL experts interviewed by Edutopia.. cheap nfl jerseys

wholesale jerseys china This move is an effective match ender! I have always felt that Chris' approach to the move makes it a bit less breath taking but a lot more entertaining.. Smooth turning on the other hand is easy, yep. Ironically, it was never used until the 3rd Gaza battle!. cheap jerseys china

cheap authentic jerseys I enjoy the physical conversation and interaction with people, comment sections feel so fake to me.. There really has to be a balance of your preferences and theirs. People who been following all our posts on reddit are probably sick of seeing me post that link but it got some fucking dank charts so imma keep sharing it. cheap nba jerseys

cheap jerseys china "normalizing" him) for the pros and top performing players. I see these white/silver orbs all the time. Is just that. Possible side effects include dehydration, dizziness, cramps, heart damage and kidney failure.. Our stickers included cranium, mandible, maxilla, scapula, humerus, radius, ulna, carpals, metacarpals, phalanges, sternum, costals, vertebrae, sacrum, femur, tibia, fibula, talus, malleolus, calcaneus, tarsals, metatarsals, phalanges, patella, pelvis, and clavicle.. cheap jerseys china

He overcame adversity and struggled throughout his entire life.. Why have business newspapers use pink pages? Aside from our reasons mentioned earlier, other reasons why business newspapers use pink pages include the following: It is being a trademark for an article category like sports, being a tradition, and for budgetary reasons because in the earlier times, dying to pink was cheaper than bleaching the paper to white.
edEfyBQlAG
 
Mensajes: 558
Registrado: Jue Abr 26, 2018 11:34 pm

Siguiente

Volver a Desarrollo

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 2 invitados

cron