Click here to Skip to main content
15,895,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: weird error... please help Pin
David Crow18-Apr-06 3:10
David Crow18-Apr-06 3:10 
GeneralRe: weird error... please help - SOLVED Pin
picazo18-Apr-06 6:31
picazo18-Apr-06 6:31 
QuestionWhat is the best method? Pin
ALQallaf17-Apr-06 12:14
ALQallaf17-Apr-06 12:14 
Questionabout *sender Pin
sawerr17-Apr-06 12:01
sawerr17-Apr-06 12:01 
AnswerRe: about *sender Pin
Christian Graus17-Apr-06 14:11
protectorChristian Graus17-Apr-06 14:11 
QuestionHow to create transparent menu for Dialog? Pin
werter117-Apr-06 8:29
werter117-Apr-06 8:29 
AnswerRe: How to create transparent menu for Dialog? Pin
includeh1017-Apr-06 16:14
includeh1017-Apr-06 16:14 
Questionmyodbc mysql HELP! Pin
eusto17-Apr-06 7:59
eusto17-Apr-06 7:59 
I have a little problem:

I use ado to connect to a mysql database (version 4.0.12) and mysql odbc driver(3.51).

The system works fine but recently i ran into this problem:

I've installed it on a LAN consisting of 5 win98SE stations making one of them the database server.
The program works on two of them quite ok but fails on the other 3. The thing is that the other 3 computers still connect to the db but some of the querys fail.

Actually is not the querys that fail but rather the call to _RecordsetPtr->GetCollect("field")

To be more precise a query like "SELECT id, name, address FROM clients" works.
A query like "SELECT clients.id AS id, clients.name AS name, ocupations.kind AS kind FROM clients AS clients, ocupations AS ocupations WHERE clients.ocupationid = ocupations.id" fails when i do a call to pRecordSet->GetCollect(L"kind") with invalid pointer.

Another thing to remember is that the database server is installed on one of the computers that do not work. The stations on which the program works connect to this computer via LAN


So, what do i do? Where should i search for the bug? I really have no ideea.
I never had this problem on winxp and this program works on several win88se networks
AnswerRe: myodbc mysql HELP! Pin
Milton Karimbekallil17-Apr-06 11:43
Milton Karimbekallil17-Apr-06 11:43 
GeneralRe: myodbc mysql HELP! Pin
eusto17-Apr-06 20:35
eusto17-Apr-06 20:35 
GeneralRe: myodbc mysql HELP! Pin
eusto18-Apr-06 0:43
eusto18-Apr-06 0:43 
QuestionRe: Convert STL string -->TCHAR (final clairification) Pin
chasetoys17-Apr-06 7:59
chasetoys17-Apr-06 7:59 
AnswerRe: Convert STL string -->TCHAR (final clairification) Pin
Saurabh.Garg17-Apr-06 17:07
Saurabh.Garg17-Apr-06 17:07 
Question[RESOLVED]Socket function failed in dll called dynamically Pin
Fredericfr17-Apr-06 6:42
Fredericfr17-Apr-06 6:42 
AnswerRe: Socket function failed in dll called dynamically Pin
Michael Dunn17-Apr-06 7:57
sitebuilderMichael Dunn17-Apr-06 7:57 
GeneralRe: Socket function failed in dll called dynamically Pin
Fredericfr17-Apr-06 8:32
Fredericfr17-Apr-06 8:32 
QuestionHow give the dimension to line. Pin
sataoa17-Apr-06 6:34
sataoa17-Apr-06 6:34 
QuestionDynamic arrays Pin
Waldermort17-Apr-06 6:12
Waldermort17-Apr-06 6:12 
AnswerRe: Dynamic arrays Pin
Joe Woodbury17-Apr-06 6:25
professionalJoe Woodbury17-Apr-06 6:25 
GeneralRe: Dynamic arrays Pin
Waldermort17-Apr-06 6:32
Waldermort17-Apr-06 6:32 
GeneralRe: Dynamic arrays Pin
David Crow17-Apr-06 7:17
David Crow17-Apr-06 7:17 
GeneralRe: Dynamic arrays Pin
Waldermort17-Apr-06 8:21
Waldermort17-Apr-06 8:21 
GeneralRe: Dynamic arrays Pin
Nemanja Trifunovic17-Apr-06 9:02
Nemanja Trifunovic17-Apr-06 9:02 
GeneralRe: Dynamic arrays Pin
Waldermort17-Apr-06 9:14
Waldermort17-Apr-06 9:14 
GeneralRe: Dynamic arrays Pin
Nemanja Trifunovic17-Apr-06 10:41
Nemanja Trifunovic17-Apr-06 10:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.