Search:

Type: Posts; User: Diod

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,327

    Thanks u :) ill try that Another q, since i find...

    Thanks u :) ill try that
    Another q, since i find opengl a little bit easier, is there a similar function like drawtext in OpenGL?
  2. Replies
    2
    Views
    2,327

    Problem with DrawText (DirectX9)

    Im trying to compile http://www.codeproject.com/directx/dx8template.asp?df=100&forumid=2651&exp=0&select=146195 with Microsoft Visual C++ 6

    But its giving me



    Why? In MSDN D3DXCreateFont...
  3. Thread: Using functions?

    by Diod
    Replies
    19
    Views
    1,576

    Hmm i actually got it to work. I can now connect...

    Hmm i actually got it to work. I can now connect through a VB6 project :)

    But i still cant send a query, it still crashes when i try to send a query, but it also crashes within a C++ project, so i...
  4. Thread: Using functions?

    by Diod
    Replies
    19
    Views
    1,576

    Ive been doing some searching in the msdn files...

    Ive been doing some searching in the msdn files and i found that to enable C++ dlls to be used in VB, i need to add __stdcall in front of the function(in VC++). I tried this, but it did not help.
    ...
  5. Thread: Using functions?

    by Diod
    Replies
    19
    Views
    1,576

    Ive managed to debug it a little, and it doesnt...

    Ive managed to debug it a little, and it doesnt seem to be the cause of my own dll, but the dll MY dll is based on:

    http://users.skynet.be/fa321669/VC++ mysqldllerror.JPG
  6. Thread: Using functions?

    by Diod
    Replies
    19
    Views
    1,576

    Ive found the problem: The problem was in my vb...

    Ive found the problem:
    The problem was in my vb code, i had the wrong function names declared, sorry, that was stupid, but now i face another problem.
    When i try to use a function, my program just...
  7. Thread: Using functions?

    by Diod
    Replies
    19
    Views
    1,576

    I have all the necessery links made, ive even...

    I have all the necessery links made, ive even successfully tested its functions in a c++ program. The only thing i now need is for the dll to work.
    Do i need to put constructors and destructors and...
  8. Thread: Using functions?

    by Diod
    Replies
    19
    Views
    1,576

    It does say "LINK : warning LNK4089: all...

    It does say "LINK : warning LNK4089: all references to "LIBMYSQL.dll" discarded by /OPT:REF" when it compiles it.
    Thats the release compile. But when i compile under "debug" it doesnt give an error,...
  9. Thread: Using functions?

    by Diod
    Replies
    19
    Views
    1,576

    Hmm when i implement it into my vb project, and i...

    Hmm when i implement it into my vb project, and i try to run my project it says:

    Can't find DLL entry point connect in mysql.dll

    I implement it this way in vb:


    Private Declare Function...
  10. Thread: Using functions?

    by Diod
    Replies
    19
    Views
    1,576

    Works great :) Thanks so much Only too bad...

    Works great :) Thanks so much

    Only too bad that there doesnt seem to be any support for fetching arrays like in php
  11. Thread: Using functions?

    by Diod
    Replies
    19
    Views
    1,576

    **** i fixed most of it but still havent got it.....

    **** i fixed most of it but still havent got it.. im sry for these noobish questions


    #include <winsock.h>
    #include <mysql.h>
    #include <stdio.h>

    char* connecttoserver(char *server, char...
  12. Thread: Using functions?

    by Diod
    Replies
    19
    Views
    1,576

    Using functions?

    Hi, im trying to make a dll to access a mysql server via VB6.

    But im getting the following errors:


    Deleting intermediate files and output files for project 'mysql - Win32 Debug'....
  13. Hmm then why doesnt it work? EDIT: Problem...

    Hmm then why doesnt it work?

    EDIT: Problem solved. I opened up Microsoft Visual C++ and linked to the library, then i build it, with 1 warning (something about main, but nm) and i first got an...
  14. Is the bcc compiler for windows and if so where...

    Is the bcc compiler for windows and if so where can i get it? (ive looked a little bit around on google but couldnt find it)
  15. Nope, even if i link libmysql it doenst work, not...

    Nope, even if i link libmysql it doenst work, not even together
  16. That seemed to help a bit, but now i get this: ...

    That seemed to help a bit, but now i get this:


    Compiler: Default compiler
    Building Makefile: "C:\test3\Makefile.win"
    Bezig met uitvoeren van make...
    make.exe -f "C:\test3\Makefile.win" all...
  17. Connecting to a mysql server and querying problem

    Im using a library to do this. This one: libmySQL.lib

    This is my code:

    #include <mysql.h>
    #include <stdio.h>

    main() {
    MYSQL *conn;
    MYSQL_RES *res;
Results 1 to 17 of 17